3 ms·
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 ref
by xelxebar 9y 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.
- tslug 9y agoHoly crap, xelxebar. Thank you! This is a game-changer. I've been wading through the bash man pages like a fool.