Sometimes you may need to run shell script or execute shell command from within your python script. Here are the steps to execute shell command from python.
How to Copy Files from One Directory to Another
Sometimes you may need to copy contents of folder to another folder. Here is how to copy files from one directory to another.
(Ignore)A Three-Step Guide to Use SSL/TLS Certificate with Node.js
Looking to secure your Node.Js applications with an SSL certificate? Here is how you can use it with a Node.Js application in a three-step easy process.
Grep Exclude Directory & Files
Sometimes you may need to exclude directory & files while using grep command. Here is how to exclude files & directories in grep command.
Grep Exclude Word Pattern
Sometimes you may need to exclude multiple words or patterns while using grep command. Here is how to exclude word pattern in grep.
How to Install Fail2ban in CentOS 7
Fail2ban is a useful firewall that protects your Linux system from brute force attacks and bots. Here is how to install Fail2ban in CentOS 7.
How to Copy File to Multiple Directories in Linux
Sometimes you may need to copy file to multiple directories in Linux. Here is how to copy files to multiple folders.
Shell Script to Loop Through Files in a Directory
Sometimes you may need to loop over files in a folder or subfolder. Here is a shell script to loop through files in a directory.
How to Loop Over Lines of File in Bash
Sometimes you may need to iterate over lines in file. Here is a shell script to loop over lines of file in bash.
Shell Script to Tar Multiple Files & Directories
Very often you may need to tar files & directories in Linux. Here is a simple shell script to tar multiple files & directories in Linux.