Terminal commands

Brian Norman Wootton Brian.Meg at btinternet.com
Tue Dec 23 10:59:32 UTC 2008


Do it yourself:

for f in {,/usr}/{,s}bin/[0-9a-zA-Z]*;do n=${f##*/};whatis $n|
grep -e "^$n (1)" -e "^$n (8)";done|sort|uniq|less

This lists all commands found in /bin, /sbin, /usr/bin, /usr/sbin on your 
machine. It may not be perfect and the builtin shell commands are not 
listed.

Beware: Don't redirect it to your printer - that's several thousand lines 
if you have many packages installed.




Thanks Nils
did you write that script off the top of your head? got my brain going 
working out
exactly what it was doing anyway. Shoved the output into a file for 
future reference.
brian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/kubuntu-users/attachments/20081223/22d45504/attachment.html>


More information about the kubuntu-users mailing list