Daemon Dancing

Wednesday, December 13, 2006

Be Nice To Your Commandline

Good article showing you 10 things to avoid when using the command line. To wit:



  1. Make directory trees in a single swipe.


  2. Change the path; do not move the archive.

  3. Combine your commands with control operators.

  4. Quote variables with caution.

  5. Use escape sequences to manage long input.

  6. Group your commands together in a list.


  7. Use xargs outside of find.

  8. Know when grep should do the counting -- and when it
    should step aside
    .

  9. Match certain fields in output, not just lines.


  10. Stop piping cats.



Learn 10 good UNIX usage habits



Yet another shoutout to nixCraft for the pointer!






Posted by Jonathan Arnold at 2:16 PM
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: Link, shell

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

Followers

Blog Archive

  • ►  2010 (6)
    • ►  February (6)
  • ►  2009 (16)
    • ►  December (1)
    • ►  November (5)
    • ►  July (2)
    • ►  June (2)
    • ►  April (1)
    • ►  March (2)
    • ►  February (2)
    • ►  January (1)
  • ►  2008 (16)
    • ►  December (1)
    • ►  November (6)
    • ►  September (3)
    • ►  August (4)
    • ►  July (1)
    • ►  January (1)
  • ►  2007 (73)
    • ►  September (1)
    • ►  August (15)
    • ►  July (7)
    • ►  June (5)
    • ►  May (15)
    • ►  April (8)
    • ►  March (5)
    • ►  February (2)
    • ►  January (15)
  • ▼  2006 (138)
    • ▼  December (20)
      • New PC-BSD
      • Multiple Dual Personalities
      • Doing The Samba
      • History Of the Unix Wold
      • History Of Computing
      • Serve This, Buddy!
      • The Twilight X Zone
      • Separate Partitions
      • Wallpaper Bingo
      • Bad Vista, Bad!
      • Instant Domination
      • Be Nice To Your Commandline
      • Static Zing
      • Hard Drive Hiccups
      • Mapping the Internet
      • Timely Intervention
      • X Window Games
      • Extending The Fox
      • Recover lost root password
      • Through Sickness and Health
    • ►  November (21)
    • ►  October (28)
    • ►  September (13)
    • ►  July (3)
    • ►  June (10)
    • ►  May (17)
    • ►  April (3)
    • ►  March (1)
    • ►  February (8)
    • ►  January (14)
  • ►  2005 (56)
    • ►  December (1)
    • ►  November (5)
    • ►  October (8)
    • ►  September (13)
    • ►  August (3)
    • ►  July (9)
    • ►  June (5)
    • ►  April (4)
    • ►  March (6)
    • ►  February (2)
  • ►  2004 (124)
    • ►  December (5)
    • ►  November (4)
    • ►  September (3)
    • ►  August (7)
    • ►  July (7)
    • ►  June (3)
    • ►  May (8)
    • ►  April (17)
    • ►  March (22)
    • ►  February (21)
    • ►  January (27)
  • ►  2003 (30)
    • ►  December (3)
    • ►  October (1)
    • ►  August (2)
    • ►  July (1)
    • ►  June (10)
    • ►  May (13)

About Me

Jonathan Arnold
View my complete profile
Simple theme. Powered by Blogger.