A question to all unstableme followers, readers and visitors
Whats your favorite command line trick in Bash ?
My favorite one is Bash process substitution:
diff <(sort file1) <(sort file2)
Please comment your favorite one. Bash useful command, command line trick, One liner, vi editor tip or anything related to bash. Please.
Thanks,
unstableme
5 comments:
Difficult to pick one. Probably one of the ones I use most is pipes.
Yep, the favorite one is difficult. But I can tell one I use most often besides _ls_ and such. It is _help test_ ;-)
Some nice tips here http://twitter.com/bashtips
Thanks Ducan
I like to use diff with the options -y --left-column to locate the changes between the two files more rapidly.
find . -iname "foo*" is great too -- the iname is case INsensitive.
du -h --max-depth=1 helps me keep an eye on my drives' available space.
I'm still learning, so I look forward to picking up some new ones here!
Anne.
Post a Comment