Latest Articles
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? [SOLVED]
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
Unlock the Power of Bash Getopts: The Unsung Hero
getopts is a shell builtin which is available in both the regular Bourne shell (sh) and in Bash. It is short abbreviation for "get the options" which you have …
.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 …
