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
xargs
outside offind
. - Know when
grep
should do the counting -- and when it
should step aside. - Match certain fields in output, not just lines.
- Stop piping
cat
s.
Learn 10 good UNIX usage habits
Yet another shoutout to nixCraft for the pointer!
No comments:
Post a Comment