25 Best AWK Commands / Tricks

AWK is a data driven programming language designed for processing text-based data, either in files or data streams. It is an example of a programming language that extensively uses the string datatype, associative arrays (that is, arrays indexed by key strings), and regular expressions. WIKI

Here are the most Kick ass voted AWK commands.

1)  List of commands you use most often

history | awk ‘{a[$2]++}END{for(i in a){print a[i] ” ” i}}’ | sort -rn | head

2) Display a block of text with AWK

awk ‘/start_pattern/,/stop_pattern/’ file.txt

I find this terribly useful for grepping through a file, looking for just a block of text. There’s “grep -A # pattern file.txt” to see a specific number of lines following your pattern, but what if you want to see the whole block? Say, the output of “dmidecode” (as root):

dmidecode | awk '/Battery/,/^$/'Will show me everything following the battery block up to the next block of text. Again, I find this extremely useful when I want to see whole blocks of text based on a pattern, and I don’t care to see the rest of the data in output. This could be used against the ‘/etc/securetty/user’ file on Unix to find the block of a specific user. It could be used against VirtualHosts or Directories on Apache to find specific definitions. The scenarios go on for any text formatted in a block fashion. Very handy.

3) Graph # of connections for each hosts.

netstat -an | grep ESTABLISHED | awk ‘{print $5}’ | awk -F: ‘{print $1}’ | sort | uniq -c | awk ‘{ printf(“%s\t%s\t”,$2,$1) ; for (i = 0; i < $1; i++) {printf(“*”)}; print “” }’

Written for linux, the real example is how to produce ascii text graphs based on a numeric value (anything where uniq -c is useful is a good candidate).

4) Check your unread Gmail from the command line

curl -u username:password –silent “https://mail.google.com/mail/feed/atom” | tr -d ‘\n’ | awk -F ” ‘{for (i=2; i<=NF; i++) {print $i}}’ | sed -n “s/\(.*\)<\/title.*name>\(.*\)<\/name>.*/\2 – \1/p”

Checks the Gmail ATOM feed for your account, parses it and outputs a list of unread messages.

For some reason sed gets stuck on OS X, so here’s a Perl version for the Mac:

curl -u username:password --silent "https://mail.google.com/mail/feed/atom" | tr -d '\n' | awk -F '<entry>' '{for (i=2; i<=NF; i++) {print $i}}' | perl -pe 's/^<title>(.*)<\/title>.*<name>(.*)<\/name>.*$/$2 - $1/'If you want to see the name of the last person, who added a message to the conversation, change the greediness of the operators like this:

curl -u username:password --silent "https://mail.google.com/mail/feed/atom" | tr -d '\n' | awk -F '<entry>' '{for (i=2; i<=NF; i++) {print $i}}' | perl -pe 's/^<title>(.*)<\/title>.*?<name>(.*?)<\/name>.*$/$2 - $1/'

5) Remove duplicate entries in a file without sorting.

awk ‘!x[$0]++’ <file>

Using awk, find duplicates in a file without sorting, which reorders the contents. awk will not reorder them, and still find and remove duplicates which you can then redirect into another file.

6) find geographical location of an ip address

lynx -dump http://www.ip-adress.com/ip_tracer/?QRY=$1|grep address|egrep ‘city|state|country’|awk ‘{print $3,$4,$5,$6,$7,$8}’|sed ‘s\ip address flag \\’|sed ‘s\My\\’

I save this to bin/iptrace and run “iptrace ipaddress” to get the Country, City and State of an ip address using the http://ipadress.com service.

I add the following to my script to get a tinyurl of the map as well:

URL=`lynx -dump http://www.ip-adress.com/ip_tracer/?QRY=$1|grep details|awk ‘{print $2}’`

lynx -dump http://tinyurl.com/create.php?url=$URL|grep tinyurl|grep “19. http”|awk ‘{print $2}’

7) Block known dirty hosts from reaching your machine

wget -qO – http://infiltrated.net/blacklisted|awk ‘!/#|[a-z]/&&/./{print “iptables -A INPUT -s “$1″ -j DROP”}’

Blacklisted is a compiled list of all known dirty hosts (botnets, spammers, bruteforcers, etc.) which is updated on an hourly basis. This command will get the list and create the rules for you, if you want them automatically blocked, append |sh to the end of the command line. It’s a more practical solution to block all and allow in specifics however, there are many who don’t or can’t do this which is where this script will come in handy. For those using ipfw, a quick fix would be {print “add deny ip from “$1″ to any}. Posted in the sample output are the top two entries. Be advised the blacklisted file itself filters out RFC1918 addresses (10.x.x.x, 172.16-31.x.x, 192.168.x.x) however, it is advisable you check/parse the list before you implement the rules

8) Display a list of committers sorted by the frequency of commits

svn log -q|grep “|”|awk “{print \$3}”|sort|uniq -c|sort -nr

Use this command to find out a list of committers sorted by the frequency of commits.

9) List the number and type of active network connections

netstat -ant | awk ‘{print $NF}’ | grep -v ‘[a-z]’ | sort | uniq -c

10) View facebook friend list [hidden or not hidden]

lynx -useragent=Opera -dump ‘http://www.facebook.com/ajax/typeahead_friends.php?u=4&__a=1′ |gawk -F’\”t\”:\”‘ -v RS=’\”,’ ‘RT{print $NF}’ |grep -v ‘\”n\”:\”‘ |cut -d, -f2

There’s no need to be logged in facebook. I could do more JSON filtering but you get the idea…

Replace u=4 (Mark Zuckerberg, Facebook creator) with desired uid.

Hidden or not hidden… Scary, don’t you?

11) List recorded formular fields of Firefox

cd ~/.mozilla/firefox/ && sqlite3 `cat profiles.ini | grep Path | awk -F= ‘{print $2}’`/formhistory.sqlite “select * from moz_formhistory” && cd – > /dev/null

When you fill a formular with Firefox, you see things you entered in previous formulars with same field names. This command list everything Firefox has registered. Using a “delete from”, you can remove anoying Google queries, for example ;-)

12) Brute force discover

sudo zcat /var/log/auth.log.*.gz | awk ‘/Failed password/&&!/for invalid user/{a[$9]++}/Failed password for invalid user/{a[“*” $11]++}END{for (i in a) printf “%6s\t%s\n”, a[i], i|”sort -n”}’

Show the number of failed tries of login per account. If the user does not exist it is marked with *.

13) Show biggest files/directories, biggest first with ‘k,m,g’ eyecandy

du –max-depth=1 | sort -r -n | awk ‘{split(“k m g”,v); s=1; while($1>1024){$1/=1024; s++} print int($1)” “v[s]”\t”$2}’

I use this on debian testing, works like the other sorted du variants, but i like small numbers and suffixes :)

14) Analyse an Apache access log for the most common IP addresses

tail -10000 access_log | awk ‘{print $1}’ | sort | uniq -c | sort -n | tail

This uses awk to grab the IP address from each request and then sorts and summarises the top 10

15) copy working directory and compress it on-the-fly while showing progress

tar -cf – . | pv -s $(du -sb . | awk ‘{print $1}’) | gzip > out.tgz

What happens here is we tell tar to create “-c” an archive of all files in current dir “.” (recursively) and output the data to stdout “-f -“. Next we specify the size “-s” to pv of all files in current dir. The “du -sb . | awk ?{print $1}?” returns number of bytes in current dir, and it gets fed as “-s” parameter to pv. Next we gzip the whole content and output the result to out.tgz file. This way “pv” knows how much data is still left to be processed and shows us that it will take yet another 4 mins 49 secs to finish.

Credit: Peteris Krumins http://www.catonmat.net/blog/unix-utilities-pipe-viewer/

16) List of commands you use most often

history | awk ‘{print $2}’ | sort | uniq -c | sort -rn | head

17) Identify long lines in a file

awk ‘length>72′ file

This command displays a list of lines that are longer than 72 characters. I use this command to identify those lines in my scripts and cut them short the way I like it.

18) Makes you look busy

alias busy=’my_file=$(find /usr/include -type f | sort -R | head -n 1); my_len=$(wc -l $my_file | awk “{print $1}”); let “r = $RANDOM % $my_len” 2>/dev/null; vim +$r $my_file’

This makes an alias for a command named ‘busy’. The ‘busy’ command opens a random file in /usr/include to a random line with vim. Drop this in your .bash_aliases and make sure that file is initialized in your .bashrc.

19) Show me a histogram of the busiest minutes in a log file:

cat /var/log/secure.log | awk ‘{print substr($0,0,12)}’ | uniq -c | sort -nr | awk ‘{printf(“\n%s “,$0) ; for (i = 0; i<$1 ; i++) {printf(“*”)};}’

20) Analyze awk fields

awk ‘{print NR”: “$0; for(i=1;i<=NF;++i)print “\t”i”: “$i}’

Breaks down and numbers each line and it’s fields. This is really useful when you are going to parse something with awk but aren’t sure exactly where to start.

21) Browse system RAM in a human readable form

sudo cat /proc/kcore | strings | awk ‘length > 20′ | less

This command lets you see and scroll through all of the strings that are stored in the RAM at any given time. Press space bar to scroll through to see more pages (or use the arrow keys etc).

Sometimes if you don’t save that file that you were working on or want to get back something you closed it can be found floating around in here!

The awk command only shows lines that are longer than 20 characters (to avoid seeing lots of junk that probably isn’t “human readable”).

If you want to dump the whole thing to a file replace the final ‘| less’ with ‘> memorydump’. This is great for searching through many times (and with the added bonus that it doesn’t overwrite any memory…).

Here’s a neat example to show up conversations that were had in pidgin (will probably work after it has been closed)…

sudo cat /proc/kcore | strings | grep '([0-9]\{2\}:[0-9]\{2\}:[0-9]\{2\})'(depending on sudo settings it might be best to run

sudo sufirst to get to a # prompt)

22) Monitor open connections for httpd including listen, count and sort it per IP

watch “netstat -plan|grep :80|awk {‘print \$5′} | cut -d: -f 1 | sort | uniq -c | sort -nk 1″

It’s not my code, but I found it useful to know how many open connections per request I have on a machine to debug connections without opening another http connection for it.

You can also decide to sort things out differently then the way it appears in here.

23) Purge configuration files of removed packages on debian based systems

sudo aptitude purge `dpkg –get-selections | grep deinstall | awk ‘{print $1}’`

Purge all configuration files of removed packages

24) Quick glance at who’s been using your system recently

last  | grep -v “^$” | awk ‘{ print $1 }’ | sort -nr | uniq -c

This command takes the output of the ‘last’ command, removes empty lines, gets just the first field ($USERNAME), sort the $USERNAMES in reverse order and then gives a summary count of unique matches.

25) Number of open connections per ip.

netstat -ntu | awk ‘{print $5}’ | cut -d: -f1 | sort | uniq -c | sort -n

Here is a command line to run on your server if you think your server is under attack. It prints our a list of open connections to your server and sorts them by amount.

BSD Version:

netstat -na |awk '{print $5}' |cut -d "." -f1,2,3,4 |sort |uniq -c |sort -nr
And there you have it killer awk usages. Now I know you might be thinking these are NOT awk commands. Maybe not, but awk was used to filter out data.
Did I make a mistake?,
did I leave something cool behind?
Please feel free to comment.
Tagged . Bookmark the permalink.

