Our son's 2nd BIrTHdAY

Lilypie 2nd Birthday Ticker

Tuesday, November 27, 2007

Lesson on Linux

To become a successful security personnel one needs to have a couple of very important skills. One of it is to have excellent command on several operating systems. Among them has to be from Windows and *nix. There are many variants of Unix and among the famous is Red Hat Linux. I've figured out away to learn Linux. Every time i learn a new command, i'll post it in this section of my blog. Here goes:

1. tar -zxvf file_tar.gz - for folder with .tar.gz

2. tar -xvf file_tar.gz - for folder with .tar only (remove the z option)

3. rpm -ivh file-1.0-2.i386.rpm - install a RPM package

4. rpm -e file - uninstall RPM package (use the package name only...without -1.0-2.i386.rpm)

5. rpm -Uvh file-1.0-2.i386.rpm - upgrade a rpm package (usually use this one for normal install as it replaces any previously installed package)

No comments: