Hacker News new | ask | show | jobs
by xelxebar 3169 days ago
There is a lot of historical arcana baked into the command line and bash, but I've found it worth learning like any other language.

Anyway, just for future reference you can use bash's `help` command to get documentation about builtins. In the case of conditionals, we want to loo at `test`:

    $ help test
I find this a lot easier than wading through the bash man page.
1 comments

Holy crap, xelxebar. Thank you! This is a game-changer. I've been wading through the bash man pages like a fool.