Sometimes you may need to automate SSH login. Here is shell script to automate SSH login with passphrase or SSH keys.
Linux
How to Pause Shell Script
Sometimes you may need to pause or suspend shell script execution for some time. Here is how to pause shell script in Linux.
How to Find & Replace String in VI Editor
Sometimes you may need to find & replace string in VI Editor. Here is how to substitute strings & patterns in VI Editor.
How to Find Parent Process ID in Linux
Sometimes you may need to find parent process ID of a process. Here is how to find parent process ID in Linux.
How to Change Default Shell In Linux
Sometimes you may need to change default shell of your Linux user. Here is how to change default shell in Linux.
How to Create Permanent Alias in Linux
Sometimes you may need to create permanent alias in Linux. Here is how to create permanent alias in Linux.
How to Give User Access to Folder in Linux
Often you will need to give user access to folder in Linux. Here are the steps to give user access & permission to folder in Linux using chown & chmod.
How to Install Monit on CentOS 7 Linux
Monit is a powerful utility to monitor processes, servers, files & directories in Linux. Here are the steps to install Monit on CentOS 7 Linux.
How to Resize Linux Partition without Data Loss
Sometimes you may need to expand or shrink Linux partitions without data loss. Here is how to resize Linux partition without data loss using GParted tool.
How to List Directories & Subdirectories in Linux
Sometimes you may need to list only directories recursively in Linux. Here is how to list directories & subdirectories in Linux.