In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-23 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
This article is a cloud computing learning route tutorial code notes on case multi-conditional judgment syntax.
Case variable in
Mode 1)
Command sequence 1
Mode 2)
Command sequence 2
Mode 3)
Command sequence 3
11.*)
No matching post command sequence
13.esac
The first line: declare that the case keyword invokes the case syntax, followed by a "variable" that is generally the user's input value, and in represents a match from each pattern below
Lines 2-4: output or execution of commands after matching to "mode 1", mode 1: usually characters or numeric values
Lines 11-12: when the character entered by the user does not have a matching pattern, directly execute or print the command or statement under *)
Develop system tools
[root@bavdu shell_s] # vim system_tools
#! / usr/bin/env bash
#
Author: bavduEmail: bavduer@163.comGithub: https://github.com/bavduDate: 2019//
Cat
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.