Archive for the ‘ Bash ’ Category

Command line: convert strings to lowercase

From time to time it can be important to convert uppercase strings to lowercase, in sh / perl scripts.

I found a very simple way to do so, using the ‘tr – translate or delete characters’ command.

echo 'UPPERCASE'  | tr '[A-Z]' '[a-z]'

htop – an interactive process-viewer for Linux

htop – an interactive process-viewer for Linux.

htop – an interactive process viewer for Linux

This is htop, an interactive process viewer for Linux. It is a text-mode application (for console or X terminals) and requires ncurses. Tested with Linux 2.4 and 2.6.


pigz – Parallel gzip

pigz – Parallel gzip.


A parallel implementation of gzip for modern
multi-processor, multi-core machines

pigz, which stands for parallel implementation of gzip, is a fully functional replacement for gzip that exploits multiple processors and multiple cores to the hilt when compressing data. pigz was written by Mark Adler, and uses the zlib and pthread libraries. To compile and use pigz, please read the README file in the source code distribution. You can read the pigz manual page here.