Wednesday, October 22, 2008

Linux shell commads

Occasionally I have to perform some operations in Linux shell.
MC helps a lot, but there are some commands I have to google for each time I need them.
So here I will have a storage of some shell commands.

File compression (Creating archives in linux)

Create tar archive
tar -cvf compr.tar dir

The same gzipped
tar -czvf compr.tgz dir

from red-hat site