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.

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:



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!

Top Tags





Maintained by Jon H.

Site originally by David Winterbottom (user root).

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

Create an ISO Image from a folder and burn it to CD

Terminal - Create an ISO Image from a folder and burn it to CD
hdiutil makehybrid -o CDname.iso /Way/to/folder ; hdiutil burn CDname.iso
2009-02-25 17:46:59
User: vranx
Create an ISO Image from a folder and burn it to CD

Create an ISO Image from a folder and burn it to CD (Os X)


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

Could we flag this OSX specific stuff somehow? I understand that it is a flavor of unix and a legitimate addition here (unlike windows crap), but when something uses a OSX only extension (hdiutils) to a OSX only framework (DiskImages) it is useful to know that without looking it up. Outside of OSX, it seems that the vast majority of commands can reasonably be expected to run on any flavor of unix -- the only problem is if a particular package is installed -- and for the most part, all the packages are reasonable 'core' and tend to be installed everywhere I check.

Comment by ozymandias 416 weeks and 4 days ago

It ist flagged, or better tagged, as Os X, as it is proposed: "For instance, if this commands needs a certain shell or OS, use these as tags."

Maybe you have a better proposal to handle Os specific commands?

Comment by vranx 416 weeks and 4 days ago

Since the tags don't currently show on the main page, perhaps adding something like that to the description.

Comment by ozymandias 416 weeks and 4 days ago

Hmm, strange. I can see the Tags on the main page, logged in as well as logged out.

Comment by vranx 416 weeks and 4 days ago

I can confirm that no tags are displayed in the front page.

Not that I can see, at least :-)

Comment by fedesilva 416 weeks and 4 days ago

fedesilva, same here.

Comment by ozymandias 416 weeks and 4 days ago

Don't you see a sidebar at the right side, with sections like "stay in the loop", "news", "TAGS", "Popular Functions"?

Comment by vranx 416 weeks and 3 days ago

vranx, sure, I see those. I see *no* indication on the front page that those are tied to any particular command. Instead, they appear to be a navigational aid that helps me navigate the cloud of tags on the site. If I wanted to look for the commands that have a particular tag, that would be great. Instead, I am looking at the frontpage, and I am seeing a bunch of commands, many of which are inapplicable in an way. It would be nice to see on each command a listing of the tags applied to it, and be able to add more tags myself. That way, I could see at a glance that people got it to work on other systems, or if it is a silly mac thing.

Perhaps, in the future, I could filter what I see, and avoid seeing things that are confirmed mac-only commands.

Comment by ozymandias 416 weeks and 3 days ago

You can Create an ISO Image from a folder by using this http://www.imediacreator.com/mac-dvd-creator-standard.html#131">DVD Folder to ISO Burner.

Comment by waterfly99 384 weeks and 3 days ago

Your point of view

You must be signed in to comment.