commandlinefu.com is the place to record those command-line gems that you return to again and again.
Delete that bloated snippets file you've been using and share your personal repository with the world. 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.
You can sign-in using OpenID credentials, or register a traditional username and password.
First-time OpenID users will be automatically assigned a username which can be changed after signing in.
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.
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:
Wow, didn't really expect you to read this far down. The latest iteration of the site is in open beta. It's a gentle open beta-- not in prime-time just yet. It's being hosted over at UpGuard (link) and you are more than welcome to give it a shot. Couple things:
find and normal files and list them sorting with modification time without group
l: with detailed information
t: sort with modification time
r: reverse order
h: show file's size in human-readable format, such as K(kilobytes), M(megabyes) etc.
g: do not show group
speaks out last twitter update using 'say'
Replaces every ocurrence of 'old' for 'new' in all files specified. After the 'i' char you can put a '~' or whatever to create a backup file for each replaced with the name equal to the original plus character.
Reverse DNS lookups, from a file with list of IP's, here the file is called lookups.txt
Require wmctrl and gpicker and an EWMH/NetWM compatible X Window Manager
w3m is a commanline web browser, full of options, I used -dump_head for less unnecessary page download.
With awk, I can retrieve dynamic changes in webpages in this very econnomical fashion
print members both in file1 and file2
Easily removes line #2 in ~/.ssh/known_hosts.
Uses find, plutil and xpath.
Note: Some applications don't have proper information. system_profiler might be better to use.
It's a bit slow query.
Due to command length limit, I removed -name "*.app" and CFBundleName.
Subtitles' file names contain S04E01, S04E02, ... S04E12 and end with ".smi".
Videos' file names contain S04E01, S04E02, ... S04E12 and end with ".avi".
You can change the patterns by changing `ls *S04E$jj*.smi` and `ls *S04E$jj*.avi` parts.
You can change the number of starting and ending file by changing `seq -f "%02.0f" 1 12` part.
don't have to be that complicated
man find: If no paths are given, the current directory is used. - Can anybody tell me why so many people are typing the dot?
mtr is a network utility that combines traceroute and ping utility
Display information about the cores.
* sudo apt-get install schedtool