Linux Application Paths - What is the path to ...?
All of the paths in this article use an example home directory of /home/username. For the correct home directory path to replace this with you may check the Home Directory path listed in your cPanel under Account Information in the left hand side bar.
Once you have identified your correct home directory, simply replace /home/username with the correct directory path.
Here is a list of commonly used paths:
- webroot path
- /home/username/public_html
- /home/username/mail/domain.tld/user's name/
- save session
- /home/username/tmp
- AWStats
- /home/username/tmp/awstats
- cgi
- /home/username/public_html/cgi-bin/
- Perl
- /usr/local/bin/perl
- Sendmail
- /usr/sbin/sendmail
- PHP
- /usr/local/bin/php
- PHP 5.5
- /opt/php55/bin/php
- PHP 5.6
- /opt/php56/bin/php
- MySQL
- /var/lib/mysql
- Mysqldump
- /usr/bin/mysqldump
- Pear
- /usr/local/bin/pear
- Python
- /usr/bin/python
- Python 2.7
- /usr/bin/python2.7
- openSSL
- /usr/bin/openssl
- FTP
- /home/username/ (only accessible if using the cPanel login)
- Aspell
- /usr/bin/aspell
- ImageMagick
- /usr/bin/
- ImageMagick Converter
- /usr/bin/convert
- /usr/local/bin/convert
- /usr/bin/X11/convert
- GD2 library
- /usr/lib
- GD2 includes
- /usr/include
- rsync
- /usr/bin/rsync
- ghostscript
- /usr/bin/ghostscript
- Exim logs
- /var/log/exim_mainlog
- Alias files
- /etc/valiases/
- PHPmyadmin
- http://example.com:2082/3rdparty/phpMyAdmin/index.php
- sbin
- /usr/sbin - but is not accessable.
- cgi-sys
- /var/cpanel/cgi-sys
- Apache on a Linux server
- /usr/local/apache
- Get
- /usr/bin/GET
- LYNX
- /usr/bin/lynx
- WGET
- /usr/bin/wget
- CURL
- /usr/bin/curl
- FFMPEG
- /usr/bin/ffmpeg (requires VPS or dedicated server with FFMPEG installed)
Configuration file locations on Linux Dedicated Servers.