- 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. 
20061218
Adopting 10 good habits of Unix Scripting
I saw this on a quick fleeting moment on slash.dot .. It covers many things that I have done in the past.. 
  
Subscribe to:
Comments (Atom)





