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…
Linux
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 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/Steps to install fail2ban on CentOS 5.x, 6.x Rhel 5.x, 6.x – Protect SSH/FTP using fail2ban
Fail2ban, it is a security based application for your Unix based server. The fail2ban service is commonly used to protect your SSH and FTP from unauthorized connection. Here I am explaining the installation and basic configurations steps of fail2ban service…
10+ netstat command’s practical usages with example – Unix/Linux
Hi friends, last day we have discussed about some useful switches of netstat. But, in practical situation, we need to use some combination(Switch combinations) to display custom output. Here I am explaining some practical usages of netstat with example. How…
10+ netstat command switches with example – Unix/Linux
The “netstat” is one of the powerful command/tool to find out the network statics of your server. The “netstat” tool is available in both Unix and Windows OS. The word “netstat” stands for “Network Statics”. The “netstat” print network connections,…