Commandlinefu - commandlinefu.com - All commands

Latest News:

sublime text 3 patch 26 Aug 2013 | 10:19 pm

$ sed 's/\x33\x42/\x32\x42/g' sublime_text > cracked Serial key for patched application: -----BEGIN LICENSE----- Patrick Carey Unlimited User License EA7E-18848 4982D83B6313800EBD801600D7E3CC13 ...

Create thumbnails and a HTML page for listing them (with links to sources) 26 Aug 2013 | 01:45 am

$ mogrify -format gif -define jpeg:size=500x180 -auto-orient -thumbnail 250x90 '*.jpg' && (echo "<ul>"; for i in *.gif; do basename=$(echo $i | rev | cut -d. -f2- | rev) ; echo "<li><a href='$basename...

Fetch the current human population of Earth 25 Aug 2013 | 07:49 am

$ perl -Mojo -E 'say g("http://www.census.gov/popclock/data/population/world")->json->{'world'}{'population'};' View this command to comment, vote or add to favourites View all commands by salparadi...

A bash timer 24 Aug 2013 | 09:18 pm

$ alias timer='export ts=$(date +%s);p='\''$(date -u -d @"$(($(date +%s)-$ts))" +"%H.%M.%S")'\'';watch -n 1 -t banner $p;eval "echo $p"' Starts and shows a timer. banner command is a part of the sysv...

a (slightly) better `trash` 23 Aug 2013 | 09:57 pm

$ trash <file> # now doesn't overwrite previously trashed directories Say you trash a directory to your .Trash. For one reason or another, a directory that's the same name as the previously trashed d...

Generate an XKCD #936 style 4 word password 22 Aug 2013 | 01:21 pm

$ word=$(shuf -n4 /usr/share/dict/words); for w in ${word[@]}; do w=${w^}; w=${w//\'/}; p+=$w; done; echo $p View this command to comment, vote or add to favourites View all commands by fishdaemon ...

Bluetooth hardware info 21 Aug 2013 | 05:29 pm

$ hciconfig;hciconfig -a hci0;lsmod |grep bt;dmesg | grep tooth Info about Bluetooth devices. View this command to comment, vote or add to favourites View all commands by FadeMind by David Winterb...

Detect broken video files with mplayer and bash in the current directory 21 Aug 2013 | 03:23 am

$ for i in *.flv *.mkv *.avi; do mplayer -ao null -vo null -ss 0 -endpos 1 >/dev/null "$i" 2> >(grep -qi error && echo >&2 "$i seems bad"); done If you want avoid to be annoyed when playing your favo...

Archive all folders in a directory into their own tar.bz2 file 21 Aug 2013 | 03:13 am

$ for i in */; do echo tar -cjf "${i%/}.tar.bz2" "$i"; done Remove the "echo" to actually archive. Many similar commands are found on commandlinefu but I end up needing this very specific one from t...

Periodically run a command without hangups, and send the output to your e-mail 19 Aug 2013 | 10:21 pm

$ nohup bash -c "while true; do ps -x | mail pascalv@mmmmail.com; sleep 3600; done" | mail pascalv@mmmmail.com & Run "ps -x" (process status) in the background every hour (in this example). The outp...

Related Keywords:

Command line, thepiratebay.org, tagged login, command line fu, commandline fu, commandlinefu, restart nautilus, mencoder extract audio, mask my ip address, using expr

Recently parsed news:

Recent searches: