Sometimes you may need to prompt for user input in shell script. Here is how to prompt user for input in shell script.
Linux
Shell Script to Check if Script is Already Running
How to Check if Input Argument Exists in Shell Script
Sometimes you may need to check if input argument exists in shell script. Here are the steps to do it.
How to Check if Directory Exists in Shell Script
Sometimes you may need to check if directory exists in shell script. Here are the steps to check if folder exists in shell script.
How to Get Directory of Shell Script
Sometimes you may need to get directory of bash script or get folder where script is present. Here is how to get directory of shell script.
How to Disable SSH Password Authentication for Some Users
Sometimes you may need to disable SSH password authentication to increase system security. Here are the steps to do it.
How to Kill Process Running Longer Than Specific Time
Sometimes you may need to kill long running processes in Linux. Here is how to kill processes running longer than specific time.
How to Split Tar Into Multiple Files in Linux
How to Rename All Files to Lowercase or Uppercase in Linux
Sometimes you may need to rename files to lowercase or uppercase in Linux. Here is how to do it in Linux.
How to Backup & Restore Hard Disk in Linux
Sometimes you may need to backup & restore hard disk in Linux. Here are the steps to backup & restore hard disk in Linux.