All commands (14,187)

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

stop windows update
Windows only: stops windows update and the nagging restart window. You need your admin password for this one.

diff the outputs of two programs
I've been looking for this for a long time. Does anybody know how to do this in dash (POSIX shell)? An alternative version might be: $ exiftool img_1.jpg | diff -

Remove security limitations from PDF documents using ghostscript (for Windows)
#4345 also works under windows

convert several jpg into one pdf file
require ImageMagick and GhostScript paquet

monitor memory usage

Export a subset of a database
Limits the number of rows per table to X

List only the directories
This command would be useful when it is desirable to list only the directories. 'egrep' chooses only the lines that begin with 'd'.

Periodic Log Deletion
deletes logs not modified in over [#] days - modify to compress or move, as needed

convert MTS video file format into xvid/mp3 avi format

convert a line to a space


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: