clfwidget([{"id":"10755","command":"curl ifconfig.me\/all","summary":"Get your external IP and Network Info","votes":"5","url":"http:\/\/www.commandlinefu.com\/commands\/view\/10755\/get-your-external-ip-and-network-info"},{"id":"10754","command":"awk -F'\\t' '{print $0 >>$5.tsv}'","summary":"Split tsv file by fifth column ... or any column","votes":"0","url":"http:\/\/www.commandlinefu.com\/commands\/view\/10754\/split-tsv-file-by-fifth-column-...-or-any-column"},{"id":"10747","command":"tail -F \/var\/log\/nginx\/access.log | python -c 'exec(\"import sys,time\\nl=0\\ne=int(time.time())\\nfor line in sys.stdin:\\n\\tt = int(time.time())\\n\\tl += 1\\n\\tif t > e:\\n\\t\\te = t\\n\\t\\tprint l\\n\\t\\tl = 0\")'","summary":"Realtime lines per second in a log file","votes":"0","url":"http:\/\/www.commandlinefu.com\/commands\/view\/10747\/realtime-lines-per-second-in-a-log-file"},{"id":"10681","command":"aptitude search ~ahold","summary":"locating packages held back, such as with \"aptitude hold <package>\"","votes":"0","url":"http:\/\/www.commandlinefu.com\/commands\/view\/10681\/locating-packages-held-back-such-as-with-aptitude-hold-"},{"id":"9911","command":"fuser -v 80\/tcp","summary":"Show what PID is listening on port 80 on Linux","votes":"14","url":"http:\/\/www.commandlinefu.com\/commands\/view\/9911\/show-what-pid-is-listening-on-port-80-on-linux"},{"id":"9703","command":"rsync -rv --exclude .svn src\/dir\/ dest\/dir\/","summary":"Rsync a directory excluding pesky .svn dirs","votes":"4","url":"http:\/\/www.commandlinefu.com\/commands\/view\/9703\/rsync-a-directory-excluding-pesky-.svn-dirs"},{"id":"9374","command":"lsof -Pn | grep LISTEN","summary":"check open ports (both ipv4 and ipv6)","votes":"2","url":"http:\/\/www.commandlinefu.com\/commands\/view\/9374\/check-open-ports-both-ipv4-and-ipv6"},{"id":"9340","command":"rsync --daemon --port 9999 --no-detach -v --config .rsyncd.conf","summary":"Start a quick rsync daemon for fast copying on internal secure network","votes":"-3","url":"http:\/\/www.commandlinefu.com\/commands\/view\/9340\/start-a-quick-rsync-daemon-for-fast-copying-on-internal-secure-network"},{"id":"6855","command":"bash -i 2>&1 | tee \/dev\/stderr | nc -l 5000","summary":"Broadcast your shell thru port 5000","votes":"4","url":"http:\/\/www.commandlinefu.com\/commands\/view\/6855\/broadcast-your-shell-thru-port-5000"},{"id":"6784","command":"sqlite3 -line database.db","summary":"Display sqlite results one column per line","votes":"-1","url":"http:\/\/www.commandlinefu.com\/commands\/view\/6784\/display-sqlite-results-one-column-per-line"},{"id":"6783","command":"rlwrap sqlite3 database.db","summary":"Make any command read line enabled (on *nix)","votes":"7","url":"http:\/\/www.commandlinefu.com\/commands\/view\/6783\/make-any-command-read-line-enabled-on-nix"},{"id":"6757","command":"ffmpeg -t 300 -r '0.5' -i head-%03d.png -i ..\/TvQuran.com__144.mp3 -acodec copy muxed.flv","summary":"Add an audio soundtrack to a series of images to create an flv","votes":"2","url":"http:\/\/www.commandlinefu.com\/commands\/view\/6757\/add-an-audio-soundtrack-to-a-series-of-images-to-create-an-flv"},{"id":"5849","command":"curl icanhazip.com","summary":"Get your external IP address","votes":"-2","url":"http:\/\/www.commandlinefu.com\/commands\/view\/5849\/get-your-external-ip-address"},{"id":"4762","command":"python -c 'import sys,csv; c = csv.reader(sys.stdin); [sys.stdout.write(\"^M\".join(map(repr,r))+\"\\n\") for r in c];' <tmp\/test.csv | column -s '^M' -t","summary":"Pretty Print a simple csv in the command line","votes":"1","url":"http:\/\/www.commandlinefu.com\/commands\/view\/4762\/pretty-print-a-simple-csv-in-the-command-line"},{"id":"4556","command":"tail -f \/var\/log\/apache2\/access.log | awk -W interactive '!x[$1]++ {print $1}'","summary":"Print unique ipaddresses as they come in from Apache Access Log File","votes":"1","url":"http:\/\/www.commandlinefu.com\/commands\/view\/4556\/print-unique-ipaddresses-as-they-come-in-from-apache-access-log-file"},{"id":"3772","command":"dpkg --get-selections | cut -f1 | while read pkg; do dpkg -L $pkg | xargs -I'{}' bash -c 'if [ ! -d \"{}\" ]; then echo \"{}\"; fi' | tr '\\n' '\\000' | du -c --files0-from - | tail -1 | sed \"s\/total\/$pkg\/\"; done","summary":"List your largest installed packages.","votes":"5","url":"http:\/\/www.commandlinefu.com\/commands\/view\/3772\/list-your-largest-installed-packages."},{"id":"3673","command":"check the sample output below, the command was too long :(","summary":"Matrix Style","votes":"6","url":"http:\/\/www.commandlinefu.com\/commands\/view\/3673\/matrix-style"},{"id":"3622","command":"column -s, -t <tmp.csv","summary":"Pretty Print a simple csv in the command line","votes":"17","url":"http:\/\/www.commandlinefu.com\/commands\/view\/3622\/pretty-print-a-simple-csv-in-the-command-line"},{"id":"3467","command":"echo foo | netcat 192.168.1.2 25","summary":"send echo to socket network","votes":"2","url":"http:\/\/www.commandlinefu.com\/commands\/view\/3467\/send-echo-to-socket-network"}])
