Hacker News new | ask | show | jobs
by mveety 3499 days ago
A shell is a shell for the most part. The details can be a bit different (like your $PATH), but otherwise its largely the same.
2 comments

Yep. Mostly the same. Hence the reason I question why FreeBSD might be worth it. The overlap of OSX and FreeBSD at the shell is quite great, but you can't run a lot of OSX apps on FreeBSD. I'd venture to guess you could run a lot more FreeBSD apps on OSX.
try

   rm -rf somedir/
vs

   rm somedir/ -rf
Linux (the former) allows me to be lazy while MacOS (the latter) forces me to hit crtl-a and insert -rf.
GNU rm (coreutils) vs BSD rm.
I will never get used to the trailing slash on source arguments in BSD cp (that copies directory contents rather than the directory itself)! The first thing I do on an OS X machine is install GNU coreutils.
Me either. I've also got a habit of adding '-rf' as the last argument to 'rm' so I can safely tab complete things in my home directory without a mistaken "enter" press nuking everything.
I'm used to that from rsync. I find it quite handy.
This may be why I never found rsync comfortable.
Major correction, the former is MacOS and the latter is Linux allowed (options can be before positional arguments).