Archive

Archive for the ‘General Command Line’ Category

A Good Centos System Administration Book

February 3rd, 2009 No comments

I have been a big fan of the unleashed guides every since I purchased Mac OS X Tiger Unleashed. I loved this book as it was both great for beginners but had some reallly good advanced sections that allowed me to learn some great stuff on mac os x.

So, naturally, when I was looking for a guide to Centos, I purchased another unleashed book. As you probably know, Red Hat Enterprise Linux (RHEL) and Centos are basically the same product, minus the proprietary Redhat pieces and non GPL pieces that are not legally available for free. CentOS takes the GPL portions and repackages them as CentOS. This logically led me to Red Hat Enterprise Linux 5 Administration Unleashed. I found this to be a decent book that is great starting point for using Centos, though not as advanced as I would have liked.





Anyone have any suggestions for an advanced system admin book for Centos?

How To Create a Tar Archive of a Directory

December 3rd, 2008 No comments

 

Tar stands for Tape Archive and is used to compress files or whole directories.

Examples;

tar -cvf mytarfile.tar mydir/

tar cf archive.tar *

tar -cvzf name.tgz subdir

where subdir is the name of the subdirectory you want to save. To continue the example, this command would be:

tar -cvzf rainpics.tgz pics

Doen’t matter if you use the dash or not.

Categories: General Command Line Tags: