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

View network activity of any application or user in realtime

Terminal - View network activity of any application or user in realtime
lsof -r 2 -p PID -i -a
2010-03-16 20:37:16
User: zlemini
15
View network activity of any application or user in realtime

The "-r 2" option puts lsof in repeat mode, with updates every 2 seconds. (Ctrl -c quits)

The "-p" option is used to specify the application PID you want to monitor.

The "-u' option can be used to keep an eye on a users network activity.

"lsof -r 2 -u username -i -a"

Alternatives

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

I never get tired of lsof. really, what an awesome tool.

Comment by linuxrawkstar 357 weeks and 4 days ago

The world is stuffed with business men and also the folks who suffer from anxiety about marketing and advertising employment they must stop by at additional villages, urban centers and in many cases nations around the world regarding 7 days which should additionally be a single nights standard excursion. So they really call for a form of bag which needs to be easily handled therefore for him or her there was special design of Dunlop bags which a wonderful innovation to help who is individual that requirements these people.The Dunlop bag is easily easily transportable and is treated simply by hands since they give a lesser amount of living space to help keep matter since you just keep many cloths in it and some essential equipment that you just need in your life. These bags are also utilised institution along with college bags when they be capable of maintain large publication from it. They are include things like unique leather material that you know is a the most trusted goods for keeping you issue because they keep factors safe from normal water and other insects which mess up these people.History connected with Dunlop bagsThe Dunlop bags are usually comprised largely with the sporting activities men who must keep their actively playing http://www.hermesbeltsbirkinkellybag.co.uk/ methods inside it which enable it to take it any place for example in case you are cricket gambler then you've got to help keep headgear, hand protection and also other pads and many others so they supply you large area enemy hundreds of things. The actual Dunlop bags will be sports activities primarily based British isles manufacturers that has been bring in with 1928 specially with the athletics similar to tennis, lead pages and the game of golf. Your Dunlop bags less difficult popular among the particular well-known players within Nineteen seventies for you to Eighties although after that it become more are usually in industry.Dunlop bags may also be used by the people who daily exercise routine in gym they can keep their gloves and also drinking water package which require over the figure out you may also help you stay handkerchief from it to remove your perspire which had been cause resulting from weighty exercise.

Comment by stephanieg915 5 days ago

www.canadagoosefemmehomme2016.fr/mystique-canada-goose_343.html

www.canadagoosefemmehomme2016.fr/manteau-goose-canada-femme_149.html

www.canadagoosefemmehomme2016.fr/canada-goose-trillium_454.html

www.canadagoosefemmehomme2016.fr/canada-goose-parka_61.html

www.canadagoosefemmehomme2016.fr/canada-goose-vente_95.html

www.canadagoosefemmehomme2016.fr/ou-acheter-canada-goose_100.html

www.canadagoosefemmehomme2016.fr/canada-goose-banff_129.html

www.canadagoosefemmehomme2016.fr/lodge-hoody-canada-goose_133.html

www.canadagoosefemmehomme2016.fr/bomber-canada-goose_240.html

www.canadagoosefemmehomme2016.fr/canada-goose-rundle_453.html

www.canadagoosefemmehomme2016.fr/canada-goose-pbi_252.html

www.canadagoosefemmehomme2016.fr/chilliwack-canada-goose_485.html

www.canadagoosefemmehomme2016.fr/goose-canada-femme_476.html

www.canadagoosefemmehomme2016.fr/manteau-canada-goose-prix_332.html

www.canadagoosefemmehomme2016.fr/parka-canada-goose-pas-cher_358.html

www.canadagoosefemmehomme2016.fr/canada-goose-france-boutique_218.html

www.canadagoosefemmehomme2016.fr/canada-goose-outlet-france_122.html

www.canadagoosefemmehomme2016.fr/parka-canada-goose-soldes_241.html

www.canadagoosefemmehomme2016.fr/canada-goose-lodge_76.html

www.canadagoosefemmehomme2016.fr/canada-goose-femme-occasion_262.html

www.canadagoosefemmehomme2016.fr/acheter-canada-goose_446.html

www.canadagoosefemmehomme2016.fr/canada-goose-aviateur_449.html

www.canadagoosefemmehomme2016.fr/doudoune-femme-canada-goose_103.html

www.canadagoosefemmehomme2016.fr/canada-goose-toulouse_459.html

www.canadagoosefemmehomme2016.fr/ou-trouver-canada-goose_232.html

www.canadagoosefemmehomme2016.fr/canada-goose-foxe_91.html

www.canadagoosefemmehomme2016.fr/doudoune-canada-goose-enfant_83.html

Comment by sguerra376 2 days ago

http://www.canadagoosefemmehomme2016.fr/boutique-en-ligne-canada-goose_131.html

http://www.canadagoosefemmehomme2016.fr/la-canadienne-canada-goose_294.html

http://www.canadagoosefemmehomme2016.fr/canada-goose-paris_394.html

http://www.canadagoosefemmehomme2016.fr/canada-goose-grise-femme_269.html

http://www.canadagoosefemmehomme2016.fr/blouson-canada-goose-homme_467.html

http://www.canadagoosefemmehomme2016.fr/fourrure-canada-goose_70.html

http://www.canadagoosefemmehomme2016.fr/prix-canada-goose-new-york_215.html

http://www.canadagoosefemmehomme2016.fr/canada-goose-chilliwack-homme_298.html

http://www.canadagoosefemmehomme2016.fr/canada-goose-new-york-price_202.html

http://www.canadagoosefemmehomme2016.fr/parka-chateau-canada-goose_94.html

http://www.canadagoosefemmehomme2016.fr/manteau-type-canada-goose_369.html

http://www.canadagoosefemmehomme2016.fr/canada-goose-outlet_132.html

http://www.canadagoosefemmehomme2016.fr/canada-goose-chelsea_326.html

http://www.canadagoosefemmehomme2016.fr/canada-goose-pas-cher-femme_305.html

http://www.canadagoosefemmehomme2016.fr/canada-goose-prix-canada_277.html

http://www.canadagoosefemmehomme2016.fr/canada-goose-trillium_454.html

http://www.canadagoosefemmehomme2016.fr/selkirk-canada-goose_77.html

http://www.canadagoosefemmehomme2016.fr/canada-goose-chilliwack-enfant_431.html

http://www.canadagoosefemmehomme2016.fr/survetement-canada-goose_356.html

http://www.canadagoosefemmehomme2016.fr/magasin-canada-goose-france_216.html

http://www.canadagoosefemmehomme2016.fr/blouson-aviateur-canada-goose_299.html

http://www.canadagoosefemmehomme2016.fr/canada-goose-solaris_107.html

http://www.canadagoosefemmehomme2016.fr/destockage-canada-goose_286.html

Comment by sguerra376 2 days ago

Your point of view

You must be signed in to comment.