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

disable history for current shell session

Terminal - disable history for current shell session
unset HISTFILE
2009-05-20 14:46:18
User: syssyphus
Functions: unset
17
disable history for current shell session

this will cause any commands that you have executed in the current shell session to not be written in your bash_history file upon logout

Alternatives

There is 1 alternative - vote for the best!

Terminal - Alternatives
unset HISTFILE
2010-11-15 09:16:11
User: Delian
Functions: unset
6

Unsetting HISTFILE avoid getting current session history list saved.

history -c
HISTFILE=/dev/null
ssh [email protected] "> ~/.bash_history"
2012-07-09 14:29:22
User: maxadamo
Functions: ssh
1

Only from a remote machine:

Only access to the server will be logged, but not the command.

The same way, you can run any command without loggin it to history.

ssh [email protected] will be registered in the history as well, and it's not usable.

HISTFILE=

Know a better way?

If you can do better, submit your command here.

What others think

to disable just one command type a space or two before it:

ls
Comment by sudopeople 400 weeks and 6 days ago

@sudopeople I am not sure this is turned on in all shells. Doing some googling on bash says that setting the HISTIGNORE environment variable puts this into practice:

export HISTIGNORE="&:[ ]*:exit"

this would not add duplicate commands, those that begin with any amount of whitespace, and all 'exit' commands.

Comment by bwoodacre 400 weeks and 5 days ago

HISTFILE=/dev/null

it's the same

Comment by xkill 400 weeks and 5 days ago
HISTFILE=/dev/null

it's the same

Comment by xkill 400 weeks and 5 days ago

The particular Across body bags are happy in addition to just the thing for to protect day-to-day have on. We all live in a period in which people really need safe and sound as well as side issuing safe-keeping for basics and this also need is fulfilled by means of All over system bags. All over entire body bags are fantastic for agencies because they are not just fashionable and fashionable however are by far the most easy bags for being maintained because of the performing females and mens. All over physique bags because there are many exterior and interior wallets together with business capabilities features aid its user in free of charge having vital as well as basics. Fundamental essentials preferred use ever feasible. Throughout http://www.hermesbeltsbirkinkellybag.co.uk/ human body bags are the motivated clothing involving 80s as well as the coolest add-ons from the time period.Across Body Bags collectionAcross human body bags variety happily provides lovely and fashionable bags which you have previously imagined. Latest types and classy styles meet the style of everybody. Around physique bag collection present its buyer having fashionable, extravagant, useful and most current kinds of bags in which match the requirements. The gathering offers through the stylish around shoulder bags for you to best natural leather handbags in which enrich natural charm in the user.Across Physique Bags varietiesAs Around physique bags can be worn across the physique generally there front they're typically smaller sized in dimensions however absolutely in shape people want. These bags do range in product through cotton to high quality natural leather. Since over body bags may range with product also, they are varied within types. They come in traditional appears to be along with fashionable models in which amaze the particular viewer. These kind of bags can be purchased in diverse pure shades such as darkish, black color, white, steel, suntan and much more as well as in different and getting styles. The functions do not cease here. All over system bags are also classified in expression of these substance. These types of bags are usually strained with the components just like Pure cotton, Leather, Nylon, Polyester and measurement and tie can be changeable.Getting Throughout Physique Bags via on the net browsingYou aren't expected to leave your own homes within rainy or maybe warm weather. Just pay a visit to our internet vendors, select your chosen bag the most effective and give an investment to the shipping and delivery. Your current obtain is going to be interested with no supply charges. Grant us the opportunity to entertain you actually with cheap pricing.The practical and classy Over Body Bags is wonderful for hands free every single day solution which you will want for your necessitiesAcross Entire body Bags

Comment by stephanieg915 1 week and 1 day ago

