Hi all, we already discussed about the move (mv) command and the different switches of mv command. Here, we can use the “mv” command to rename a file or directory under Linux. Syntax: mv name newname Where; name – is…
commands
How to move a File/Directory from one location to another – The “mv” command and switches with example in Linux
We can use the command “mv” to move something from one location to another. Here, I am explaining the uses of the command “mv” and different switches of mv. Syntax: mv [OPTION]… SOURCE DEST Example: I have created two files(file1…
How to stop Open relay in a cPanel server – /scripts/fixrelayd
An Open relay is SMTP server which is configured in such a way, which allows a third party to send/receive emails that are neither from nor for local users. For that reason, such servers are usually targets for spam senders.…
How to change the port number of Apache(web server) – Command line option for Linux server
Hi, we all know the default port for the Apache web-server. The Apache is using the port 80 to communicate with world. We already discussed about, how do we change the Apache port in a cPanel based server, click here…
Create a login message for your server – The “motd” file under Unix
Hi, it’s very interesting. There is one file ‘motd‘ under the /etc location where you can add the welcome message. motd stands for “Message of the Day”. The contents of /etc/motd is displayed while you are log into the server.…
How to rebuild the “httpd conf” file in cPanel server – Command-line option
If your httpd.conf file got corrupted, then you can use the following command to rebuild it. /scripts/rebuildhttpdconf Something more about cPanel, See the category CPANEL
How to get a list of re-sellers’ name under your WHM/cPanel server – Command-line option
Hey, we already discussed about How to list all accounts name under a cPanel re-seller, click here for more details “list of total cPanel users under a specific re-seller” Here I am explaining the command-line option to find out the…