Archive for the ‘ Bash ’ Category

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.

Copy ssh key

Recently I found a very handy command to copy your public ssh key to a destiation host.

All the time struggeling around with some xargs, pipes etc. to learn in the end that the command already exists.

How to use it:

ssh-copy-id -i ~/.ssh/ remote-host

Create dsa key pair:

ssh-keygen -t dsa