Learn 10 good UNIX usage habits

Ten good habits to adopt are:

  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. Usexargsoutside offind.
  8. Know whengrepshould do the counting — and when it should step aside.
  9. Match certain fields in output, not just lines.
  10. Stop pipingcat’s.

Tags:

Comments are closed.