This lists the number of ogg/mp3/wav/flac files in each subdirectory of the current directory. The output can be sorted by piping it into "sort -n". Show Sample Output
Getting current wallpaper on nautilus file-managers
recurse through all files, get the message hash, flip the output as filename, hash value Show Sample Output
Maps block devices to the PCIe nodes
Does a search and replace across multiple files with a subgroup replacement.
Another way to view some code by keyword and basic regular expression
shows you the symlinks in the current directory, recursively, but without following them Show Sample Output
Many tasks need mac id check. above command exactly do the same Show Sample Output
Works even with spaces in filenames. As an alias in .gitconfig: [alias] editchanged = "!git status --porcelain | sed -ne 's/^ M //p' | tr '\\n' '\\0' | tr -d '\"' | xargs -0 vim"
Find all files in SVN workspace directories which are uncommitted. List them and find their properties Show Sample Output
Use case insensitive regex to match files ending in popular video format extensions and calculate their total time. (traverses all files recursively starting from the current directory) Show Sample Output
Downloads a CRL file, determines the expiration time, and checks when it will expire Show Sample Output
Caution: distructive overwrite of filenames Useful for concatenating pdfs in date order using pdftk
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.
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
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: