Shell Scripting Tutorial for Beginners 13 - The case statement Example
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 ( ? * […] ) .
[a-z] )
specifies a range which matches any lowercase letter from “a“ to “z“
[A-Z] )
specifies a range which matches any lowercase letter from “A“ to “Z“
[0-9] )
specifies a range which matches any value 0 to 9“ ;;
? )
Matches a string with exactly one character like a, !, and so on.
* )
Matches a string with one or more characters (a nonempty string).
★★★Top Online Courses From ProgrammingKnowledge ★★★
Python Programming Course ➡️ h ...
#ProgrammingKnowledge #Bourne_Shell_and_Programming #Bash_scripting #Unix #Tutorials #Learning #System #OS #Beginners #Basics
20170322
dqaMU4v6KvQ
1 view
242
49
6 months ago 00:52:46 1
Dubai Museum of the Future Full Tour - World’s Most Beautiful Building (4K Travel Video)
6 months ago 00:03:20 1
Superbe PROMO - Formation gratuite - A la découverte de Linux - Pendant 5 jours
6 months ago 00:11:28 1
Blender 3.x et 4.0 - Livre Blender - Création fiole - Partie 01 - Débutants
6 months ago 00:04:32 5
Wormed - “Automaton Virtulague“ (Official Music Video) 2024
6 months ago 00:03:41 1
LORN - ANVIL [Official Music Video]
7 months ago 00:41:25 2
HackTheBox - Visual
7 months ago 00:01:40 1
[Counter-Strike 2 Script] Third Person Mode
7 months ago 00:08:07 1
Blender 3.x et 4.0 - Livre Blender - Ressources téléchargeables
7 months ago 00:05:42 6
A la découverte de Linux - Formation
7 months ago 00:09:22 1
C# Tutorial 37: How to add a (Windows Media Player) Video clip to the form
7 months ago 00:12:03 1
「ロックマンX DiVE」Rockman X DiVE — Chapter 8 (Cut-scenes) JP
7 months ago 00:34:30 1
Penny Kelly, ND - Becoming Someone New - PostScript Interview with John L. Petersen