Hide

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.
Hide

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:

Hide

News

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!
Hide

Top Tags

Hide

Functions

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

list services running (as root)

Terminal - list services running (as root)
service --status-all | grep running
2009-03-27 19:53:30
User: Williebee
Functions: grep
1
list services running (as root)

A quick way to list services running

Alternatives

There are 4 alternatives - vote for the best!

Terminal - Alternatives

Know a better way?

If you can do better, submit your command here.

What others think

This assumes you're on a Red Hat based system. If not, this assumes that you have sysvinit-utils installed. Also, very GNU/Linux specific, and not portable to Unix derivatives.

Comment by atoponce 407 weeks and 4 days ago

This works on Ubuntu and Opensuse

And for Opensolaris use:

svcs | grep online
Comment by Williebee 407 weeks and 4 days ago

Here's the equivelant for Gentoo:

rc-status | grep started
Comment by zzrrider 407 weeks and 4 days ago

AIX version: lssrc -a

Comment by mpb 407 weeks and 4 days ago

Not a portable solution

Comment by GNUix 407 weeks and 3 days ago

Pollution is growing every day seeing that just about every subsequent point is actually giving some pollutant in a few variety in the setting Everyone knows that this can be an worrying circumstances of course, if we will not acquire any kind of preventive steps it could possibly cause harm to us all inside a vast approach we take to just about all generally consider exactly what can we do but when every person does indeed anything with his/the woman's levels the problem might be change Utilization of green points in each day c[censored] azines can be first step on the preservation involving setting Most of us is capable of doing much to make the environment polluting of the environment cost-free Have a look at each of our daily employ posts this bag a vital matter for everyone Every one of us make use of bags in some type be it for carrying young ladies stuffs or for carrying fruit and vegetables or other issues Normally we use polly- bags for carrying each of our households and fashionable buckskin bags or maybe totes Without doubt these kinds of leather purses and handbags possess entered into our society so strong it problematical to go away these types of at the same time However environmentally friendly bags are not only seen good for atmosphere although stylish as well Some time is transforming and some women started take friendly to the environment bags without doubt Everybody is contributing to the advancement associated with setting these bag developers accomplish this using their sideEco friendly bags are created from organic points generally associated with jute or maybe apparel The reason why they are termed friendly to the environment will be the bio-degradability These are typically created from this sort of resources which usually result in simply no problems for the actual Handbags makers are doing endeavours for making these types of pure bags a growing number of elegant delightful to draw customers about major level They're utilizing mining harvests garments ovals along with stones to accentuate this kind of holding item Presently there is not a lot solution on the market you have a number of options but it is growing little by little before you will able to pick from a wide range regarding bags like all different associated with bags The masai have a obvious contact associated with dynamics and are also since valuable as being the other individuals There are numerous handcraft organization who are producing these bags inside large number so that you can make it visible in the marketplace as being the more and more people look these types of bags the more they are offered to rely on them Because this is enough time of fashion and style and children are prepared to pay out massive total for your items that make sure they are classy Therefore on their behalf most of these green carriers usually are come http://www.hermesbeltsbirkinkellybag.co.uk/ in different shades and type which match with the particular need for this youngsters These bags are among the many hand made content articles like diamond jewelry shawls wood articles and so on although bills . most of these here is the most successful item that doesn't merely complies with ones need but will also gives a good racial search in addition to enables you to environment friendly without having done any very much These kind of tiny problems might help a good deal and also growing understanding among the men and women in order that they start out nurturing his or her setting as much as they will You will see lots of people transporting these bags along with the evening is just not much any time a majority of men and women will have green bags into their hands

Comment by stephanieg915 2 days ago

Isnt it this sort of enjoyment? Looking! What exactly different? We visit obtain every day wants and needs which make our lifestyle at ease and splendid. We all proceed to the distinct promotes looking for various goods and products that's our own necessity. Many of us go on straying off to the unique outlets to obtain the modern clothes as well as jewelleries and so forth. Afterwards, we all come back house that has a bag full of a variety of things.But only consider after, is certainly not that regular type of purchasing quite tedious in addition to occasion acquiring. Additionally, transporting home the particular recently purchased items and goods is often a few high interest.This would be the age of modernization in addition to globalization so we must currently talk away some sort of scanned method or perhaps kind of shopping. Indeed, we have been talking about the internet Purchasing.Shopping On the web enables the customers to get online all of the different products and items online. They're able to purchase online everything they require. The customers can use can buy on-line almost everything like Clothes for males, Ladies and Youngsters, Jewelleries to cause you to glimpse tasteful, Digital cameras to really make the thoughts, Cell and keep anyone connected and more things that has grown to be a fundamental piece of the human being lifestyle.There are a couple of webshops which has produced the actual shopping online. The customers can use can buy on the web all that together varieties their own purchasing wants with the different online shopping stores. They merely have to take a moment because of their personal computers linked to an internet and keep with fascinating the fingers in addition to pressing a button respectively. After that, they will opt to buy online what ever merchandise and goods they require. So far as this payment is concerned, you can find several available options having an shopping on-line merchants plus the consumers can decide any which they think is convenient for him or her.Once the transaction is positioned along with the settlement manner is selected, the particular webshop will get your best products shipped in the home on the consumers which way too, without the extra expense.An e-Shoppping store can be among the finest podium on the internet to purchase thigs such as Foods as well as Wines, Items as well as Bouquets, Tarts as well as Chocolate, Charge cards along with Sugars and all the other things that will make the conceit connected with an wonderful get together. As an example, may it be this Valentines Day as well as Moms Day, may it be someones Matrimony Anniversary maybe bithday, use the internet for many which you will want to get a rocking party and pay attention to the visible difference.You do not need to look anyplace; neither would you like to amble in diverse areas. Any webshop will be fully available to every person possesses created purchasing feasible inside not many moments. Thus, totally, the web based searching helps you to save lots of http://www.hermesbeltsbirkinkellybag.co.uk/ yours period, income and.

Comment by stephanieg915 2 days ago

Your point of view

You must be signed in to comment.