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

Decode base64-encoded file in one line of Perl

Terminal - Decode base64-encoded file in one line of Perl
openssl base64 -d < file.txt > out
2010-12-14 00:23:12
User: putnamhill
2
Decode base64-encoded file in one line of Perl

Another option is openssl.

Alternatives

There are 2 alternatives - vote for the best!

Terminal - Alternatives
perl -MMIME::Base64 -ne 'print decode_base64($_)' < file.txt > out
2010-12-13 23:35:20
User: dmmst19
Functions: perl
2

If you are in an environment where you don't have the base64 executable or MIME tools available, this can be very handy for salvaging email attachments when the headers are mangled but the encoded document itself is intact.

Know a better way?

If you can do better, submit your command here.

What others think

Eileen Kors, a champion custom made for some Many years, is definitely most ideal learn for creating amazing U . s . sports wear from cost effective charges. For very long situations, he's got actually widened their line of product to characteristic high-fashion garments, footwears as well as units with regard to mens business women * that contains amazing watches.Whatever your variety will be,or Marc Ecko watch, typically go with a well known outlet which may promise excellent top rated excellent as well as toughness. Build your person a contented who owns most of these fashionable wristwatches to make their evening.Marc Ecko timepieces have got truly constantly been recently a status signal and this also novelty will be displaying a great in place expansion year after year. These kinds of clearly popular wristwatches can be found in different styles, models, tones as well as supplies. Their merchandise includes wrist watches of product like rare metal, gold, american platinum eagle in addition to titanium. Marc Ecko timepieces comes with a broad variety of men's watches that are the two challenging and excellent. If the man suches since breakable wrist watches up coming, you can be surprised by the possibility furnished by this particular name brand. Decide on view within your favourite colour in addition to metallic variety as well as present any loved watch for a lover.If that you are discovering developer purses pertaining to through by yourself and for re-sale and don't demonstrate to pay for expensive expenses, you can find a lot of picks. A superb offer you regarding designer bags usually are pleasantly provided in a variety of methods and they don't function supplying upwards a new a few months salary to get these individuals. Conform to the particular ideas shown in this article to determine simply how we may get economical Handbags handbags in a selection associated with retail shops.Work Driveway sponsor Heidi Klum guarantees to be kindlied while the woman seess bag solutions in 2010. Thanks to the high-rating reality Television series, is definitely swift learning to be a property name pertaining to American style. His latest handbag assortment exhibits an in depth range of variations from zebra-striped carry bags to customized grip regarding stylishly enterprise girls that are continually traveling. Previous possibilities just http://www.hermesbeltsbirkinkellybag.co.uk/ like dangling custom logo attraction continue to be included.Amidst the number of on the internet electric sites, this usually gets challenging to look for a reputabled place consisting of limitless assortment of premium instructions, using various models as well as forms, together with impose reasonably priced price about them. Particularly, when you find yourself obtaining to receive Shoes with North america you need to make sure that the online store retains a superb track record in addition to market segments initial solutions instead of the repeat people. You need to absolutely furthermore be sure that there are no variance inside genuine cost of the sneakers while offered in the company internet sites in addition to website. In the abiding by grammatical construction, we're going to surely supply you with a lot of in the straightforward approaches that may absolutely make it easier to find the really suitable deals while getting Athletic shoes within Europe.Booties are visiting become a significantly dominant phenomenon in ladies footwears, along with spring year This year, open-toed women pumps come in! The actual open-toed booties supply air circulation, keeping your tootsies by receiving likewise toasty, even though on the distinct exact same occasion including page layout for a rearfoot. Very stylish fashion title is actually Dolce Vita, while using environment aside Joey Rearfoot Trunk as well as the Vince Squeak Toe of the feet Heels. The actual Joey Ankle joint Boot comes with a basic as well as simple design, which has a fold-down belt to get a sacrificing associated with panache. Around the a few other give, the actual Vince Squeak Toe of the feet Boots add flavor with an easier outfits using their complicated buckle fine detail.Continuously always be faraway from genuinely dim inside color ceramic ceramic tile during the entire bathroom. Although this item will be observed outstanding as well as coordinate well with fantastic illustrates, skin cleansing is just rather stressful. Picture via detoxification broker and variations by way of water vapor might already have your own floor wine glass porcelain flooring in search of disgusting naturally connected with regardless of whether you could maybe only cleaned they will. Decide on much less very much far better shaded porcelain ceramic tiles to obtain a clear completely very good Handbags visual appeal mainly toilet.

Comment by stephanieg915 1 day ago

As everyone knows, searching bags are important for folks once they go on a spree; The Plastic material shopping bags are the many everywhere buyer objects that is known. Plastic-type material shopping bags tend to be day-to-day consumables; China's once-a-year consumption of a huge number of plastic buying bags. However the shopping bags currently have introduced quite a few easily pertaining to parents lifestyle, it can't are not able to environmental surroundings contamination. Seeing that a lot of using plastic-type bags is responsible for significant bright pollution and wasted assets, therefore your federal government motivates us all to work with environment-friendly buying bags, including the paper searching bags and also the textile food market bags.Disposable plastic-type bags ended up once widespread within The far east. Once we proceeded to go purchasing at food markets as well as sectors merchants, purchasing helpers typically presented free plastic-type material bags for all our ease. However when individuals discovered that this plastic-type bags are bad for the environment and cannot always be remade, the us govenment uses a group of tangible methods to relieve use of the particular plastic bags, hence the Plastic-type material looking bags aren't no cost.When people see a supermarket, believe that it truly is troublesome to bring a new looking bag. Some individuals perhaps assume that the actual plastic-type material bags are usually inexpensive, they could manage to pay for. Abruptly, this place smaller activity can actually possesses good affect on environmental surroundings. The research workers seen that the particular plastic-type bags are usually http://www.hermesbeltsbirkinkellybag.co.uk/ non-biodegradable, which results in becoming horrid for your atmosphere, specially when they will understand into the ocean along with lakes. The particular Plastic bags will be split up in to small and scaled-down noxious pieces with the light, damaging land along with waterways in addition to entering the food internet whenever creatures unintentionally consume. Usually,particularly involving coping with the spend plastic-type material bags are landfill; Excessive thickness polyethylene plastic material bags won't break down following your smothered subterranean for many years. Due to this, right now across the world start to utilize the actual "plastic restriction order" to cut back using this plastic along with slow up the harm to the surroundings.It is often identified the document , a type of means, which may be reprocessed.Consequently people transformed their particular points of interest within the newspaper searching bags. The development product regarding newspaper bag is woods; the particular tree is really a alternative useful resource. Apart from, the attributes from the bio-degradable, recyclable.Hence the community feel the best choice will be the papers shopping bags, although yearly quite a few timber will be lessen in order to merchandise the particular document bags, containing brought about irreparable harm to the world environment. And so document in addition to plastic material are both low-quality selections.In to defend environmental surroundings, individuals always begins varying your purchasing behavior currently. Bring your personal reusable fabric bags whenever you are shopping. Find discount coupons to purchase paper bags to economise and lower air pollution.

Comment by stephanieg915 1 day ago

Your point of view

You must be signed in to comment.