Category: shell
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
user November 30, 2022 0 Comments on 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
user November 28, 2022 0 Comments on 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. …
How to delete files, directory and subdirectory which is older than N days in shell, Unix or Linux
user November 28, 2022 0 Comments on How to delete files, directory and subdirectory which is older than N days in shell, Unix or Linux
For mostly, logs and other temp files, its a common use case to delete the files older than 30 or…