SSH with private key authentication

11 years ago

How to Add ssh user on linux server ? Ans: You can use the putyykey generator and generate the ssh…

Create yum repository on local machine

11 years ago

Yum repository on local machine If you want to install software/packages after installation of linux  (CentOS, Fedora etc.). You can create…

Using wget to download FTP folders

11 years ago

Using wget to download FTP folders If you want to copy all of the files and folders from one host…

Https to http redirection

11 years ago

How to redirect domain from https://domain.com to http://domain.com ? Ans:  If you tried all the possibilities with the .htaccess file…

Make your shell colorful

11 years ago

You can easily changed your black ssh screen to colorful screen by using following steps. 1) Login to the server…

Email when access the server

11 years ago

Email when access the server It’s always a good practice & from the security point of view to get notified…

AWK Linux command

11 years ago

why awk? awk is small, fast, and simple, unlike, say, perl. awk also has a clean comprehensible C-like input language,…

Server Monitoring Scripts and commands

11 years ago

Script to delete a line from a file if it have a particular pattern sed -i "/"pattern"/d" filename find /home/…

Script to automatically start Nginx

11 years ago

You can use the following script to auto restart the nginx on the server. The following script check the status and…

Script to automatically start mysql

11 years ago

The following script is used to  start mysql automatically when it is failed or stopped on the server. You can set 2…