pass parameters in the shell script, using a way similar to cmd-param1=xxx-param2=xxx, how to get the corresponding parameters in shell.
pass parameters in the shell script, using a way similar to cmd-param1=xxx-param2=xxx, how to get the corresponding parameters in shell.
is usually passed parameters directly, and then in the shell script to get them respectively using $1 and so on. I don't know why you want to pass parameters in this way, or you can try to handle it interactively
. getopts or getopt.
Previous: Vue dynamic routing problem
Next: El-button--warning two-what kind of selector is this? From vue's element-ui.
bash-x ...
I have three centos servers. Through the shell script, I want A to execute a .sh script in C and B to execute a script, and then send their generated files to C after An and B have finished executing. Because the compilation and execution time is very l...