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.


If you have a new feature suggestion or find a bug, please get in touch via http://commandlinefu.uservoice.com/

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.

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

2011-03-12 - Confoo 2011 presentation
Slides are available from the commandlinefu presentation at Confoo 2011: http://presentations.codeinthehole.com/confoo2011/
2011-01-04 - Moderation now required for new commands
To try and put and end to the spamming, new commands require moderation before they will appear on the site.
2010-12-27 - Apologies for not banning the trolls sooner
Have been away from the interwebs over Christmas. Will be more vigilant henceforth.
2010-09-24 - OAuth and pagination problems fixed
Apologies for the delay in getting Twitter's OAuth supported. Annoying pagination gremlin also fixed.
Hide

Tags

Hide

Functions

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
3
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)

Alternatives

There is 1 alternative - 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 296 weeks and 1 day 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 296 weeks and 1 day ago

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

Comment by ozymandias 296 weeks and 1 day ago

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

Comment by vranx 296 weeks and 1 day ago

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

Not that I can see, at least :-)

Comment by fedesilva 296 weeks and 1 day ago

fedesilva, same here.

Comment by ozymandias 296 weeks 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 296 weeks 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 295 weeks and 6 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 263 weeks and 6 days ago

Your point of view

You must be signed in to comment.

Related sites and podcasts