I copied my .zshrc from my Linux laptop to my work Mac, and yep, it all feels the same. A few minor differences (ls on Linux will allow arguments after the files, on Mac it won’t) and a few things to learn (I never really used open on Linux, but it’s essential on Mac), and the clipboard interface is different (xclip vs. pbcopy — but that doesn’t really count, since it’s a GUI thing).
Once you’ve installed homebrew the Unix parts of Mac are great. Some of the default utilities like BSD sed aren’t as good as their gnu counterparts, but that’s easily solved by simply installing the gnu version.
I think valgrind doesn’t really work, and X apps don’t support retina, but aside from that I don’t think there’s much difference.
Considering they often have the same shell, this is pretty funny
I copied my .zshrc from my Linux laptop to my work Mac, and yep, it all feels the same. A few minor differences (
ls
on Linux will allow arguments after the files, on Mac it won’t) and a few things to learn (I never really usedopen
on Linux, but it’s essential on Mac), and the clipboard interface is different (xclip
vs.pbcopy
— but that doesn’t really count, since it’s a GUI thing).Once you’ve installed homebrew the Unix parts of Mac are great. Some of the default utilities like BSD sed aren’t as good as their gnu counterparts, but that’s easily solved by simply installing the gnu version.
I think valgrind doesn’t really work, and X apps don’t support retina, but aside from that I don’t think there’s much difference.
The only weird difference I’ve run into has been the
stat
command behaving differently with dif args