Shell

How to find Ubuntu Version, Codename and OS Architecture in Shell Script
How to find Ubuntu Version, Codename and OS Architecture in Shell Script Get Ubuntu Version. To get ubuntu version details, Use -r with lsb_release co...
Bash builtin examples
What is a builtin bash? Is Echo a bash builtin? What commands are built into the bash shell? Is LS a shell builtin? What are bash commands? How do you...
Easily Find Bugs In Shell Scripts With ShellCheck
What is ShellCheck? What is ## in shell script? How do I know if a shell script ran successfully? Can we debug shell script? How do I test a bash scri...
How to Install Fish Shell on Linux
Installing Fish shell sudo apt install fish. sudo apt-get install fish. sudo dnf install fish. sudo zypper install fish. sudo pacman -S fish. guix pac...
What is the difference between Login and Non-Login Shell
If the output is the name of our shell, prepended by a dash, then it is a login shell. For example -bash, -su etc. A Non login shell is started by a p...
ZSH - Pretty, what else is great about it
Zsh is touted as a great alternative to bash and all other shells. The shell has many of the features, if not all of bash but with enhancements. It is...
How to Install ZSH Shell on Ubuntu 18.04 LTS
How do I get zsh on Ubuntu? How do I set zsh as default shell Ubuntu? Does Ubuntu use zsh? How do I download zsh on Linux? Where is zsh located in Lin...
How to configure and setup zshrc for ZSH
How do I configure Zshrc? How do I create a Zshrc file on a Mac? How do you set the theme in oh my zsh? How do I install zsh plugins? How do I access ...
How to Use Functions in Bash Shell Scripts
To invoke a bash function, simply use the function name. Commands between the curly braces are executed whenever the function is called in the shell s...
Working with IF, ELSE and ELSE IF in Bash Shell Scripting
How do you write an if else condition in shell script? Can we use else if in shell script? Can you have multiple Elif in bash? How do you write multip...
Bash Loop Through a List of Strings
How do I iterate through a list in bash? How do I loop through an array in bash? How do I create a string list in shell script? How do you create an a...
Types of Shells in Linux
Types of Shells in Linux The Bourne Shell. The Bourne shell was developed by Stephen Bourne at Bell Labs and distributed as the shell for Unix version...