What directory?
What directory are programs installed? I am using SUSE 9.2
|
I don't know specifically for SUSE, but programs can be installed anywhere. Usually, you'll find them under /usr or /home. Specifically:
/usr /usr/local /usr/bin /usr/sbin /usr/local/bin /usr/local/sbin Try using the "which" or "locate" commands to find where some things are installed. which ls -> /bin/ls locate *squid -> one answer is "/usr/local/squid/sbin/squid" -Dan |
also "whereis"
Another handy command is "whereis"
> whereis ifconfig /sbin/ifconfig > If you need to access a program that isn't in your PATH, add it by editing $HOME/.bash_profile Finally, you can use "find" a command or file. >find / -name "file_name" - will search / (root) for file_name - note that unless you run this as the user root you'll get "permission denied" errors. To get help with commands, try man <command_name> . "man" is short for manual, and will bring up a manual page for the command and any configuration files that accompany it, as well, usually, as it's normal location. Cheers, Scott |
These two links may be worth looking at
http://www.comptechdoc.org/os/linux/commands/ http://tldp.org/HOWTO/HighQuality-Apps-HOWTO/fhs.html Sheng-Chieh |
All times are GMT -5. The time now is 05:57 AM. |