I found jq the other day ( http://stedolan.github.io/jq/ ), which is a commandline utility for manipulating json data, resembling awk. Considering the number of API's that return json data these days, it's simplified my life a great deal. It's proven especially useful for automation shell scripts, when working with things like the aws command line client that return all results as json. Usually I'm looking to extract…
Less Commonly Used Unix Commands
51–60 of 95 posts
Re: Less Commonly Used Unix Commands
#52Why do programs that only work on OS X always end up on lists of "Unix" programs?
It's just as common to see linux only commands in posts like this.
Re: Less Commonly Used Unix Commands
#53Earlier quoted context omitted.
I still don't get how emacs ever got that image.. I never have to press more than two keys at a time, which is also true for vim..
Then you are doing it wrong. ;) But seriously: How do you do common things such as `query-replace{-regex}` or `indent-region`? Have you rebound them all?
However.. point taken. The default bindings for those two functions are terrible (at least with a german keyboard layout).
Re: Less Commonly Used Unix Commands
#54popd and pushd are commands that, once learned, I thought would change my life forever. Turns out, not so much. :| EDIT: 'watch mtr' is handy for keeping an eye on your network connection, and finding slowdowns.
It has an uncanny knack for getting me to where I want to go with very little in the way of input.
Re: Less Commonly Used Unix Commands
#55Why do programs that only work on OS X always end up on lists of "Unix" programs?
Re: Less Commonly Used Unix Commands
#56Worth it for sshfs alone.
Re: Less Commonly Used Unix Commands
#57popd and pushd are commands that, once learned, I thought would change my life forever. Turns out, not so much. :| EDIT: 'watch mtr' is handy for keeping an eye on your network connection, and finding slowdowns.
Re: Less Commonly Used Unix Commands
#58popd and pushd are commands that, once learned, I thought would change my life forever. Turns out, not so much. :| EDIT: 'watch mtr' is handy for keeping an eye on your network connection, and finding slowdowns.
Why do you need to 'watch' mtr? It functionally behaves as a watched tool to begin with.
Re: Less Commonly Used Unix Commands
#59popd and pushd are commands that, once learned, I thought would change my life forever. Turns out, not so much. :| EDIT: 'watch mtr' is handy for keeping an eye on your network connection, and finding slowdowns.
I aliased `cd` to pushd (squelching output) and `dc` to popd in my interactive shell. It's super handy to have a back button for my shell.
Re: Less Commonly Used Unix Commands
#60popd and pushd are commands that, once learned, I thought would change my life forever. Turns out, not so much. :| EDIT: 'watch mtr' is handy for keeping an eye on your network connection, and finding slowdowns.
I aliased `cd` to pushd (squelching output) and `dc` to popd in my interactive shell. It's super handy to have a back button for my shell.