hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Hosting Security and Technology : Hosting Security and Technology Tutorials : Default location of programe
Reply

Hosting Security and Technology Tutorials Tutorials related to server security or the like.
Forum Jump

Default location of programe

Reply Post New Thread In Hosting Security and Technology Tutorials Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 06-03-2006, 06:15 AM
manuel_accu manuel_accu is offline
Disabled
 
Join Date: Jun 2006
Posts: 0

Default location of programe


Hello,

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

Reply With Quote


Sponsored Links
Reply

Related posts from TheWhir.com
Title Type Date Posted
Mozilla Firefox 23 Will Block Mix SSL Content by Default Web Hosting News 2013-04-12 11:39:07
Host Virtual Expands Cloud Platform with New Location in Seattle Web Hosting News 2013-02-21 10:01:56
Mozilla Updates CA Certificate Policy for Software Products Web Hosting News 2013-02-19 12:32:22
Microsoft Lowers Azure Cloud Storage Prices After Google, AWS Price Cuts Web Hosting News 2012-03-09 14:24:19
Web Host Immedion Building Third Data Center in South Carolina Web Hosting News 2011-08-18 18:16:08


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?