5 ms·
And ... I realized/remembered while reading the other comments that knowing what's available is a necessary part of "just use the command line a lot." So try
by nonamegiven 14y ago
And ...
I realized/remembered while reading the other comments that knowing what's available is a necessary part of "just use the command line a lot."
So try this, to get a good list of what's available (and for more command line composition)
$ man -k $(ls -1 /usr/bin |egrep -v "\[") 2>&1 |egrep -v "nothing appropriate"
See if you can figure out what 2>&1 does (it's a very common idiom, probably easy to find), and figure out why it's needed here.
That's a long list of stuff, look at it a page at a time:
$ man -k $(ls -1 /usr/bin |egrep -v "\[") 2>&1 |egrep -v "nothing appropriate" |less
That's still a lot of stuff, save it off in a file in your home directory for later:
$ man -k $(ls -1 /usr/bin |egrep -v "\[") 2>&1 |egrep -v "nothing appropriate" > ~/wholelottacommands.txt