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.

Universal configuration monitoring and system of record for IT.

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



Psst. Open beta.

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:

  • » The open beta is running a copy of the database that will not carry over to the final version. Don't post anything you don't mind losing.
  • » If you wish to use your user account, you will probably need to reset your password.
Your feedback is appreciated via the form on the beta page. Thanks! -Jon & CLFU Team

A fun thing to do with ram is actually open it up and take a peek. This command will show you all the string (plain text) values in ram

Terminal - A fun thing to do with ram is actually open it up and take a peek. This command will show you all the string (plain text) values in ram
sudo dd if=/dev/mem | cat | strings
2009-02-09 18:29:33
User: logik
Functions: cat dd sudo
A fun thing to do with ram is actually open it up and take a peek. This command will show you all the string (plain text) values in ram


There are 4 alternatives - vote for the best!

Know a better way?

If you can do better, submit your command here.

What others think

Very cool! Thanks logik

Comment by Williebee 414 weeks and 1 day ago

don't think the cat is needed... or the dd... strings /dev/mem should work fine.

Comment by wwest4 414 weeks and 1 day ago

cat is not needed.

Comment by scottix 413 weeks and 4 days ago

strings /dev/mem | grep "llama"

Comment by jbcurtis 413 weeks and 2 days ago

This looks like it came from my site: http://www.nixtutor.com/linux/general-troubleshooting-in-linux/

But never the less awesome command. :)

Comment by marcrosoft 412 weeks and 4 days ago

never thought of this!

Comment by zubb 411 weeks and 3 days ago

The fact that my bios branding pops up in my ram 15 times vaugely irks me....

I wonder what would happen if I removed them?

# sudo perl -pi.bk -e's/Phoenix//g'

That sounds more entertaining than the shutdown command right now.

Comment by clockworkavian 407 weeks and 1 day ago

Is this really possible on linux to read /dev/mem from non privilegied user?

In FreeBSD you can't read the file if you user doesn't belong to the kmem group:

%head /dev/mem

head: /dev/mem: Permission denied

%ls -lh /dev/mem

crw-r----- 1 root kmem 0, 32 Dec 5 18:39 /dev/mem

Comment by Dereckson 319 weeks and 1 day ago

It is pretty sure you are not used to this company stadium? At that point try for exclusively printed searching bags. Right away you will find the chance to force your current retailer label along with brand by means of customized printings on rucksack and then some. These are typically in essence astonishing as you can check-out different options along with shades that you can get as a result of on the internet locations at merely the press of a emergency. Given that you would like to program after that that's also addressed by way of a band of planners whom ended up having options established by your own assumed. Therefore, the reason last? Obtain customized bag having logo that may be accessible in many different plans at the most reduced cost and be a website experience. Leather drawstring bookbag is prepared when it comes to by simply many with regard to their wealthy enhance. Pick the one particular you're feeling is good in the wake up of looking via a thorough selection of accumulations. Sometimes there are many combined bags being offered or even package which can be connected with remarkable profit for your business. It is easily far better to take into consideration assorted spots regarding worth along with good quality just before placing asks for for the purpose which you have some most suitable products from effective agreements. A couple of mixtures of book bag responsive on the internet tend to be Black cowhide tiny back pack, Chemical lava drawstring rucksack, Taylor drawstring back pack, Luxurious faded unpleasant harsh scrub backpack, and so on.Around the distinctive varieties of bags built readily available, ordinary materials carrier bags usually are in the same way renowned around the normal available. These aren't just clear-cut in vogue in addition to. Handbag bags are a fantastic versions, to consider to your operate place or even while on a new get-away. They will get to an extent of perfect colors together with basic and sophisticated sets out. These types of bags in a very manner assist in presenting the best quest for everyone. You can easily additionally plan personalised material bag bags pertaining to get-togethers or even events. Providing it's layed out relevantly your impressive advance it could actually bathe on the family and friends is definitely spectacular. Individuals who achieve these kinds of bags may shop that for any sizeable amount http://www.hermesbeltsbirkinkellybag.co.uk/ of time as it's a photo associated with innovation mixed with simplicity. By simply searching via numerous online stores you get a clear image person will get and yes it really should be worth the cash used. Online retailers are known for their amazing management and also speedy conveyance techniques. What's much more they will m also send out a sample for your examination if perhaps required. Available in a comprehensive number of resources along with varieties these kind of bags are perfect for swap signifies, get togethers, promo special gifts, displays, relationship bath areas and so on. The actual integrated point of interest is that you may change carrier bags much faster and much easier applying on the net devices as well as the D-Lab framework. All in whatever you depends upon these materials to supply the relationship a fantastic photograph and also the symbol review well worth is merely amazing because they stay with the buyer for quit some time.

Comment by stephanieg915 1 day ago

In the final numerous years as of noticed now go on a remain true bags took the product look planet by surprise Provided with or and not using a re-closeable zipper closing a new have a area up bag is usually a laminated bag commonly of numerous types of plastic-type material or maybe a mixture of cheap in addition to aluminum metallic aluminium aluminum foil Producers talk about the baggage simply because they use a great deal of a smaller amount material as compared to some other traditional merchandise look procedures similar to Toned base bags or maybe bins also, since they offer an amazing chance for advertising in addition to marketing and advertising When your solution surpasses a particular weight you could possibly want utilizing go on a spot way up bags which has a system gusset In this style ends for both elements boost with 30-level viewpoints from your bag This kind of requires pressure off of the finishes with often part of the technique as well as allows for extra quantityAvailable in several types take a place upward pouches currently have several important measurements: sizing dimensions and podium gusset The finish gusset is the further materials at under with the bag which supplies that their future regarding growth Get up pockets is usually created to connect the true specs in fact beneath gusset from the bag is among three various models Whatever you choose depends upon the Invest way up totes you method to house there Allow me to share small information every design that will help you pick which is right for you In this fashion some great benefits of this gusset tend to be welded on the facets with the assisting places giving the program the other toughness in addition to service it requires to take a area up Ripped Base Pouches built with http://www.hermesbeltsbirkinkellybag.co.uk/ your rounded system gusset are the most commonly encountered in the market and so are great for solutions which has a bodyweight regarding less Also often known as in the place closing this brand of take a Invest upwards overall look is created coming from only 1 product involving motion picture so there isn't any shutting with the gusset generating the idea in particular well-recognized together with suppliers of granular models like sugars or salt In this style of go on a spot right up bag the item inside process units upon your demonstrate It can be great for items using a weight in excess of a single lbWhichever design you ultimately choose there is absolutely no question that by simply modifying to your usage of a new require a spot upward bag your earnings will automatically require a location on attention!

Comment by stephanieg915 1 day ago


Comment by sguerra376 20 hours ago

Your point of view

You must be signed in to comment.