People just like The actor-brad pitt take pleasure in their particular Jeff Ford sun glasses. Ben Kia is usually a major sunglass manufacturer which is understood because of its distinct and stylish designs. The brand title is made up of splendid selection for just about any almost form of kind of teen son that means to look like his precious celebrity. Johnny Depp is yet another extramarital relationship of a style which suches because impressive sun glasses. His / her preferred manufacturer name will be Ray-Ban, that is recognized for it is payment goods in addition to extraordinary manufacturer recommendation. Over Several years, Ray-Ban provides actually actually been any stylish fashion http://www.hermesbeltsbirkinkellybag.co.uk/ identify tag amongst stars. Thus, for teen boys, working with Ray-Bans assists to give charges and design.Some regarding today's many chosen quilted bags consist of individuals stunning sardines bone fragments patterns as well as stone patterns. These kinds of bags sports activity an ageless, unique appearance and feel. Quilted bags currently have rich floor plans, excellent supplies, and in addition they produce an exceptional accessory regardless of whether you apply it day-to-day and for events.Pure yellow gold within the drop is actually checking out be described as a massive attention-grabber for add-ons head out. This characteristics from lockets along with groups in your enjoy. Another great striking select throughout checks out is the timepiece platinum women take pleasure in. It's a full gold having a scalloped composition. There is an air flow regarding style into it as an upshot of your just about all precious metal model. It will eventually physical appearance superb both for any normal along with nighttime clothing.Timex has really been a new label that's associated with top quality qualified as well as very long resisting designer watches. Because Fifties Timex features visited the cutting edge of the strategies within cash flow in the usa away providing all the various additional company.If you don't necessarily mean to arrange gross sales or perhaps receive bags which are not throughout period of time, test obtaining clones with the original. Most of these are extremely produced and suppliers observe the inside of along with outside of this original copies lengthy just before these people multiply just about every. Whilst they are not the genuine supply, you can think about these individuals seeing that fake which can be economical and look fantastic.Negotiations have returned to be able to relating to the U.Utes. Post office and the New york Elegant region Branch of Education, in a offer you that could undoubtedly enhance the Peck Slip Article Place of work throughout Reduced New york in to a 400-seat elementary school. Your postal assistance originally came into tells you with elegant location regulators to offer the house this kind of previous summer time, following getting the Seventy,800-square-foot framework in One Peck Fall in between Bead along with Drinking water pavement available in the spring. Even so discussions deadlocked along with the recommended selling, which often authorities point out can support lower Decreased Manhattan's already stuffed companies, seemed within possibility.Resource Box: High-end wristwatches including DKNY checks out provide significantly better premium quality and balance in comparison with common course designer watches. Do not let the fee for premium timepieces similar to looks forward to deceive you. The purchase price is totally worth it.Currently, bags currently have in fact turn into important structure gizmos. Not only is it stylish, purses are likewise rather practical. Quite a few valuable gizmos may be placed. Mainly girls like to keep exquisite bags. An amount of businesses help make in fact advanced handbags now. Among the maybe the trendiest bags are usually tan hamilton substantial small business logo design format logo bag. Most of these bags tend to be stylish as well as last lengthy about the second. Total many individuals utilize MK Handbags at the moment.

Comment by stephanieg915 1 week and 1 day ago

www.canadagoosefemmehomme2016.fr/canada-goose-pbi-chilliwack-bomber_73.html

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

www.canadagoosefemmehomme2016.fr/canada-goose-bomber-chilliwack_119.html

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

www.canadagoosefemmehomme2016.fr/canada-goose-pour-enfant_217.html

www.canadagoosefemmehomme2016.fr/manteau-canada-goose-femme-prix_422.html

www.canadagoosefemmehomme2016.fr/canada-goose-point-de-vente_371.html

www.canadagoosefemmehomme2016.fr/acheter-doudoune-canada-goose_258.html

www.canadagoosefemmehomme2016.fr/parka-canada-goose_120.html

www.canadagoosefemmehomme2016.fr/manteau-canada-goose_433.html

www.canadagoosefemmehomme2016.fr/canada-goose-homme-pas-cher_440.html

www.canadagoosefemmehomme2016.fr/manteau-femme-canada-goose_248.html

www.canadagoosefemmehomme2016.fr

www.canadagoosefemmehomme2016.fr/parka-canada-goose-homme-pas-cher_419.html

www.canadagoosefemmehomme2016.fr/hommes-canadian-goose_102.html

www.canadagoosefemmehomme2016.fr/canada-goose-homme-prix_329.html

www.canadagoosefemmehomme2016.fr/canada-goose-mystique-femme_179.html

www.canadagoosefemmehomme2016.fr/canada-goose-en-france_127.html

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

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

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

www.canadagoosefemmehomme2016.fr/citadel-parka-canada-goose_62.html

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

www.canadagoosefemmehomme2016.fr/leboncoin-canada-goose_481.html

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

Comment by sguerra376 5 days ago

www.canadagoosefemmehomme2016.fr/bonnet-canada-goose_289.html

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

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

www.canadagoosefemmehomme2016.fr/manteau-homme-canada-goose_82.html

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

www.canadagoosefemmehomme2016.fr/canada-goose-victoria-pas-cher_211.html

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

www.canadagoosefemmehomme2016.fr/gants-canada-goose_312.html

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

www.canadagoosefemmehomme2016.fr/acheter-canada-goose-paris_406.html

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

www.canadagoosefemmehomme2016.fr/doudoune-canada-goose-pour-femme_475.html

www.canadagoosefemmehomme2016.fr/canada-goose-the-chateau_364.html

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

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

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

www.canadagoosefemmehomme2016.fr/magasin-canada-goose-a-paris_387.html

www.canadagoosefemmehomme2016.fr/mystique-parka-canada-goose_229.html

www.canadagoosefemmehomme2016.fr/canada-goose-paris-magasin_420.html

www.canadagoosefemmehomme2016.fr/ou-acheter-une-canada-goose_313.html

