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.
Scripting
- Bash scriptingBASHLinuxLinux BasicsLinux CommandsLinux Tips & TricksScriptingShell ScriptsUnix/Linux Beginners
Bash Scripting – For Loop Explained With Examples
By KarthickBy Karthick 4.4K viewsLoops are useful for automating repetitive tasks in Bash shell scripting. In this guide, we will learn about “for loop” with examples.
- Bash scriptingBASHLinuxLinux AdministrationLinux BasicsLinux CommandsScriptingShell ScriptsUnix/Linux Beginners
Bash Scripting – Functions Explained With Examples
By KarthickBy Karthick 10.1K viewsIn Bash shell scripting, functions are ways to group the set of instructions together…
- Bash scriptingBASHLinuxLinux AdministrationLinux BasicsLinux CommandsScriptingShell ScriptsUnix/Linux Beginners
Bash Scripting – Variables Explained With Examples
By KarthickBy Karthick 8.8K viewsThis guide explains about bash variables and its types in shell scripting with examples in Linux.
- Bash scriptingBASHBash TipsFAQLinuxLinux AdministrationLinux BasicsLinux CommandsLinux Tips & TricksScriptingShell ScriptsTips and TricksUnix/Linux Beginners
Bash Heredoc Tutorial For Beginners
By KarthickBy Karthick 5.6K viewsHereDoc, acronym for Here Document, is an input Redirection method to pass multiple inputs to a program or command in Bash.
- Bash scriptingBASHBash TipsFAQLinuxLinux AdministrationLinux BasicsLinux CommandsLinux Tips & TricksScriptingShell ScriptsUnix/Linux Beginners
Bash Redirection Explained With Examples
By KarthickBy Karthick 5.3K viewsWhat is Bash Redirection and how to work with Redirection in Bash with example commands.
- Shell ScriptsLinuxOpensourceProgrammingScriptingUtilities
How To Format Shell Programs Using Shfmt In Linux
By KarthickBy Karthick 9.1K viewsThis guide explains what is Shfmt, how to install Shfmt in Linux, and finally how to format shell programs using Shfmt in Linux.
- UbuntuCommand line utilitiesFAQLinuxLinux AdministrationLinux DistributionsOpensourceScriptingShell Scripts
Convert Ubuntu Into Rolling Release Using Rolling Rhino
By skBy sk 1.7K viewsArch Linux follows the rolling-release model to provide the latest and up-to-date stable versions…
- BASHBash scriptingBash TipsFAQLinuxLinux BasicsLinux CommandsLinux Tips & TricksLinux troubleshootingScriptingShell ScriptsTips and TricksTrouble shootingUnix/Linux Beginners
Fix “Exec format error” When Running Scripts With run-parts Command
By skThis brief tutorial explains how to fix “exec format error” when running scripts with run-parts command in Linux operating systems.
- Linux Tips & TricksLinuxLinux AdministrationLinux BasicsLinux CommandsScriptingShell ScriptsUnix/Linux Beginners
How To Run All Scripts In A Directory In Linux
By skBy sk 13K viewsThe other day I have been testing some basic shell scripts that I created…