Shell Scripting Tutorial for Beginners 12 - The case statement
For more detailed Tutorial visit -
The case statement is used to execute statements based on specific values. Often used in place of an if statement, if there are a large number of variable is compared with the values using the shell wildcards ( ? * […] ) , NOT regular expressions. All the statements are executed for the first matching value until the ending ;;. If no value matches, then the default *) case is executed, if present.
case statement:
Specify number of possible values for variable
Statement block executed for matching value
Only one block executed
★★★Top Online Courses From ProgrammingKnowledge ★★★
Python Programming Course ➡️ ⚫️
Java Programming Course ➡️ ⚫️ ...
#ProgrammingKnowledge #Bourne_Shell_and_Programming #Bash_scripting #Unix #Tutorials #Learning #System #OS #Beginners #Basics
20170321
dW3oYQbNFyI
1 view
212
54
2 months ago 00:03:32 1
Cold Forged Betrayal (Warhammer 40k song)
2 months ago 00:05:24 1
Gimp - 27 - création de flèche - arrow-set-size
2 months ago 00:05:40 1
Tinkercad 2024 - 06 - Alignement
2 months ago 00:52:46 1
Dubai Museum of the Future Full Tour - World’s Most Beautiful Building (4K Travel Video)
2 months ago 00:03:41 1
LORN - ANVIL [Official Music Video]
3 months ago 00:05:48 1
Tinkercad 2024 - 05 - Couleur
3 months ago 00:10:28 1
Tinkercad 2024 - 04 - Regrouper - Dissocier
3 months ago 00:08:04 1
Nouvelle vidéo sur
3 months ago 00:04:17 1
Tinkercad 2024 - 02 - Menu Edition
3 months ago 00:07:56 1
Tinkercad 2024 - 01 - Outils de navigation
3 months ago 01:56:37 2
Практика языка C (МФТИ, 2023-2024). Допсеминар: unix shell
3 months ago 00:18:28 1
Tinkercad - Découverte de l’interface en 2024
3 months ago 00:08:57 2
Russia’s New Scrap Metal Tank
3 months ago 00:25:05 1
Kamala Harris LIED About Her Black Grandparents - Candace Owens BOMBSHELL Discovery
4 months ago 00:50:01 1
MoonWood: World’s Healthiest, Safest, and most Sustainable Solid wood building system,Thoma Holz100.
4 months ago 00:05:44 1
Blender 4.X - Addons F2 - Débutante(e)
4 months ago 00:05:59 2
Blender 4.X - Addons - Débutante(e)
4 months ago 00:05:01 1
Blender 4.X - Bevel Clamp Overlap - Débutante(e)
4 months ago 02:20:39 3
How to Build and Deploy a Portfolio with that Will Land You Jobs
4 months ago 00:31:24 1
A First Look At StormOS | Easy to Install, Out of the Box Arch Linux Experience
5 months ago 00:03:38 1
Where’s My Bible - Rahko (Official Music Video)
5 months ago 00:11:55 2
Blender 4.X - Sélection - Débutante(e)
5 months ago 00:00:57 1
Acorn Weevils: Nature’s Tiny Drillers with Amazing Skills!
5 months ago 00:31:16 1
Linux для начинающих / Урок #11 – Bash Shell скрипты