Koozali.org: home of the SME Server
Legacy Forums => General Discussion (Legacy) => Topic started by: BobWilliams on August 10, 2004, 12:01:30 AM
-
Can anyone tell me where can I find a list of the commands for SME 6.0 Linux so I can look them up in the man pages?
Bob...
-
Save this below as listcommands.sh and execute. You should get a file called list-commands.txt with all commands, about 150 k big. I copied the script from somewhere here, it is not my work but i don't know whom to credit for it.
#!/bin/sh
touch /root/list-commands.txt
echo "********************" >> /root/list-commands.txt
echo "Commands in /usr/bin" >> /root/list-commands.txt
echo "********************" >> /root/list-commands.txt
echo "" >> /root/list-commands.txt
ls /usr/bin | xargs whatis >> /root/list-commands.txt
echo "" >> /root/list-commands.txt
echo "********************" >> /root/list-commands.txt
echo "Commands in /usr/sbin" >> /root/list-commands.txt
echo "********************" >> /root/list-commands.txt
echo "" >> /root/list-commands.txt
ls /usr/sbin | xargs whatis >> /root/list-commands.txt
echo "" >> /root/list-commands.txt
echo "********************" >> /root/list-commands.txt
echo "Commands in /bin" >> /root/list-commands.txt
echo "********************" >> /root/list-commands.txt
echo "" >> /root/list-commands.txt
ls /bin | xargs whatis >> /root/list-commands.txt
echo "" >> /root/list-commands.txt
echo "********************" >> /root/list-commands.txt
echo "Commands in /sbin" >> /root/list-commands.txt
echo "********************" >> /root/list-commands.txt
echo "" >> /root/list-commands.txt
ls /sbin | xargs whatis >> /root/list-commands.txt
echo "" >> /root/list-commands.txt
-
Thanks mbachmann for your reply. I'll give it a go as soon as I reinstall SME. I'm playing with Raid-1 setup now.
Bob...
-
it gives an grep error if you execute but the list is created in /root.
Script is from mdrone at www.tech-geeks.org
-
I got that to work just fine mbachmann, thanks.
I found what I wanted in /bin and /sbin. Now on to the problem of getting a HPLJ 4 to work through a USB connection to the SMP 6 Server so I can use it as a network printer. Any thoughts?
Bob...
-
it gives an grep error if you execute but the list is created in /root.
Script is from mdrone at www.techgeeks.org
Ummm I think you meant http://www.tech-geeks.org not www.techgeeks.org
Great site and thanks for the useful script info.
Jeff
-
Done, danke.
-
I corrected tech-geeks.org, thanks jpeters (consider deleting double posts).
Fot the USB printer: I strongly recommend using cups: http://no.longer.valid/mylinks/singlelink.php?cid=54&lid=334.
You have to read some pages through but is very good and relieable.