Tag: Unix

  • How To: List what Procs are using the Lib in Linux

    Find the Procs After upgrading an important package in Linux -or other Unix variant- that provides a library used by many other processes. Instead of restarting the server for the new lib to take effect, the procs can be restarted -or HUPed- individually. Before we begin, lsof needs to be installed. # RHEL / CentOS…

  • How To: Encrypt/Decrypt File with OpenSSL

    Encrypt/Decrypt File When security and integrity of a file is critical, such as with x509 certificates or other important documents, OpenSSL or other variant can be used to secure the file. With strong encryption and -hopefully- a strong password. OpenSSL is generally available on all UNIX variants, downloadable as an executable for Windows and is…

  • How To: Monitor NetCat File Upload Progress using PV

    Using NetCat to upload files can sometimes be handy, however it would be awesome if you could track the upload ETA and not just stare patiently for a prompt. PV, or “Pipe Viewer”, is a handy little command that allows you to track the progress of any Unix pipe. Using it as an replacement for…