Articles by Deepak Prasad
Ansible Architecture
The important terminologies which we have in an Ansible Architecture are control node, managed nodes, tasks, play, playbook and many more..
Ansible Installation Guide on RHEL/CentOS 8
There are different methods using which you can install ansible using default package manager such as yum, dnf, apt, Using pip and using source compile file
How to provision AWS EC2 Instances using Ansible
How to provision AWS EC2 instances using ansible playbook. Create, launch, start, stop and terminate instances using tags and instance id with ec2 module
5 system tools to monitor network traffic in Linux with examples
How to monitor network traffic in Linux? How to monitor application network traffic real time in Linux? How to perform speed test using command line in Linux? …
5 easy & useful ways to check Linux kernel version
In this tutorial I will share multiple commands and methods you can use to check the Linux kernel version. The recommended method would be uname which works …
4 useful methods to automate ssh login with password in Linux
How to automate SSH login with password? How to pass password to scp command used in bash script ? How to perform SSH login with password instead of using …
4 practical examples with bash increment variable
How to increment variable in bash shell script? How to add 1 to a variable for every for loop? How to increment counter in bash? How to perform bash variable …
Beginners guide to use script arguments in bash with examples
How to pass and store arguments to shell script? How to parse input arguments inside shell script? How to pass arguments to a function inside shell script in …
Bash string concatenate possible?
How to concatenate strings with underscore, newline, whitespace or any other character in bash? How to append substrings in a string in bash or shell script? …
How to properly remove old kernels RHEL/CentOS 8
You can now use dnf command to remove old kernels from RHEL/CentOS 8 Linux. package-cleanup doesn't work any more. Use oldinstallonly with installonly_limit
Bash getopts Tutorial: Syntax, Examples, Options & Error Handling
Learn bash getopts with syntax, examples, and a quick cheat sheet. Understand OPTARG, OPTIND, leading colon behavior, missing argument errors, and differences …
.bashrc vs .bash_profile [Which one to use?]
All rc files are for all shell invocations while the profiles are strictly for interactive shells. when you login via SSH, or via duplicate console, or via …
Bash check File Exists with Best Practices [5 Methods]
In this tutorial I have consolidated a list of file test operators which can be used to check different types of files. Bash Check file exists, is a symbolic …
How to access VirtualBox shared folder at startup with systemd in Linux
How to mount Oracle VirtualBox shared folder using systemd unit file at system startup? How to execute a script during reboot on the shared folder from Vbox …
How to start systemd service after NFS mount in Linux
How to execute a script after a network file system is mounted? How to start a systemd service only after NFS share is mounted and available in Linux
