Favorite CLI Tools
Baldy
Some one asked the other day if I had any cli tools that I would say are favorites to use, I really had to think a few on that. Like I said the other day here Scrot is one that really is handy and fast.But lets try a couple and see what comes up.
grep and egrep
Those two are small cute ones. Both grep and egrep are used to find files containing a string or match lines from a stream. The difference is that egrep supports regular expressions and grep supports only strings.
A few examples:
grep -R ‘the string’ match files containing ‘the string’. the ‘-R’ switch means recursively.
cat /etc/passwd | grep moty match the lines containing ‘moty’ from /etc/password.
Yes this is one that I use a lot;
md5sum
Compute an md5 checksum (128-bit) for file “file_name” to verify it’s integrity. You normally use the ” md5sum -c” option to check against a given file (often with a “.asc” extention) to check whether the various files are correct, this comes in handy when downloading isos as the checking is automated for you.
Command syntax:
md5sum file_name
For now there are a couple I will think some more, and we all know how bad that hurts me, and try and come up with a couple more for you.
Posted in Linux, Software |
No Comments »