What's this?

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.

Get involved!

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.

UpGuard checks and validates configurations for every major OS, network device, and cloud provider.

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:



May 19, 2015 - A Look At The New Commandlinefu
I've put together a short writeup on what kind of newness you can expect from the next iteration of clfu. Check it out here.
March 2, 2015 - New Management
I'm Jon, I'll be maintaining and improving clfu. Thanks to David for building such a great resource!

Top Tags



Print the last modified file

Terminal - Print the last modified file
ls -t1 | head -n1
2009-02-26 09:12:36
User: neW1
Functions: head ls
Print the last modified file


There is 1 alternative - vote for the best!

Terminal - Alternatives

Know a better way?

If you can do better, submit your command here.

What others think

In the gaming world, a slew of ways to play games exist: consoles like the Xbox,

handheld devices such as the DS, mobile platforms like smartphones,

and one of our favorite, the browser such as Firefox or Chrome.


http://www.friv9game.org/" title="http://www.friv9game.org" rel="nofollow">http://www.friv9game.org/">http://www.friv9game.org

http://www.friv10.org/" title="http://www.friv10.org" rel="nofollow">http://www.friv10.org/">http://www.friv10.org

http://www.friv100new.org/" title="http://www.friv100new.org" rel="nofollow">http://www.friv100new.org/">http://www.friv100new.org

http://www.juegosfriv100.net/" title="http://www.juegosfriv100.net" rel="nofollow">http://www.juegosfriv100.net/">http://www.juegosfriv100.net

http://www.fripgames.org/" title="http://www.fripgames.org" rel="nofollow">http://www.fripgames.org/">http://www.fripgames.org

http://www.y88games.net/" title="http://www.y88games.net" rel="nofollow">http://www.y88games.net/">http://www.y88games.net

http://www.kizi3game.net/" title="http://www.kizi3game.net" rel="nofollow">http://www.kizi3game.net/">http://www.kizi3game.net

The advantage of in-browser games is that all is required is a computer and an internet connection.

No high end graphics card, dedicated console, monthly subscription, or even a one-time fee.

Friv9Game.org, or Friv for short, offers a very wide range of these in-browser games at no cost.

Friv is our number one choice for browser gaming.

Comment by Adminfriv 34 weeks and 3 days ago

For those of you who love being competitive and playing online against other people, a premium REDEMPTIONaccount is a must. Without PlayStation Plus account, you will not be able to play online. so we are providing you free PSN codes.It is the best source of getting free PSN codes.

Comment by Dsouza 19 weeks and 5 days ago

Your point of view

You must be signed in to comment.