8 Responses to 25 Best AWK Commands / Tricks

  1. Pingback: Tweets that mention 25 Best AWK Commands / Tricks -- Topsy.com

  2. Jackie says:

    Awesome Article, You just keep coming up with great stuff. Keep up the good work

  3. Pingback: da non perdere « Uno scrittoio digitale …

  4. Mark says:

    while trying this one: curl -u username:password –silent “https://mail.google.com/mail/feed/atom” | tr -d ‘\n’ | awk -F ‘’ ‘{for (i=2; i<=NF; i++) {print $i}}’ | sed -n “s/\(.*\)\(.*\).*/\2 – \1/p”

    i get “bash: syntax error near unexpected token `(‘ ”
    any reason why it doesnt like the command?

  5. Isaiah says:

    hey mark, try this one

    curl -u username –silent “https://mail.google.com/mail/feed/atom” | perl -ne ‘print “\t” if //; print “$2\n” if /< (title|name)>(.*)< \/\1>/;’
    for some reason wordpress decided to create a space between < and ( in <(title|name)>
    just erase the extra space

    notice what happens when there is more than one unread message in a thread…

    also people please dont hardcode the password when you use curl. Leave it out and curl will ask you when it runs. Please…?

    but if you must try this one
    curl -u username:password –silent “https://mail.google.com/mail/feed/atom” | tr -d ‘\n’ | awk -F ‘‘ ‘{for (i=2; i< =NF; i++) {print $i}}' | sed -n "s/\(.*\)< \/title.*name>\(.*\)< \/name>.*/\2 – \1/p”</entry></name></p> </div> <div class="reply"> <a class='comment-reply-link' href='/25-awk-commands-tricks/?replytocom=205#respond' onclick='return addComment.moveForm("comment-205", "205", "respond", "119")'>Reply</a> </div><!-- .reply --> </div><!-- #comment-## --> </li><!-- #comment-## --> <li class="comment odd alt thread-odd thread-alt depth-1" id="li-comment-1342"> <div id="comment-1342"> <div class="comment-author vcard"> <img alt='' src='http://0.gravatar.com/avatar/cee2441ba1a36804b932b265c8511281?s=40&d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D40&r=G' class='avatar avatar-40 photo' height='40' width='40' /><cite class="fn">dj</cite> <span class="says">says:</span> </div><!-- .comment-author .vcard --> <div class="comment-meta commentmetadata"><a href="http://blog.urfix.com/25-awk-commands-tricks/#comment-1342"> February 23, 2011 at 12:55 am</a> </div><!-- .comment-meta .commentmetadata --> <div class="comment-body"><p>- On #24, I believe you can eliminate the grep.by using a pattern on the awk statement.<br /> Use awk ‘NF {print $1}’. If there are no fields, nothing is printed. </p> <p>– Can remove many of the cat too. For example:</p> <p>Old: cat /var/log/secure.log | awk ‘{print substr($0,0,12)}’ |<br /> New: awk ‘{print substr($0,0,12)} /var/log/secure.log’ |</p> <p>Nice list. And useful, too.</p> </div> <div class="reply"> <a class='comment-reply-link' href='/25-awk-commands-tricks/?replytocom=1342#respond' onclick='return addComment.moveForm("comment-1342", "1342", "respond", "119")'>Reply</a> </div><!-- .reply --> </div><!-- #comment-## --> </li><!-- #comment-## --> <li class="comment even thread-even depth-1" id="li-comment-2626"> <div id="comment-2626"> <div class="comment-author vcard"> <img alt='' src='http://1.gravatar.com/avatar/de69a1e473957161e79c419db6c57ba7?s=40&d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D40&r=G' class='avatar avatar-40 photo' height='40' width='40' /><cite class="fn">aMoLk</cite> <span class="says">says:</span> </div><!-- .comment-author .vcard --> <div class="comment-meta commentmetadata"><a href="http://blog.urfix.com/25-awk-commands-tricks/#comment-2626"> June 17, 2011 at 8:04 pm</a> </div><!-- .comment-meta .commentmetadata --> <div class="comment-body"><p>Those are not 25 awk tricks, those are 25 linux tricks.</p> </div> <div class="reply"> <a class='comment-reply-link' href='/25-awk-commands-tricks/?replytocom=2626#respond' onclick='return addComment.moveForm("comment-2626", "2626", "respond", "119")'>Reply</a> </div><!-- .reply --> </div><!-- #comment-## --> </li><!-- #comment-## --> <li class="comment odd alt thread-odd thread-alt depth-1" id="li-comment-2627"> <div id="comment-2627"> <div class="comment-author vcard"> <img alt='' src='http://1.gravatar.com/avatar/de69a1e473957161e79c419db6c57ba7?s=40&d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D40&r=G' class='avatar avatar-40 photo' height='40' width='40' /><cite class="fn">aMoLk</cite> <span class="says">says:</span> </div><!-- .comment-author .vcard --> <div class="comment-meta commentmetadata"><a href="http://blog.urfix.com/25-awk-commands-tricks/#comment-2627"> June 17, 2011 at 8:05 pm</a> </div><!-- .comment-meta .commentmetadata --> <div class="comment-body"><p>Those are not 25 awk tricks. More like 25 Linux tricks.</p> </div> <div class="reply"> <a class='comment-reply-link' href='/25-awk-commands-tricks/?replytocom=2627#respond' onclick='return addComment.moveForm("comment-2627", "2627", "respond", "119")'>Reply</a> </div><!-- .reply --> </div><!-- #comment-## --> </li><!-- #comment-## --> </ol> <div id="respond" class="comment-respond"> <h3 id="reply-title" class="comment-reply-title">Leave a Reply <small><a rel="nofollow" id="cancel-comment-reply-link" href="/25-awk-commands-tricks/#respond" style="display:none;">Cancel reply</a></small></h3> <form action="http://geekspr.com/wp-comments-post.php" method="post" id="commentform" class="comment-form"> <p class="comment-notes">Your email address will not be published. Required fields are marked <span class="required">*</span></p> <p class="comment-form-author"><label for="author">Name <span class="required">*</span></label> <input id="author" name="author" type="text" value="" size="30" aria-required='true' /></p> <p class="comment-form-email"><label for="email">Email <span class="required">*</span></label> <input id="email" name="email" type="text" value="" size="30" aria-required='true' /></p> <p class="comment-form-url"><label for="url">Website</label> <input id="url" name="url" type="text" value="" size="30" /></p> <p class="comment-form-comment"><label for="comment">Comment</label> <textarea id="comment" name="comment" cols="45" rows="8" aria-required="true"></textarea></p> <p class="form-allowed-tags">You may use these <abbr title="HyperText Markup Language">HTML</abbr> tags and attributes: <code><a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> </code></p> <p class="form-submit"> <input name="submit" type="submit" id="submit" value="Post Comment" /> <input type='hidden' name='comment_post_ID' value='119' id='comment_post_ID' /> <input type='hidden' name='comment_parent' id='comment_parent' value='0' /> </p> <p style="display: none;"><input type="hidden" id="akismet_comment_nonce" name="akismet_comment_nonce" value="0eebcb8e18" /></p><div class="g-recaptcha" data-sitekey="6Ld3M_4SAAAAAPaXODxKRw0KhAwhwbOLeeWTCEfK" data-theme="standard"></div><script type="text/javascript"src="https://www.google.com/recaptcha/api.js?hl=en"></script> <div id="recaptcha-submit-btn-area"> </div> <noscript> <style type='text/css'>#submit {display:none;}</style> <input name="submit" type="submit" id="submit-alt" tabindex="6" value="Submit Comment"/> </noscript><p style="display: none;"><input type="hidden" id="ak_js" name="ak_js" value="23"/></p> </form> </div><!-- #respond --> </div><!-- #comments --> </div><!-- #content --> <div id="primary" class="widget-area" role="complementary"> <ul class="xoxo"> <li id="text-4" class="widget-container widget_text"> <div class="textwidget"><script type="text/javascript"><!-- google_ad_client = "pub-5024998110137433"; /* 120x600, created 11/15/10 */ google_ad_slot = "6625260119"; google_ad_width = 120; google_ad_height = 600; //--> </script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script></div> </li><li id="tag_cloud-3" class="widget-container widget_tag_cloud"><h3 class="widget-title">Tags</h3><div class="tagcloud"><a href='http://blog.urfix.com/tag/android/' class='tag-link-49' title='1 topic' style='font-size: 8pt;'>android</a> <a href='http://blog.urfix.com/tag/aria2/' class='tag-link-8' title='1 topic' style='font-size: 8pt;'>aria2</a> <a href='http://blog.urfix.com/tag/ascii/' class='tag-link-36' title='1 topic' style='font-size: 8pt;'>ascii</a> <a href='http://blog.urfix.com/tag/awk/' class='tag-link-16' title='1 topic' style='font-size: 8pt;'>awk</a> <a href='http://blog.urfix.com/tag/backup/' class='tag-link-28' title='1 topic' style='font-size: 8pt;'>backup</a> <a href='http://blog.urfix.com/tag/blacksheep/' class='tag-link-12' title='1 topic' style='font-size: 8pt;'>blacksheep</a> <a href='http://blog.urfix.com/tag/block-survery-ads/' class='tag-link-14' title='1 topic' style='font-size: 8pt;'>block survery ads</a> <a href='http://blog.urfix.com/tag/command-line/' class='tag-link-6' title='11 topics' style='font-size: 22pt;'>command line</a> <a href='http://blog.urfix.com/tag/dd/' class='tag-link-30' title='1 topic' style='font-size: 8pt;'>dd</a> <a href='http://blog.urfix.com/tag/download/' class='tag-link-34' title='1 topic' style='font-size: 8pt;'>download</a> <a href='http://blog.urfix.com/tag/encryption/' class='tag-link-38' title='1 topic' style='font-size: 8pt;'>encryption</a> <a href='http://blog.urfix.com/tag/facebook/' class='tag-link-23' title='2 topics' style='font-size: 11.230769230769pt;'>facebook</a> <a href='http://blog.urfix.com/tag/facebook-timeline/' class='tag-link-48' title='1 topic' style='font-size: 8pt;'>facebook timeline</a> <a href='http://blog.urfix.com/tag/fedora/' class='tag-link-35' title='1 topic' style='font-size: 8pt;'>fedora</a> <a href='http://blog.urfix.com/tag/ffmpeg/' class='tag-link-37' title='1 topic' style='font-size: 8pt;'>ffmpeg</a> <a href='http://blog.urfix.com/tag/file-security/' class='tag-link-31' title='1 topic' style='font-size: 8pt;'>file security</a> <a href='http://blog.urfix.com/tag/file-systems/' class='tag-link-41' title='1 topic' style='font-size: 8pt;'>file systems</a> <a href='http://blog.urfix.com/tag/finger/' class='tag-link-45' title='1 topic' style='font-size: 8pt;'>finger</a> <a href='http://blog.urfix.com/tag/firefox/' class='tag-link-47' title='2 topics' style='font-size: 11.230769230769pt;'>firefox</a> <a href='http://blog.urfix.com/tag/fs/' class='tag-link-40' title='1 topic' style='font-size: 8pt;'>fs</a> <a href='http://blog.urfix.com/tag/google/' class='tag-link-7' title='3 topics' style='font-size: 13.384615384615pt;'>google</a> <a href='http://blog.urfix.com/tag/happy-days/' class='tag-link-27' title='1 topic' style='font-size: 8pt;'>happy days</a> <a href='http://blog.urfix.com/tag/ispcp/' class='tag-link-29' title='1 topic' style='font-size: 8pt;'>ispcp</a> <a href='http://blog.urfix.com/tag/lg-octane-linux/' class='tag-link-39' title='1 topic' style='font-size: 8pt;'>LG Octane Linux</a> <a href='http://blog.urfix.com/tag/man/' class='tag-link-33' title='1 topic' style='font-size: 8pt;'>man</a> <a href='http://blog.urfix.com/tag/mitm/' class='tag-link-20' title='1 topic' style='font-size: 8pt;'>mitm</a> <a href='http://blog.urfix.com/tag/mount/' class='tag-link-44' title='1 topic' style='font-size: 8pt;'>mount</a> <a href='http://blog.urfix.com/tag/nmap/' class='tag-link-18' title='1 topic' style='font-size: 8pt;'>nmap</a> <a href='http://blog.urfix.com/tag/ps3/' class='tag-link-4' title='2 topics' style='font-size: 11.230769230769pt;'>ps3</a> <a href='http://blog.urfix.com/tag/screen/' class='tag-link-42' title='1 topic' style='font-size: 8pt;'>screen</a> <a href='http://blog.urfix.com/tag/security/' class='tag-link-19' title='1 topic' style='font-size: 8pt;'>security</a> <a href='http://blog.urfix.com/tag/sed/' class='tag-link-17' title='1 topic' style='font-size: 8pt;'>sed</a> <a href='http://blog.urfix.com/tag/server/' class='tag-link-5' title='2 topics' style='font-size: 11.230769230769pt;'>Server</a> <a href='http://blog.urfix.com/tag/sexy-chick/' class='tag-link-24' title='1 topic' style='font-size: 8pt;'>sexy chick</a> <a href='http://blog.urfix.com/tag/shells/' class='tag-link-32' title='1 topic' style='font-size: 8pt;'>shells</a> <a href='http://blog.urfix.com/tag/spam/' class='tag-link-9' title='2 topics' style='font-size: 11.230769230769pt;'>spam</a> <a href='http://blog.urfix.com/tag/spy/' class='tag-link-21' title='1 topic' style='font-size: 8pt;'>spy</a> <a href='http://blog.urfix.com/tag/ssh/' class='tag-link-15' title='1 topic' style='font-size: 8pt;'>SSH</a> <a href='http://blog.urfix.com/tag/star-wars/' class='tag-link-11' title='1 topic' style='font-size: 8pt;'>Star Wars</a> <a href='http://blog.urfix.com/tag/tcpdump/' class='tag-link-22' title='1 topic' style='font-size: 8pt;'>tcpdump</a> <a href='http://blog.urfix.com/tag/tee/' class='tag-link-26' title='1 topic' style='font-size: 8pt;'>tee</a> <a href='http://blog.urfix.com/tag/top-distro/' class='tag-link-46' title='1 topic' style='font-size: 8pt;'>top distro</a> <a href='http://blog.urfix.com/tag/unzip/' class='tag-link-43' title='1 topic' style='font-size: 8pt;'>Unzip</a> <a href='http://blog.urfix.com/tag/webfetti/' class='tag-link-13' title='1 topic' style='font-size: 8pt;'>webfetti</a> <a href='http://blog.urfix.com/tag/wordpress/' class='tag-link-10' title='1 topic' style='font-size: 8pt;'>wordpress</a></div> </li><li id="categories-3" class="widget-container widget_categories"><h3 class="widget-title">Categories</h3> <ul> <li class="cat-item cat-item-3"><a href="http://blog.urfix.com/category/hacks/" >Hacks</a> </li> <li class="cat-item cat-item-25"><a href="http://blog.urfix.com/category/news/" >News</a> </li> <li class="cat-item cat-item-1"><a href="http://blog.urfix.com/category/tricks/" >Tricks</a> </li> </ul> </li> </ul> <ul class="xoxo"> <li id="text-3" class="widget-container widget_text"> <div class="textwidget"><script type="text/javascript"><!-- google_ad_client = "pub-5024998110137433"; /* 300x250, created 11/15/10 */ google_ad_slot = "9336808695"; google_ad_width = 300; google_ad_height = 250; //--> </script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script></div> </li><li id="text-5" class="widget-container widget_text"> <div class="textwidget"><script type="text/javascript"><!-- google_ad_client = "pub-5024998110137433"; /* 300x250, created 11/15/10 */ google_ad_slot = "8629513131"; google_ad_width = 300; google_ad_height = 250; //--> </script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script></div> </li><li id="linkcat-2" class="widget-container widget_links"><h3 class="widget-title">Blogroll</h3> <ul class='xoxo blogroll'> <li><a href="http://eddiessandwiches.com" rel="friend" title="A great place for coffee" target="_blank">Eddies Sandwiches</a></li> <li><a href="http://www.geekspr.com/" rel="friend met spouse muse crush sweetheart" title="A beautiful disaster">Geek SPR</a></li> <li><a href="http://love.urfix.com" rel="me" title="Love Is Ur Fix" target="_blank">Love Is Ur Fix</a></li> <li><a href="http://rainesbrain.com" rel="spouse muse crush sweetheart" title="A beautiful Disaster" target="_blank">Raine's Brain</a></li> <li><a href="http://www.urfix.com/" rel="me" title="Free Linux shells and much more">urfix.com</a></li> <li><a href="http://yo.urfix.com" rel="me" title="your Fix" target="_blank">Your Fix</a></li> </ul> </li> </ul> </div><!-- #primary .widget-area --> <!-- 1c --> </section><!-- #container --> <div style="clear:both;"></div> </div> <!-- #forbottom --> </div><!-- #main --> <footer id="footer" role="contentinfo"> <div id="colophon"> <div id="footer-widget-area" role="complementary" class="footertwo" > <div id="second" class="widget-area"> <ul class="xoxo"> <li id="text-4" class="widget-container widget_text"> <div class="textwidget"><script type="text/javascript"><!-- google_ad_client = "pub-5024998110137433"; /* 120x600, created 11/15/10 */ google_ad_slot = "6625260119"; google_ad_width = 120; google_ad_height = 600; //--> </script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script></div> </li><li id="tag_cloud-3" class="widget-container widget_tag_cloud"><h3 class="widget-title">Tags</h3><div class="tagcloud"><a href='http://blog.urfix.com/tag/android/' class='tag-link-49' title='1 topic' style='font-size: 8pt;'>android</a> <a href='http://blog.urfix.com/tag/aria2/' class='tag-link-8' title='1 topic' style='font-size: 8pt;'>aria2</a> <a href='http://blog.urfix.com/tag/ascii/' class='tag-link-36' title='1 topic' style='font-size: 8pt;'>ascii</a> <a href='http://blog.urfix.com/tag/awk/' class='tag-link-16' title='1 topic' style='font-size: 8pt;'>awk</a> <a href='http://blog.urfix.com/tag/backup/' class='tag-link-28' title='1 topic' style='font-size: 8pt;'>backup</a> <a href='http://blog.urfix.com/tag/blacksheep/' class='tag-link-12' title='1 topic' style='font-size: 8pt;'>blacksheep</a> <a href='http://blog.urfix.com/tag/block-survery-ads/' class='tag-link-14' title='1 topic' style='font-size: 8pt;'>block survery ads</a> <a href='http://blog.urfix.com/tag/command-line/' class='tag-link-6' title='11 topics' style='font-size: 22pt;'>command line</a> <a href='http://blog.urfix.com/tag/dd/' class='tag-link-30' title='1 topic' style='font-size: 8pt;'>dd</a> <a href='http://blog.urfix.com/tag/download/' class='tag-link-34' title='1 topic' style='font-size: 8pt;'>download</a> <a href='http://blog.urfix.com/tag/encryption/' class='tag-link-38' title='1 topic' style='font-size: 8pt;'>encryption</a> <a href='http://blog.urfix.com/tag/facebook/' class='tag-link-23' title='2 topics' style='font-size: 11.230769230769pt;'>facebook</a> <a href='http://blog.urfix.com/tag/facebook-timeline/' class='tag-link-48' title='1 topic' style='font-size: 8pt;'>facebook timeline</a> <a href='http://blog.urfix.com/tag/fedora/' class='tag-link-35' title='1 topic' style='font-size: 8pt;'>fedora</a> <a href='http://blog.urfix.com/tag/ffmpeg/' class='tag-link-37' title='1 topic' style='font-size: 8pt;'>ffmpeg</a> <a href='http://blog.urfix.com/tag/file-security/' class='tag-link-31' title='1 topic' style='font-size: 8pt;'>file security</a> <a href='http://blog.urfix.com/tag/file-systems/' class='tag-link-41' title='1 topic' style='font-size: 8pt;'>file systems</a> <a href='http://blog.urfix.com/tag/finger/' class='tag-link-45' title='1 topic' style='font-size: 8pt;'>finger</a> <a href='http://blog.urfix.com/tag/firefox/' class='tag-link-47' title='2 topics' style='font-size: 11.230769230769pt;'>firefox</a> <a href='http://blog.urfix.com/tag/fs/' class='tag-link-40' title='1 topic' style='font-size: 8pt;'>fs</a> <a href='http://blog.urfix.com/tag/google/' class='tag-link-7' title='3 topics' style='font-size: 13.384615384615pt;'>google</a> <a href='http://blog.urfix.com/tag/happy-days/' class='tag-link-27' title='1 topic' style='font-size: 8pt;'>happy days</a> <a href='http://blog.urfix.com/tag/ispcp/' class='tag-link-29' title='1 topic' style='font-size: 8pt;'>ispcp</a> <a href='http://blog.urfix.com/tag/lg-octane-linux/' class='tag-link-39' title='1 topic' style='font-size: 8pt;'>LG Octane Linux</a> <a href='http://blog.urfix.com/tag/man/' class='tag-link-33' title='1 topic' style='font-size: 8pt;'>man</a> <a href='http://blog.urfix.com/tag/mitm/' class='tag-link-20' title='1 topic' style='font-size: 8pt;'>mitm</a> <a href='http://blog.urfix.com/tag/mount/' class='tag-link-44' title='1 topic' style='font-size: 8pt;'>mount</a> <a href='http://blog.urfix.com/tag/nmap/' class='tag-link-18' title='1 topic' style='font-size: 8pt;'>nmap</a> <a href='http://blog.urfix.com/tag/ps3/' class='tag-link-4' title='2 topics' style='font-size: 11.230769230769pt;'>ps3</a> <a href='http://blog.urfix.com/tag/screen/' class='tag-link-42' title='1 topic' style='font-size: 8pt;'>screen</a> <a href='http://blog.urfix.com/tag/security/' class='tag-link-19' title='1 topic' style='font-size: 8pt;'>security</a> <a href='http://blog.urfix.com/tag/sed/' class='tag-link-17' title='1 topic' style='font-size: 8pt;'>sed</a> <a href='http://blog.urfix.com/tag/server/' class='tag-link-5' title='2 topics' style='font-size: 11.230769230769pt;'>Server</a> <a href='http://blog.urfix.com/tag/sexy-chick/' class='tag-link-24' title='1 topic' style='font-size: 8pt;'>sexy chick</a> <a href='http://blog.urfix.com/tag/shells/' class='tag-link-32' title='1 topic' style='font-size: 8pt;'>shells</a> <a href='http://blog.urfix.com/tag/spam/' class='tag-link-9' title='2 topics' style='font-size: 11.230769230769pt;'>spam</a> <a href='http://blog.urfix.com/tag/spy/' class='tag-link-21' title='1 topic' style='font-size: 8pt;'>spy</a> <a href='http://blog.urfix.com/tag/ssh/' class='tag-link-15' title='1 topic' style='font-size: 8pt;'>SSH</a> <a href='http://blog.urfix.com/tag/star-wars/' class='tag-link-11' title='1 topic' style='font-size: 8pt;'>Star Wars</a> <a href='http://blog.urfix.com/tag/tcpdump/' class='tag-link-22' title='1 topic' style='font-size: 8pt;'>tcpdump</a> <a href='http://blog.urfix.com/tag/tee/' class='tag-link-26' title='1 topic' style='font-size: 8pt;'>tee</a> <a href='http://blog.urfix.com/tag/top-distro/' class='tag-link-46' title='1 topic' style='font-size: 8pt;'>top distro</a> <a href='http://blog.urfix.com/tag/unzip/' class='tag-link-43' title='1 topic' style='font-size: 8pt;'>Unzip</a> <a href='http://blog.urfix.com/tag/webfetti/' class='tag-link-13' title='1 topic' style='font-size: 8pt;'>webfetti</a> <a href='http://blog.urfix.com/tag/wordpress/' class='tag-link-10' title='1 topic' style='font-size: 8pt;'>wordpress</a></div> </li><li id="categories-3" class="widget-container widget_categories"><h3 class="widget-title">Categories</h3> <ul> <li class="cat-item cat-item-3"><a href="http://blog.urfix.com/category/hacks/" >Hacks</a> </li> <li class="cat-item cat-item-25"><a href="http://blog.urfix.com/category/news/" >News</a> </li> <li class="cat-item cat-item-1"><a href="http://blog.urfix.com/category/tricks/" >Tricks</a> </li> </ul> </li> </ul> </div><!-- #second .widget-area --> <div id="third" class="widget-area"> <ul class="xoxo"> <li id="text-3" class="widget-container widget_text"> <div class="textwidget"><script type="text/javascript"><!-- google_ad_client = "pub-5024998110137433"; /* 300x250, created 11/15/10 */ google_ad_slot = "9336808695"; google_ad_width = 300; google_ad_height = 250; //--> </script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script></div> </li> <!-- WordPress Popular Posts Plugin v3.2.1 [W] [daily] [views] [regular] --> <li id="wpp-4" class="widget-container popular-posts"> <ul class="wpp-list"> <li><a href="http://blog.urfix.com/25-sick-linux-commands/" title="25 More – Sick Linux Commands" target="_self"></a> <a href="http://blog.urfix.com/25-sick-linux-commands/" title="25 More – Sick Linux Commands" class="wpp-post-title" target="_self">25 More – Sick Linux Commands</a> <span class="post-stats"></span> </li> <li><a href="http://blog.urfix.com/25-ssh-commands-tricks/" title="25 Best SSH Commands / Tricks" target="_self"></a> <a href="http://blog.urfix.com/25-ssh-commands-tricks/" title="25 Best SSH Commands / Tricks" class="wpp-post-title" target="_self">25 Best SSH Commands / Tricks</a> <span class="post-stats"></span> </li> <li><a href="http://blog.urfix.com/9-tricks-pv-pipe-viewer/" title="9 Really Useful Tricks With pv- Pipe Viewer" target="_self"></a> <a href="http://blog.urfix.com/9-tricks-pv-pipe-viewer/" title="9 Really Useful Tricks With pv- Pipe Viewer" class="wpp-post-title" target="_self">9 Really Useful Tricks With pv- Pipe Viewer</a> <span class="post-stats"></span> </li> <li><a href="http://blog.urfix.com/7-awesome-free-network-apps-rooted-androids/" title="7 Awesome and Free Network Apps for Rooted Androids" target="_self"></a> <a href="http://blog.urfix.com/7-awesome-free-network-apps-rooted-androids/" title="7 Awesome and Free Network Apps for Rooted Androids" class="wpp-post-title" target="_self">7 Awesome and Free Network Apps for Rooted Androids</a> <span class="post-stats"></span> </li> <li><a href="http://blog.urfix.com/10-cool-nmap-tricks-techniques/" title="10 Cool Nmap Tricks and Techniques" target="_self"></a> <a href="http://blog.urfix.com/10-cool-nmap-tricks-techniques/" title="10 Cool Nmap Tricks and Techniques" class="wpp-post-title" target="_self">10 Cool Nmap Tricks and Techniques</a> <span class="post-stats"></span> </li> <li><a title="25 Best AWK Commands / Tricks" target="_self"></a> <a title="25 Best AWK Commands / Tricks" class="wpp-post-title" target="_self">25 Best AWK Commands / Tricks</a> <span class="post-stats"></span> </li> <li><a href="http://blog.urfix.com/9-ways-huge-tcpdump/" title="9 Ways To Take a Huge Tcpdump" target="_self"></a> <a href="http://blog.urfix.com/9-ways-huge-tcpdump/" title="9 Ways To Take a Huge Tcpdump" class="wpp-post-title" target="_self">9 Ways To Take a Huge Tcpdump</a> <span class="post-stats"></span> </li> <li><a href="http://blog.urfix.com/secret-hidden-menu-tethering-lg-octane-linux/" title="Secret Hidden Menu Hack and Tethering LG Octane On Linux" target="_self"></a> <a href="http://blog.urfix.com/secret-hidden-menu-tethering-lg-octane-linux/" title="Secret Hidden Menu Hack and Tethering LG Octane On Linux" class="wpp-post-title" target="_self">Secret Hidden Menu Hack and Tethering LG Octane On Linux</a> <span class="post-stats"></span> </li> <li><a href="http://blog.urfix.com/monitor-linux-server-sms-alerts-performance-graphs/" title="How To Monitor Linux Server: SMS Alerts-Performance Graphs" target="_self"></a> <a href="http://blog.urfix.com/monitor-linux-server-sms-alerts-performance-graphs/" title="How To Monitor Linux Server: SMS Alerts-Performance Graphs" class="wpp-post-title" target="_self">How To Monitor Linux Server: SMS Alerts-Performance Graphs</a> <span class="post-stats"></span> </li> <li><a href="http://blog.urfix.com/11-awesome-dd-commands/" title="11 Awesome DD Commands" target="_self"></a> <a href="http://blog.urfix.com/11-awesome-dd-commands/" title="11 Awesome DD Commands" class="wpp-post-title" target="_self">11 Awesome DD Commands</a> <span class="post-stats"></span> </li> </ul> </li> <!-- End WordPress Popular Posts Plugin v3.2.1 --> <li id="text-5" class="widget-container widget_text"> <div class="textwidget"><script type="text/javascript"><!-- google_ad_client = "pub-5024998110137433"; /* 300x250, created 11/15/10 */ google_ad_slot = "8629513131"; google_ad_width = 300; google_ad_height = 250; //--> </script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script></div> </li><li id="linkcat-2" class="widget-container widget_links"><h3 class="widget-title">Blogroll</h3> <ul class='xoxo blogroll'> <li><a href="http://eddiessandwiches.com" rel="friend" title="A great place for coffee" target="_blank">Eddies Sandwiches</a></li> <li><a href="http://www.geekspr.com/" rel="friend met spouse muse crush sweetheart" title="A beautiful disaster">Geek SPR</a></li> <li><a href="http://love.urfix.com" rel="me" title="Love Is Ur Fix" target="_blank">Love Is Ur Fix</a></li> <li><a href="http://rainesbrain.com" rel="spouse muse crush sweetheart" title="A beautiful Disaster" target="_blank">Raine's Brain</a></li> <li><a href="http://www.urfix.com/" rel="me" title="Free Linux shells and much more">urfix.com</a></li> <li><a href="http://yo.urfix.com" rel="me" title="your Fix" target="_blank">Your Fix</a></li> </ul> </li> </ul> </div><!-- #third .widget-area --> </div><!-- #footer-widget-area --> </div><!-- #colophon --> <div id="footer2"> <div style="text-align:center;clear:both;padding-top:4px;" > <a href="http://blog.urfix.com/" title="UrFix's Blog" rel="home"> UrFix's Blog</a> | Powered by <a target="_blank" href="http://www.cryoutcreations.eu" title="Mantra Theme by Cryout Creations">Mantra</a> & <a target="_blank" href="http://wordpress.org/" title="Semantic Personal Publishing Platform"> WordPress. </a> </div><!-- #site-info --> <div class="socials" id="sfooter"> <a target="_blank" rel="nofollow" href="#" class="socialicons social-Facebook" title="Facebook"><img alt="Facebook" src="http://geekspr.com/wp-content/themes/mantra/images/socials/Facebook.png" /></a> <a target="_blank" rel="nofollow" href="#" class="socialicons social-Twitter" title="Twitter"><img alt="Twitter" src="http://geekspr.com/wp-content/themes/mantra/images/socials/Twitter.png" /></a> <a target="_blank" rel="nofollow" href="#" class="socialicons social-RSS" title="RSS"><img alt="RSS" src="http://geekspr.com/wp-content/themes/mantra/images/socials/RSS.png" /></a></div> </div><!-- #footer2 --> </footer><!-- #footer --> </div><!-- #wrapper --> <script type="text/javascript"><!-- wpa2a.targets=[ {title:'25 Best AWK Commands / Tricks',url:'http://blog.urfix.com/25-awk-commands-tricks/'}]; wpa2a.html_done=true;if(wpa2a.script_ready&&!wpa2a.done)wpa2a.init();wpa2a.script_load(); //--></script> <div id="su-footer-links" style="text-align: center;"></div> <script type="text/javascript"> var sub = document.getElementById('submit'); document.getElementById('recaptcha-submit-btn-area').appendChild (sub); document.getElementById('submit').tabIndex = 6; if ( typeof _recaptcha_wordpress_savedcomment != 'undefined') { document.getElementById('comment').value = _recaptcha_wordpress_savedcomment; } </script><script type='text/javascript' src='http://geekspr.com/wp-content/plugins/akismet/_inc/form.js?ver=3.0.3'></script> <link rel='stylesheet' id='mantra-mobile-css' href='http://geekspr.com/wp-content/themes/mantra/style-mobile.css?ver=4.0.1' type='text/css' media='all' /> <script type='text/javascript' src='http://geekspr.com/wp-includes/js/comment-reply.min.js?ver=4.0.1'></script> </body> </html> <!-- Hyper cache file: f10dad644408b90055fa4cfeeed4d848 Cache created: 21-12-2014 03:40:47 HCE Version: 1.3.0 Load AVG: 0.02(3) -->