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.

UpGuard checks and validates configurations for every major OS, network device, and cloud provider.
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

Analyse a PHP file for instantations and static calls

Terminal - Analyse a PHP file for instantations and static calls
grep -o "\(new \(\w\+\)\|\w\+::\)" file.php | sed 's/new \|:://' | sort | uniq -c | sort
2009-01-26 12:08:47
User: root
Functions: grep sed sort uniq
-2
Analyse a PHP file for instantations and static calls

This grabs all lines that make an instantation or static call, then filters out the cruft and displays a summary of each class called and the frequency.

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

Not really everybody cherished the actual appears from the http://www.bestreplicawatchuk.co.uk/ rolex replica uk. That is good. Not really most people are the Breitling enthusiast, however I'll state how the much more http://www.hublotreplicauk.co.uk/ fake hublot period We discover that individuals obtain along with Breitling wrist watches, the greater these people turn out to be http://www.loweryweb.co.uk/CSOT/csotold.htm tag heuer replica. Personally, i was not an enormous enthusiast associated with Breitling at first however following investing plenty of time using their items, We http://www.gwyneddsands.co.uk/aboutus.htm cartier replica uk value the reason why the actual manufacturer is really as prosperous since it is actually. You are able to don't agree if you want, however I love lots of http://www.warham.org.uk/whois.html fake rolex sale what the actual manufacturer will, even though a number of their own http://www.rolexreplica.me.uk/ rolex replica uk tend to be much like one another as well as you will find items within their selection which i would not individually put on. The actual http://www.rolex-replica-uk.co.uk/ rolex replica uk doesn't dissatisfy. Within the watch is really a Breitling quality twenty-four that is simply their own method of stating the http://www.chris-wilkinson.co.uk/land.html rolex replica sale automated chouronograph.

Comment by hoowei 29 weeks ago

Your point of view

You must be signed in to comment.