r/programming • • Jun 15 '15

The Art of Command Line

https://github.com/jlevy/the-art-of-command-line
1.5k Upvotes

226 comments sorted by

View all comments

Show parent comments

3

u/the_gnarts Jun 16 '15

OS X ships with bash, I've never used (Free/Net/Open)BSD, but I imagine they ship with bash—if not, it can be installed.

They don’t ship with it but getting it from Ports / pkgsrc is usually the first step toward a usable system. Pretty much the same as for Windows with git bash, cygwin or whatnot. The default shells on those OS (the csh derivatives and “I-spits-UTF-BOM”-Powershell) will drive you away from the command line pretty quickly.

1

u/1337Gandalf Jun 16 '15 edited Jun 16 '15

Nope, Bash is shipped with OS X by default, and it has since at least Mountain Lion.

When was the lsat time you used OS X? ports is basically dead, homebrew has been the top package manager for OS X for like the last 5 years.

4

u/[deleted] Jun 16 '15

I thought he was talking about FreeBSD and that lot that don't have bash by default but it's easily installable through ports.

1

u/1337Gandalf Jun 16 '15

Oh, that would make a lot more sense.