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:
There are a few ways to do this and I will explain some of them for you below. cPanel has a "built in" way to view this but I will give you a way to specify the amount of days you want the stats for and a few other neat tricks.
If you’re a linux system administrator you’re probably already familiar with the term “inode”. For those of you who are not, an inode is basically a way to measure the amount of files a user has. This includes every email, cache file, image, and so on. If it has a filename it is considered an inode. Normally hosts will use this as a way to determine clients that need to be removed from backups because of the IO load they put on the server from the amount of inodes they have.
A few ways to measure this are…
Using the script I created and posted on GitHub:
https://github.com/tripflex/inodes
Or …
https://github.com/rigelminer/rigel/releases/tag/1.3.2
Rigel 1.3.2 Release with working stats