Clear Log or any file without removing or deleting it and retaining permissions
There are many other ways to do this, but an easy way to remember is this command:
(more…)
There are many other ways to do this, but an easy way to remember is this command:
(more…)
All cPanel account information for each specific account is stored in the /var/cpanel/users/USERNAME
If you need to change the specific theme for a certain user this is the file you need to edit, and the value you need to edit is described below:
Frequently system administrators will change the SSH port from the standard port 22 for security reasons. If this is the case and you need to transfer something via SCP, below is the command to transfer a file from one server to another using a non standard SSH port.
(more…)
All cPanel email will be stored in a folder similar to this:
/home/user/mail/domain
If you remove an addon domain from a cpanel account, the email will still be left on the server (as well as ftp, etc). This is good and bad, i think more on the good side. If you need to move any email from one account to another you can do so through ssh
add
--no-tui
to output inminer
andmotd watch
screens