NixUser

NixUser.com | Unix User | Linux User | NixUser

June, 2019

How to Remove a Custom EasyApache 4 Profile

Ssh to the cPanel server and go to the directory /etc/cpanel/ea4/profiles/custom. cd /etc/cpanel/ea4/profiles/custom/ Locate and remove the .json file that contains the name of the profile you created. rm -f myprofile.json Now you are done deleting the profile.

How to see time stamps in bash history?

Enter the following command in terminal. HISTTIMEFORMAT=”%d/%m/%y %T ” Or, to make the change permanent for the current user: echo ‘export HISTTIMEFORMAT=”%d/%m/%y %T “‘ >> ~/.bashrcsource ~/.bashrc Now try the history command, you will see the timestamp along with the command history.