Commands using wc (172)

What's this?

commandlinefu.com is the place to record those command-line gems that you return to again and again. That way others can gain from your CLI wisdom and you from theirs too. All commands can be commented on, discussed and voted up or down.

Share Your Commands


Check These Out

Drop all tables from a database, without deleting it
Uses two comands, requieres mysqldump, but works as expected.

find and remove old compressed backup files
remove all compressed files in /home/ folder not created in the last 10 days

list block devices
Shows all block devices in a tree with descruptions of what they are.

mysql bin log events per minute
shows number of mysql bin log events (which are mysql server events) per minute, useful to check stress times postmortem

Compose 2 images to 1
Compose 2 images (foreground.jpg with background.jpg) into 1 (image.jpg), the numeric parameters stablish the size of the foreground.jpg image (96x96) and the position x,y (+250+70) relative to the background.jpg image. Images can be any format, jpg, png, bmp, etc...

Docker: Remove all exited docker container

Stream audio over ssh ogg version
Stream OGG vorbis over ssh.

show ALL iptable rules
show your current iptable rules from every available iptable table

Save a file you edited in vim without the needed permissions - (Open)solaris version with RBAC

Recompress all files in current directory from gzip to bzip2
Find all .gz files and recompress them to bz2 on the fly. No temp files. edit: forgot the double quotes! jeez!


Stay in the loop…

Follow the Tweets.

Every new command is wrapped in a tweet and posted to Twitter. Following the stream is a great way of staying abreast of the latest commands. For the more discerning, there are Twitter accounts for commands that get a minimum of 3 and 10 votes - that way only the great commands get tweeted.

» http://twitter.com/commandlinefu
» http://twitter.com/commandlinefu3
» http://twitter.com/commandlinefu10

Subscribe to the feeds.

Use your favourite RSS aggregator to stay in touch with the latest commands. There are feeds mirroring the 3 Twitter streams as well as for virtually every other subset (users, tags, functions,…):

Subscribe to the feed for: