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:
mencoder mf://filemask -mf
option availble for mf :
* w=value : the width of the output, by d?fault : autodetected
* h=value : height of the output, by default : autodetected
* fps=value : framerate of the output, by default : 25
* type=value : file format type input , avaible: jpeg, png, tga, sgi
create iso image from directory . Usefull for virtualised machine
To create CD ISO image of directories that contain long file name or non-8.3 format (particularly if you want to burn the CD image for use in Windows system), use the -J option switch that generates Joliet directory records in addition to regular iso9660 file names. For example, to create CD image of Vista SP1 directory: mkisofs -o VitaSP1.iso -J VistaSP1
Refresh the cache of font directory , usefull after you download font (.ttf or other) from various website and you don't want to reboot or relogin . Close your word processor before using the command , after the refresh reopen your word processor , new fonts is avaible !
convert to debian package file (deb) a redhat package file (rpm) , then you can install it by using dpkg , require alien package ( sudo apt-get install alien first )
for the change stay in your history file , export command by writing it into your .bashrc
this command limit the speed to 8 until next eject of your cdrom disc , can be usefulll when you don't want to listen the sound of your cdrom driver .
bchunk [-v] [-p] [-r] [-w] [-s]
save the input into a ogg file
The ^$ within the quotes is a regular expression: ^=beginning of line, $=end of line, with no characters between.
cat -n file : number all line
cat -b file : number only non empty line
see man cat
1. find file greater than 10 MB
2. direct it to xargs
3. xargs pass them as argument to ls
tell you how many Non free software is on your machine, which package it is and which restriction on freedom it has . require vrms package , vrms mean virtual Richard M. Stallman :)
Require boxes and / or cowsay packages.
After input boxes -d dog , type your text and then press ctrl + d . Same goes for cowsay .
need toilet package , same goes for figlet
showfigfonts | less : give the list of font available for options
sudo apt-get install moon-buggy
An ascii 2D game where you control a mooncar and try to avoid moonhole by jumping (press space )
sudo apt-get install bb
A demoscene intro in ascii art with tracker song