Common configuration files and directories for cpanel ssh command

You can find common configuration files and directories in the following locations on your server: 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 1 2 /usr/local/apache/conf/httpd.conf /usr/local/apache/domlogs/ System 1 2 /var/log/messages /var/log/dmesg ProFTPD /etc/proftpd.conf /var/log/xferlog /etc/proftpd/ SSH /etc/ssh/sshd_config

Continue Reading
Intel xeon servers

how to remove folder log files from linux cpanel command

1st check output with following command df -h also du -sh /home/* Go inside this folder /usr/local/apache/logs/ and execute this command rm -rf *_log then go inside this folder /usr/local/apache/domlogs and execute this command rm -rf * then after that go inside this folder /var/lib/mysql/ then check the file names FIRST to not remove the […]

Continue Reading

Best Practical Examples of Linux Find Command

1. Find Files Using Name in Current Directory Find all the files whose name is timewebhosting.txt in a current working directory. # find . -name tecmint.txt ./timewebhosting.txt 2. Find Files Under Home Directory Find all the files under /home directory with name tecmint.txt. # find /home -name timewebhosting.txt /home/timewebhosting.txt 3. Find Files Using Name and […]

Continue Reading