Saturday, September 13, 2008

Blog 3 – CIT 173 – Linux

Blog 3 -- Week 3 assignment:

List three of your favorite commands and tell why they are your favorite and how you might use them in the real world.

My absolute favorite command is the pipe "|". This makes thing so easy by applying the output of one program to the input of another program. I would use this for counting lists. I could count programs running, directories, files, and lines in files. I like to count things.

My next favorite is the append command ">>". I think this is really useful for adding a few things to a file. I would use this for adding dates to files or for adding instructions to a file after I thought I was done with that file. I could also use it to add something to one of many lists I like to make.

My third favorite command is "touch". I really like how this changes the date of a file without opening the file. I also like how it knows to make a blank file if the name you type does not exist. The main thing I would use it for is backing up files that have been modified recently. Besides the "touch" command allows you to pick files to backup that you haven't actually modified recently. I think it is a very useful command.

No comments: