Re:macOS command-line tools you might not know about
by nine_k on Tuesday June 27, 2023 @10:16AM
(#36493127)
Those are so useful that I wrote trivial shell functions that do the same under Linux.
[ Parent
| on HN ]
Re:macOS command-line tools you might not know about
by timf on Tuesday June 27, 2023 @10:21AM
(#36493204)
Since I'm bouncing between OSX and Linux a lot, I have a shell script with the same name on each that boils down to:
if [ `uname` == "Darwin" ]; then
pbcopy
else
xsel --clipboard
fi