Live data from Hacker News

OS X Command Line Utilities

mitchchn.me

1–10 of 243 posts

Re: OS X Command Line Utilities

#4
There's been a few of these lists over the past few years, most recent one is https://news.ycombinator.com/item?id=7494100

It seems like a large portion of HN is less experienced re sysadmin, but is interested in it nonetheless. Perhaps there's room to make a 'codecademy for unix' type course? Curious to see what folks thing.

Re: OS X Command Line Utilities

#5
post #3

My favorite command is 'say'. You can do all kinds of silly voices. Try this out: say hello -v Good

For anyone wondering, you can also do this:

say -v '?' (This gives you a list of voices)

say -v Good (This let's you type in a stream of text)

Re: OS X Command Line Utilities

#7
post #3

My favorite command is 'say'. You can do all kinds of silly voices. Try this out: say hello -v Good

It knows how to sing "In The Hall Of The Mountain King" as well:

say -v cellos "Dum dum dum dum dum dum dum he he he ho ho ho fa lah lah lah lah lah lah fa lah full hoo hoo hoo"

Re: OS X Command Line Utilities

#8
Great list! Includes all the old favorites with clear explanations.

This is only tangentially related, but I recently wrote a little Automator Service to gather any selected file and folder paths from Finder. I very often need to grab the path of something for programming-related stuff, and doing it from the command line or with the mini-icon drag-and-drop takes way too long. Maybe somebody here will find it useful! http://cl.ly/1a3s3g1u2Q2w

Re: OS X Command Line Utilities

#10
mdfind / Spotlight can be a fairly powerful tool. Consider this query, which finds all Xcode projects I've tagged as "Active":

  ~$ mdfind tag:Active kind:xcode
  /Users/jn/Code/xyz/xyz.xcodeproj
  ...
Queries like this also work in the Cmd-Space UI, or as a Saved Search. By default each term is joined with AND, but you can specify OR too.
Post reply on HN