KC Guys - I thought you might like to see this item.
--Don Ellis
---------- Forwarded message ---------- From: Ed Howland ed.howland@gmail.com Date: Dec 16, 2006 2:09 PM Subject: [DISCUSS] 10 Good Unix command line habits To: discuss@sluug.org, Central West End Linux Users Group < cwe-lug@lists.firepipe.net>
A good article from IBM developerWorks.
Or the full thing: http://www-128.ibm.com/developerworks/aix/library/au-badunixhabits.html?ca=l...
Now some of the examples don't work (mkdir with parenthesized dirs) on Debian-like systems. But you might find a few gems there. I did.
Ed -- Ed Howland http://greenprogrammer.blogspot.com ------- St. Louis Unix Users Group - http://www.sluug.org/ To unsubscribe from the SLUUG discussion mailing list, send a message to discuss-request@sluug.org with the word 'unsubscribe' as the body
Notes: In "Quote variables with caution", it says to use square brackets, and then goes on to give a correct example with curly braces. "Stop piping cats" only refers to piping to grep, but in reality there's almost never a good reason to pipe a single-file cat. The < operator provides a file on standard input. So "cat foo | wc -l" can become "wc -l < foo"
On Sunday 17 December 2006 05:47, Don Ellis wrote:
KC Guys - I thought you might like to see this item.
--Don Ellis
---------- Forwarded message ---------- From: Ed Howland ed.howland@gmail.com Date: Dec 16, 2006 2:09 PM Subject: [DISCUSS] 10 Good Unix command line habits To: discuss@sluug.org, Central West End Linux Users Group < cwe-lug@lists.firepipe.net>
A good article from IBM developerWorks.
Or the full thing: http://www-128.ibm.com/developerworks/aix/library/au-badunixhabits.html?ca= lnxw01GoodUnixHabits
Now some of the examples don't work (mkdir with parenthesized dirs) on Debian-like systems. But you might find a few gems there. I did.
Ed
Ed Howland http://greenprogrammer.blogspot.com
St. Louis Unix Users Group - http://www.sluug.org/ To unsubscribe from the SLUUG discussion mailing list, send a message to discuss-request@sluug.org with the word 'unsubscribe' as the body
I notice they're not internally consistent. In Item 2 they say to use the -C option on tar rather than changing to the target directory to un-tar, then in the example for Item 3 (combine commands), they change to the directory then un-tar the archive.