Sometimes you may need to check if input argument exists in shell script. Here are the steps to do it.
How to Check if Variable is Empty or Not in Shell Script
Sometimes you may need to check if a variable is set or not in Shell Script. Here is how to check if variable is empty or not in Shell Script.
How to Check if File Exists in Shell Script
Sometimes you may need to check if file exists in shell script. Here are the steps to check if file exists using shell script.
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 Check if Directory Exists in Python
If you need to check if a directory exists in Python, then follow the steps mentioned in this article.
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 Create Multiline String in Python
Sometimes you may want to create multiline string in Python. Here is how to create multiline strings with variables in Python.
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.