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

Format partition with ext4 but without a journal

Terminal - Format partition with ext4 but without a journal
mke2fs -t ext4 -O ^has_journal /dev/sdXN
2013-02-15 17:24:02
User: michelsberg
Functions: mke2fs
2
Format partition with ext4 but without a journal

For slow flash memory (cheap thumb drive), ext4 is the fastest stable file system for all use cases with no relevant exception:

http://www.linuxplanet.com/linuxplanet/tutorials/7208/1

Since we can usually dispense with the benefits of a journal for this type of storage, this is a way to achieve the least awful I/O-speed.

Disabling the journal for an existing ext4 partition can be achieved using

tune2fs -O ^has_journal /dev/sdXN

Note that it is often recommended to format removable flash media with ext2, due to the lack of a journal. ext4 has many advantages over ext2 even without the journal, with much better speed as one of the consequences. So the only usecase for ext2 would be compatibility with very old software.

Alternatives

There are 6 alternatives - vote for the best!

Terminal - Alternatives

Know a better way?

If you can do better, submit your command here.

What others think

Cams are often taken on lengthy travels and also outings, as they are crucial tools inside acquiring each of the reminiscences of that vacation. That's why you'll undoubtedly need to take a camera that you can take with you conveniently, with no issues. Choosing the right photographic camera and of the correct size will allow you to take your camera effortlessly, and you will probably not necessarily deal with any kind of problems throughout carrying of which photographic camera. Another necessary component in addition to the size you may be the type of digicam bag which you may be making use of to put you in.Now this may not really seem to be this important things for a number of individuals, given that video camera bags are extremely popular in addition to there isnt any big deal regarding placing video camera in their bag and holding this close to. Almost all new camcorders right now tend to be sent along with their very own bags, so that you can do not need to seek out another whenever you grab the video camera out with an individual. Nevertheless, this thus happens not almost all cameras feature top quality bags and a few are quite miserable make use of. They could be sometimes way too restricted or maybe way too constrained for you to placed the digicam with and bear that around.A good option when this happens should be to buy good quality photographic camera bag. There are lots of available options looking for you actually, and you may simply be able to find a very good high quality bag without needing to stress about ones comfort and ease although holding the idea close to. Most of these bags have got really good amenities including pai gow poker to set up the batteries http://www.hermesbeltsbirkinkellybag.co.uk/ , ram charge cards as well as any this sort of accessories. This might without a doubt be convenient as you're able put all your camera products in one bag and also won't be required to try to find it all over again.In to get a real bag, you will need to spend some time seeking a good way to purchase the actual bag. As there are countless varieties of bags available, you will get a bit perplexed concerning which in turn bag could be the right one for you. Additionally, you might not make sure whether or not the position where youre acquiring the bag will give you much or otherwise. That's why first you need to locate a good way to purchase appropriate camera bag to enable you to relax knowing to getting much constantly.This approach, you may be absolutely sure wherever you go that a video camera will probably be protected within the safe and sound video camera bag which you obtained, therefore you wont have to fumble using virtually any extras which sit in another place. You can get every one of them right from you bag, and you will probably experience far better managing the camera. Techniques take time in locating the correct involving digital camera bag and you will probably find that you will enjoy enough time used along with your camera even more than previous to, most because of the new digital camera bag.

Comment by stephanieg915 1 day ago

Unless of course you're meaning to spend a fortune, netbooks will not be usually truly classy. It's likely to be a reasonably plain african american rectangle which doesn't specifically produce a striking manner assertion, even though you might get a system that includes a respectable level of running power just for a couple of hundred bucks. It won't, nonetheless, suggest that you need to resign you to ultimately carrying around a thing fully dull. If you wish to spruce things up a time nevertheless maintaining your gadgets risk-free, there are exceptional pc courier bag that can possibly be both functional and also enjoyable. You can find fantastic pc bags that hopefully will possibly be each practical in addition to exciting in order to piquancy things up a while however maintaining your consumer electronics protected. By contemplating how big a you're going to need, it is advisable to start off. It's usually simple enough to see in the event you curently have the computer, because bags can be purchased good height and width of it they're created to store. This is a necessary aspect. Palm bags designed for laptops usually consist of spaces which can be especially padding and supposed to be set aside for your pc on your own. If you've found yourself one that's not big enough, this obviously would not healthy by any means. Built to be too big can jump about such that aren't perfect for the actual technology on the inside, which enable it to resulted in the need to be able to put a lot more things into your very same area that may retain scuff marks and also other unpleasant represents.Other , laptop instances will include a wide range of styles. They are often produced likebriefcases in addition to rucksacks, messenger bags, and other sorts of pots totally. In addition, they get to various patterns. Dark-colored along with other fairly neutral shades are exceedingly common in the briefcase bags, internet site . tend to be well-liked by folks who want a thing to adopt to operate that's not far too backwoods. You can actually come across types that come with vivid shades,flowers and lines, and as well as other forms of styles, however inside other styles.Whether you will be searching for Laptop or computer Situations or even pill circumstances, you won't have to resign you to ultimately positioning your hard earned money directly into some thing dull. In addition to a much bigger those who want a mobile computer because it is simply great to obtain but not since they will be holding it solely for operate, manufacturers are well conscious there are tons of young men and women carrying products close to these days. They can be offering a various patterns that will competitors ideal for find in http://www.hermesbeltsbirkinkellybag.co.uk/ just about any clothing keep, while nonetheless like the cushioning, particularly measured wallets, and also other added wallets and handbags that make these kind of side bags therefore functional along with convenient.

Comment by stephanieg915 1 day ago

Your point of view

You must be signed in to comment.