One common task is checking if a file exists before proceeding with a script. This…
Tag: Unix
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…
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. …
What is Swappiness Value? What is the role of Swappiness Value during the cluster set up?
vm.swappiness is one of the Kernel Parameter in Linux or UNIX, vm.swappiness value is from 0-100 which controls the swapping…
What are the Unix Specific Services in Python ?
The following are the unix specific services in Python posix : The most common POSIX system calls (This module provides…