Linux Today: Linux News On Internet Time.
Search Linux Today
Linux News Sections:  Developer -  High Performance -  Infrastructure -  IT Management -  Security -  Storage -
Linux Today Navigation
LT Home
Contribute
Contribute
Link to Us
Linux Jobs


More on LinuxToday


Break Bad UNIX Habits With 10 Good Ones

Aug 03, 2008, 02:00 (9 Talkback[s])
(Other stories by Michael Stutz)

[ Thanks to An Anonymous Reader for this link. ]

"Ten good habits to adopt are:

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 xargs outside of find.
Know when grep should do the counting -- and when it should step aside.
Match certain fields in output, not just lines.
Stop piping cats."

Complete Story

Related Stories: