December 13, 2006
Be Nice To Your Commandline
Good article showing you 10 things to avoid when using the command line. To wit:
- Make directory trees in a single swipe.
- Change the path; do not move the archive.
- Combine your commands with control operators.
- Quote variables with caution.
- Use escape sequences to manage long input.
- Group your commands together in a list.
- Use
xargsoutside offind. - Know when
grepshould do the counting -- and when it should step aside. - Match certain fields in output, not just lines.
- Stop piping
cats.
Yet another shoutout to nixCraft for the pointer!
del.icio.us | Digg it | Furl | Yahoo MyWeb | Create Social Bookmark Links
Posted by jdarnold at 10:16 PM | TrackBack
Track with co.mments
Track with co.mments 


