Wednesday, February 8, 2012
Linux, Security, Rants and Raves

Categories


 

February 2008
S M T W T F S
« Jan   Mar »
 12
3456789
10111213141516
17181920212223
242526272829  

Archives


Favorite CLI Tools

February 11th, 2008 by 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 »

What a weekend

February 11th, 2008 by Baldy

Well it all depends on who you are I guess. For Obama it was a great weekend. For Clinton it was really not that good. For Amy Winehouse it was a good weekend. Microsoft on the other hand got the news that Yahoo is saying thanks but no thanks for that offer. And it seems no matter where you live the weather was/is just plain horrible with bitter cold, killer windchills, and grass fires where it isn’t cold. Oh the plus side it seems as if the writers strike is over and the world will be back to normal again with new soap opera once again. On the I hate to hear that agenda Roy Scheider of Jaws and All that Jazz fame past away, a true loss for hollywood, and the viewing public. And last but not least today Texas Instruments will show off the Google phone. And how was your weekend? Have a good day and a better tomorrow folks.

Update: How would you like to wake to -20 and no power that is LC this morning now that is a bad day, Baldy

Posted in News, Personal | No Comments »