Shell Learning 15 days (Case statement) - 04day

(A) pattern matching case statement

vi quickly commented a code faster shortcuts: ctrl + v viewing mode selection code in the code faster shift + i # fast first row insertion, press Esc to. 

case

case can not compare the size of the string is matched line. Mode or not added quoted

Make a simple case of jumpserver

A corresponding signal is ignored keyboard input - trap "" HUP OUIT

Key authentication: ssh-keygen ssh-copy-id web1

There is a script springboard machine is very simple. Now not so much a virtual machine, such as the conditions allow this script to write.

case and then implement a simple toolbox

Colon: returns true always true and 0, such as: the while: while true is equivalent to

 

 

 

20200214

 

Published 15 original articles · won praise 0 · Views 3038

Guess you like

Origin blog.csdn.net/xx_ay/article/details/104311525