32 ms·
Some time ago I wrote just for fun this couple of lines: > What else I'm missing out on echo 'Currently there are ' $(ver=(/bin /sbin /usr/bin /usr/sbin) && l
by pvaldes 9y ago
Some time ago I wrote just for fun this couple of lines:
> What else I'm missing out on
echo 'Currently there are ' $(ver=(/bin /sbin /usr/bin /usr/sbin) && ls ${ver[*]} | wc -l) 'commands installed and available in the system'
This prints the man page of 3 random commands. One by one. Is a way to discover a few new commands each day. To go to the next command and exit press q. I hope you enjoy it.
commandoftheday=(/bin /sbin /usr/bin /usr/sbin) && ls ${commandoftheday} |sort -R |head -3 |xargs man '{}'