During building of git pipeline you may need to add some values which you dont…
Tag: Shell
Shell : Sync a folder from one Linux instance to another Linux instance in a specific path.
In Linux-based operating systems, it is common to synchronize files between different instances. One way to do this is by…
Shell : Script that iterates all it directory and sub directory and find the word search and print the complete file path.
One common task is searching for a specific word in all files in a directory and its subdirectories. This is…
Shell : Script that takes a file name as an argument and checks if it’s readable or not.
One common task is checking if a file is readable before proceeding with a script. This is useful to prevent…
Shell : Script that checks if a file exists or not and outputs a message accordingly.
One common task is checking if a file exists before proceeding with a script. This is useful to prevent errors…
How to Generate the Private Key in Windows
Open a terminal window to create a private key first. Both an encrypted and an unencrypted copy of the private…
How to SSH or connect between two AWS EC2 instance ?
You can use the SSH command to connect to another AWS EC2 instance from the command line. Here are the…
In AWS EC2 how to know your ubuntu version using the command line commands
lsb_release lsb stands for Linux Standard Base. Certain LSB (Linux Standard Base) and Distribution information is printed by lsb_release command….
How to find if a substring exists in a string or not in Shell/Unix scripting
This will be a common use case when we need to check some substring in a log or some file. …