|
|
|||||||
| TroubleShooting General Trouble Shooting Examples |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
If you are trying to find a program, log into the shell.
Type the command: # whereis <program> where 'program' is the program you are looking for, will show you one or more possibilities for what you are looking for. If you have more than one copy of a program, say one in /usr/bin and another in /usr/local/bin/ , typing "which program" will show you which one will be called first. If you can't find it at all, type command: # locate <program> will show you everyfile that matches "program". Some of the most common programs : • /usr/sbin/sendmail • /usr/bin/perl • /bin/mail • /usr/bin/php Default locations for most commonly used configuration files and important directories: Exim • /etc/exim.conf • /var/log/exim_mainlog • /var/log/exim_rejectlog • /etc/valiases/ • /etc/vfilters/ • /home/username/.forward MySQL • /root/.my.cnf • /etc/my.cnf • /var/lib/mysql/ Apache • /usr/local/apache/conf/httpd.conf • /usr/local/apache/domlogs/ System • /var/log/messages • /var/log/dmesg Proftpd • /etc/proftpd.conf • /var/log/xferlog • /etc/proftpd/ sshd • /etc/ssh/sshd_config
__________________
Strat with Linux || Optimize, Secure and increase performance of Apache || Already Started The visionary conceives the impossible, The missionary makes it possible. ...Gita. |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Red Hat Enterprise Linux 5 Beta 1 Released | Manuel_ | Latest news / articles | 0 | 09-15-2006 12:14 AM |
| Linux vs Windows hosting | Manuel_ | General Discussions | 0 | 06-29-2006 02:38 AM |
| Run Python Script in Linux Servers | Manuel_ | TroubleShooting | 0 | 06-25-2006 12:53 PM |
| Linux To Drive Innovation In Mobile Market | Manuel_ | Latest news / articles | 0 | 06-22-2006 03:57 PM |
| 'Which' Command in Linux Environment? | Jason | TroubleShooting | 0 | 07-05-2005 01:31 AM |