Earlier quoted context omitted.
I'm assuming the HN post has been changed since your comment (it's now "OS X Command Line Utilities"). What was it before?
It was what the article's headline currently is on the site: Eight Terminal Utilities Every OS X Command Line User Should Know
OS X Command Line Utilities
31–40 of 210 posts
Re: OS X Command Line Utilities
#32Re: OS X Command Line Utilities
#33I would add caffeinate, which prevents the Mac from going to sleep. It can do this indefinitely, for a fixed period of time, or after a process is done running. You can even specify that process either as the PID of an existing process or by invoking it through caffeinate itself.
I use this all the time, it's the GUI version presumably.
Re: OS X Command Line Utilities
#34More power.
However, I'm not a fan of the soft recommendation for Homebrew. I understand Homebrew places everything in `/usr/local` but software installs on Mac should generally conform to dragging and dropping bundles inside `/Applications`.
In my experience, requirements to install packages using Homebrew could be circumvented by searching for .dmg or .pkg equivalents. The benefit is that software so installed is much easier for intermediate users to track and maintain.
Re: OS X Command Line Utilities
#35Re: OS X Command Line Utilities
#36 function clip { [ -t 0 ] && pbpaste || pbcopy }
This is easier to type and allows for the following: % echo hello | clip
% clip
helloRe: OS X Command Line Utilities
#37Re: OS X Command Line Utilities
#38As a longtime Mac user (as early as System 7) and aficionado of UNIX, I love OS X's CLI and its affordances. The linked article provides several well-packaged tidbits that might encourage users of other CLI-replete OS's to check out OS X. More power. However, I'm not a fan of the soft recommendation for Homebrew. I understand Homebrew places everything in `/usr/local` but software installs on Mac should generally con…
The vast majority of Homebrew packages are not available as .dmg or .pkg ; installing that way also is a huge PITA when dealing with a myriad of small developer tools that require dependencies, whereas brew manages all of that for you, including upgrades.
Re: OS X Command Line Utilities
#39This article was nice, but it indicated that you need to change the system preferences in order to change the voice. It turns out that you can pass the -v flag to use a different voice, or "-v ?" to get a list of names. So you can do say -v Samantha Help, I'm trapped in this castle! or say -v Princess Help, I'm trapped in this castle! But wait, it gets even better: The Mac comes with a number of voices for other lang…
I must say...being a sysadmin with the ability to ssh into developers' laptops remotely in our domain...this is one of the more fun commands ;)
Re: OS X Command Line Utilities
#40As a longtime Mac user (as early as System 7) and aficionado of UNIX, I love OS X's CLI and its affordances. The linked article provides several well-packaged tidbits that might encourage users of other CLI-replete OS's to check out OS X. More power. However, I'm not a fan of the soft recommendation for Homebrew. I understand Homebrew places everything in `/usr/local` but software installs on Mac should generally con…