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

Find the processes that are on the runqueue. Processes with a status of

Terminal - Find the processes that are on the runqueue. Processes with a status of
ps -eo stat,pid,user,command | egrep "^STAT|^D|^R"
2009-02-20 19:00:17
User: jyoder
Functions: egrep ps
Find the processes that are on the runqueue. Processes with a status of

Want to know why your load average is so high? Run this command to see what processes are on the run queue. Runnable processes have a status of "R", and commands waiting on I/O have a status of "D".

On some older versions of Linux may require -emo instead of -eo.

On Solaris: ps -aefL -o s -o user -o comm | egrep "^O|^R|COMMAND"


There are 2 alternatives - vote for the best!

Terminal - Alternatives
ps r -A
2013-08-20 17:27:47
User: mztriz
Functions: ps
Tags: ps runqueue

Llist all the processes in the run queue.

Know a better way?

If you can do better, submit your command here.

What others think

Your beans bag lap workspace is becoming popular. It's common to view these kind of utilised where the table isn't accessible. At times they are utilized due to the fact in which the particular person really wants to sit doesn't always have the surrounding required for a new kitchen table, also it could possibly be simpler to get something similar to a new plate.When trays are expected for hot or perhaps elusive masses, it's a challenge to be able to harmony the actual dish on a safety net. These types of very little tables are manufactured with a bean bag cushion connected to the starting. The internal safety net makes it easier to be able to stability these tiny companies over a customers lap. They are quite cozy to use, and they are steady plenty of to support drinks http://www.hermesbeltsbirkinkellybag.co.uk/ and food, with out showing,These helpful desks are noticed being a advantage for people who love to sit up during intercourse making use of their web e-book personal computer. The world wide web e-book personal computer will be stored levels as well as stable, whilst the person usually spends hrs upon it accomplishing whatever needs doing.For people that journey a whole lot, most of these kitchen tables can be really useful for journeys. It'll offer a floor to allow someone to perform a marvel, as well as examine a book. It is going to assistance consume bins properly, during a new going automobile.Sometimes, most of these agents can be employed through men and women on their own runs around neighborhood. If the person is cross-legged from it on the lap, as well as looking at the counter by it, it possesses a great good platform for anyone to take a seat and have on with anything for quite a while, whilst outside the latest air.The bean bag lap workspace constitutes a number of work less difficult and is popular with lots of people just about everywhere. From your cross-word challenge to help net-booking, their list of products this specific panel cubical may be used for is actually limit-less.

Comment by stephanieg915 2 days ago

Is there a most current as well as prosperous technique of advertisement nowadays? If you're thinking TV adverts or even papers next that could be not the case for any solution. Currently one-on-one marketing is a bit more profitable compared to the size marketing and advertising. Promotional items are the effective strategies to create your model photograph. Promotional duffel bags are utilized to do this because they can accomplish anyplace and might perform advertising of the solution or manufacturer.Question then comes up how could you read more away from these marketing duffel bags? Initially strategy is to give most of these bags in order to some athletes. Sports athletes are very influential individuals. http://www.hermesbeltsbirkinkellybag.co.uk/ Individuals idolize these as being a role model and attempt to replicate these people within the most beneficial technique. Will probably be incredibly smart that you can lengthy promotional gifts to be able to some athletes since it will aid you to market and also distributed your company such as a outdoors fireplace. Second way is to give your bags for you to vacationers if you are considering of earning your product or service promoting world-wide. When the people will travel to considerably locations they may have the particular bags this will assist you to market your model or even merchandise in order to locations will not be simply attained through some other advert settings. It will likewise lengthy organization trustworthiness from the look at the folks and also a global positioning. When we will spot your bags your logo design they may determine it and will create a beneficial photograph of the company for many years. The next time they can be to purchase something they're going to certainly pick your product or service as they establish the idea. Future way is handy the particular bags to recurring customers include them as feel specific as well as in addition accomplish your goal of selling. They'll hold this bags around and also publicize your product or service by accident.Why duffel bags should be used by advertisement? The reason is they are widely-used all year round and they're under no circumstances out of date. These are very beneficial and people have used them. But the undeniable fact that labeled duffel bags are quite pricey and many admirers can't have them since they are inaccessible. After you offer the duffel bags to the telltale lovers they may adore these people and carry all of them all around along with complete your organization's promoting. Most will actually do the referral marketing advertising campaign that is identified the most beneficial way of advertising as it appeals to the best way to to purchase your product or service when compared with another setting of promoting may.Duffel bags are compatible with advertising given that they healthy the cost. They can appear entirely possible that this advertising goal but they also possess a good capability to promote your solution effectively. There is one thing that you should look after for using duffel bags for the promotion of your respective merchandise. You should carefully find the bag acquiring high-quality since it can represent you company while watching folks using them the ones seeing these individuals. If your bags will not be of fine excellent individuals may discard them.

Comment by stephanieg915 2 days ago



























Comment by sguerra376 3 hours ago

Your point of view

You must be signed in to comment.