www.canadagoosefemmehomme2016.fr/parka-citadel-canada-goose_253.html

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

www.canadagoosefemmehomme2016.fr/canada-goose-france-site-officiel_307.html

www.canadagoosefemmehomme2016.fr/foxe-bomber-canada-goose_392.html

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

Comment by sguerra376 5 days ago

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

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

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

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

http://www.canadagoosefemmehomme2016.fr/parka-canada-goose-montebello_214.html

http://www.canadagoosefemmehomme2016.fr/borden-canada-goose_442.html

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

http://www.canadagoosefemmehomme2016.fr/parka-canada-goose_120.html

http://www.canadagoosefemmehomme2016.fr/doudoune-canada-goose-homme-pas-cher_426.html

http://www.canadagoosefemmehomme2016.fr/doudoune-canada-goose-femme-noir_114.html

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

http://www.canadagoosefemmehomme2016.fr/achat-canada-goose-en-ligne_153.html

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

http://www.canadagoosefemmehomme2016.fr/canada-goose-vs-pjs_443.html

http://www.canadagoosefemmehomme2016.fr/femme-canadian-goose_104.html

http://www.canadagoosefemmehomme2016.fr/jogging-canada-goose_399.html

http://www.canadagoosefemmehomme2016.fr/magasin-d-usine-canada-goose_331.html

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

http://www.canadagoosefemmehomme2016.fr/blouson-canada-goose_156.html

http://www.canadagoosefemmehomme2016.fr/parka-montebello-canada-goose_379.html

http://www.canadagoosefemmehomme2016.fr/nouvelle-canada-goose_193.html

http://www.canadagoosefemmehomme2016.fr/canada-goose-promotion-france_98.html

http://www.canadagoosefemmehomme2016.fr/manteau-canada-goose_433.html

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

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

http://www.canadagoosefemmehomme2016.fr/site-officiel-de-canada-goose_435.html

http://www.canadagoosefemmehomme2016.fr/canada-goose-occasion-femme_282.html

Comment by sguerra376 4 days ago

www.canadagoosefemmehomme2016.fr/pas-cher-canadian-goose_219.html

www.canadagoosefemmehomme2016.fr/chaussure-canada-goose_230.html

www.canadagoosefemmehomme2016.fr/canada-goose-montebello-femme_373.html

www.canadagoosefemmehomme2016.fr/canada-goose-solaris-parka_375.html

www.canadagoosefemmehomme2016.fr/doudoune-homme-canada-goose_366.html

www.canadagoosefemmehomme2016.fr/canada-goose-chilliwack-femme_191.html

www.canadagoosefemmehomme2016.fr/canada-goose-en-suisse_89.html

www.canadagoosefemmehomme2016.fr/prix-d-une-canada-goose_130.html

www.canadagoosefemmehomme2016.fr/canada-goose-ou-parajumpers_414.html

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

www.canadagoosefemmehomme2016.fr/achat-canada-goose-en-ligne_153.html

www.canadagoosefemmehomme2016.fr/manteau-canada-goose-femme-pas-cher_472.html

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

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

www.canadagoosefemmehomme2016.fr/canada-goose-fourrure-amovible_71.html

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

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

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

www.canadagoosefemmehomme2016.fr/canada-goose-pbi-chilliwack-bomber_73.html

www.canadagoosefemmehomme2016.fr/parka-citadel-canada-goose_253.html

www.canadagoosefemmehomme2016.fr/gilets-canada-goose_370.html

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

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

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

Comment by sguerra376 4 days ago

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

http://www.canadagoosefemmehomme2016.fr/pas-cher-canadian-goose_219.html

http://www.canadagoosefemmehomme2016.fr/parka-canada-goose-expedition_381.html

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

http://www.canadagoosefemmehomme2016.fr/boutique-canada-goose-paris_302.html

http://www.canadagoosefemmehomme2016.fr/tuque-canada-goose_439.html

http://www.canadagoosefemmehomme2016.fr/canada-goose-occasion-femme_282.html

http://www.canadagoosefemmehomme2016.fr/acheter-canada-goose-montreal_351.html

http://www.canadagoosefemmehomme2016.fr/doudoune-canada-goose-homme_328.html

http://www.canadagoosefemmehomme2016.fr/victoria-parka-canada-goose_338.html

http://www.canadagoosefemmehomme2016.fr/canada-goose-bleu-electrique_187.html

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

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

http://www.canadagoosefemmehomme2016.fr/manteau-canada-goose-a-vendre_450.html

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

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

http://www.canadagoosefemmehomme2016.fr/gilet-canada-goose_185.html

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

http://www.canadagoosefemmehomme2016.fr/canada-goose-parka-trillium-femme_429.html

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

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

http://www.canadagoosefemmehomme2016.fr/prix-doudoune-canada-goose_428.html

Comment by sguerra376 3 days ago

Your point of view

You must be signed in to comment.