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

Delete a certificate from the macOS security keychain

Terminal - Delete a certificate from the macOS security keychain
sudo security delete-certificate -c 1000-sans.badssl.com
2017-04-06 01:40:04
User: lgarron
Functions: sudo
0
Delete a certificate from the macOS security keychain

Use `security list-keychains` to find possible keychains, and `security dump-keychain` to look for certificates.

`sudo security delete-certificate` without arguments shows options for removing: by common name or by SHA-1 hash.

This is especially useful if a certificate locks up Keychain Access.app, which happens for certificates with many SANs in macOS 10.12.

Found via: http://stackoverflow.com/a/16019443

Alternatives

There are 2 alternatives - vote for the best!

Terminal - Alternatives

Know a better way?

If you can do better, submit your command here.

What others think

http://my.fool.com/profile/Ericl53/activity.aspx

https://breakpoint.io/users/initanex1978/

https://java.net/people/1226929-aderesex1977

http://www.carepages.com/users/8217632/profile

https://gna.org/people/resume.php?user_id=22632

http://www.sparknotes.com/account/procvandimo1980

http://community.thomsonreuters.com/t5/user/viewprofilepage/user-id/411620

http://www.apsense.com/user/alumwebmars1978

http://www.authorstream.com/alumwebmars1978/

http://czwlwz.chaozhou.gov.cn/JForum/user/profile/124362.page

https://forums.createspace.com/en/community/people/chercorexan1979

https://everplaces.com/tranunualal1988

https://www.givology.org/~grannorthvercha1976/

http://www.hellocoton.fr/mapage/fifecherumb1978

http://www.informationweek.com/profile.asp?piddl_userid=250602

https://www.intensedebate.com/people/tercodeland1978

https://issuu.com/ficcorile1971

https://community.linksys.com/t5/user/viewprofilepage/user-id/807653

http://www.lookuppage.com/users/jamesyates1/

http://www.mapleprimes.com/users/boiteregu1974

https://storify.com/windfivoni1983

https://argisnoni1983.today.com/

http://www.unsigned.com/kiduswayra1974

http://www.vodkaster.com/vildikume1982

http://www.bookcrossing.com/mybookshelf/roughsafeli1986/

https://klout.com/~970525733406048431

Comment by monster99 2 weeks and 6 days ago

http://www.rdatoolkit.org/user/176851/

http://www.koinup.com/ringfepire1984/skills/

http://www.nature.com/protocolexchange/labgroups/839565

http://www.hellocoton.fr/mapage/franovulri1985

http://www.authorstream.com/lididconfdan1975/

https://www.symantec.com/connect/user/angie-jones

http://www.unsigned.com/zanaphophe1989

http://www.vodkaster.com/riotelibis1985

https://everplaces.com/riotelibis1985

http://www.apsense.com/user/faitacoordlis1984/experience?id=37551

https://www.givology.org/~faitacoordlis1984/

https://www.intensedebate.com/people/kindtarbici1984

https://klout.com/~970525733406045034

http://www.bookcrossing.com/mybookshelf/fordsilousbe197/

http://www.tinkuy.fr/membres/amstrong88

http://www.folkd.com/user/dikser89

http://freetexthost.com/hkhulotqj4

http://www.questionpro.com/a/TakeSurvey?id=5565319

http://social.wikitechguru.com/2017/03/18/free-xbox-live-codes-unlimited-amount-grab-it/

http://www.kompasiana.com/nomapari

http://social.wikitechguru.com/2017/03/18/instagram-followers-and-like-ondemand-service-real-market/

http://cms-twiki.indiatimes.com/TWiki/bin/view/Main/MikeJoseph

https://torgi.gov.ru/forum/user/profile/340177.page

http://www.plupload.com/punbb/profile.php?id=55030

https://savannah.nongnu.org/people/resume.php?user_id=108159

https://kdp.amazon.com/community/profile.jspa?userID=1507932

http://www.icsi.edu/capitalmarketweek/UserProfile/tabid/4706/userId/690287/Default.aspx

http://forum.support.xerox.com/t5/user/viewprofilepage/user-id/183987

https://www.openstreetmap.org/user/bitamsina1975

Comment by monster99 2 weeks and 6 days ago

I enjoyed on reading your blog post. Your blog has a lot of useful information for me, I got good ideas from this great blog. I'm always looking for this type of blog post. I hope I will be reading more of your posts further.

http://uspstrackingmap.com

Comment by windowok 1 week and 3 days ago

Your point of view

You must be signed in to comment.