In this guide, we will learn how to work with conditional statements in bash, how to use file test, integer, and string operators. And finally, we will discuss how to write compact conditional statements using logical AND and logical OR operators.
Learn Shell scripting
- Bash scriptingBASHBash TipsLinuxLinux AdministrationLinux BasicsLinux CommandsLinux Tips & TricksScriptingShell ScriptsUnix/Linux Beginners
String manipulation is one of the fundamental concepts of bash scripting. This guide explains how to create and manipulate strings in bash.
- Bash scriptingBASHLinuxLinux BasicsLinux CommandsScriptingShell ScriptsUnix/Linux Beginners
Bash supports three types of loops, namely for loop, while loop and until loop. In this guide, we will learn about while and until loops.