dcsimg
Linux Today: Linux News On Internet Time.




More on LinuxToday


Using Bash Case Statements for Complex Conditions

Jul 07, 2019, 10:00 (0 Talkback[s])
(Other stories by Steven Vona)

Learn how to use a case statement to selectively execute a commands based off of complex conditions. We explore the basic syntax of the case statement, the pattern termination operators, and using nocasematch shell option for case insensitive matching.

Learn how to use a case statement to selectively execute a commands based off of complex conditions.

Complete Story