News for hackers. Stuff that matters.
Re:OS X Command Line Utilities by chimeracoder on Sunday August 30, 2015 @10:08AM (#10143336)
For Linux users, `xdg-open` is the equivalent of `open`. The latter exists on Linux, but it will open a socket.

There are a number of utilities that handle copy/paste, but `xclip` is probably the most widely used.

Screenshots can also be done a number of ways, but `scrot` is my favorite. The two most useful flags to pass with it are `-s` and `-d`.

As for `launchctl`, `systemctl` is what you want to use to do the same things.

Note that these equivalents all address the same functionality, but the syntax may be different.

Re:OS X Command Line Utilities by jumpwah on Sunday August 30, 2015 @12:20PM (#10143697)
I prefer maim [1] to scrot, you should maybe check it out if you didn't already know about it?

[1]: https://github.com/naelstrof/maim

Re:OS X Command Line Utilities by pimlottc on Sunday August 30, 2015 @02:59PM (#10144172)
Having discovered the usefulness of pbcopy/pbpaste on OSX, I'm simply amazed that the equivalent X utilities are not included by default on every major Linux distribution.
Re:OS X Command Line Utilities by gh02t on Sunday August 30, 2015 @04:26PM (#10144392)
Different philosophy, partly motivated by the consideration that with a package manager the barrier to installing it really low. Personally I prefer to have as little installed as possible in the base system so that I can pick and choose what I want on top. Metapackages that install a large selection of stuff or distros that ship a ton of stuff by default drive me crazy. I don't mind it so much on a Mac as that's kind of part of the whole philosophy of OS X, but Linux (and friends) are in a different niche for me.

I'm sure some desktop distros do ship xclip by default though. Knowing the typical variety of Linux distros I expect there's probably even an Xclipbuntu, dedicated solely to showing off the latest xclip release (the users of which have a decade long feud with Xseldora).

Re:OS X Command Line Utilities by pimlottc on Tuesday September 01, 2015 @03:24AM (#10151130)
I guess I should say I'm more surprised that something like xsel or xclip is not part of the standard x11-utils or what have you.
Re:OS X Command Line Utilities by gh02t on Wednesday September 02, 2015 @05:38PM (#10162057)
Oh yeah, I agree. Pretty sure the reason xsel or xclip isn't in x11-utils is that they are not part of the Xorg project. Obviously something with equivalent functionality should be there, but I guess the Xorg folks overlooked it and packagers don't want to stick in random stuff.
Re:OS X Command Line Utilities by barrkel on Sunday August 30, 2015 @11:11PM (#10145256)
And for cygwin users, cygstart is the equivalent of open, getclip/putclip for copy/paste, and cygrunsrv is the closest equivalent to launchctl.