> <\body> \<#672C\>\<#57FA\>\<#7840\>>|\<#8FBE\>>>>> \<#503C\>\<#4E0E\>\<#66FF\>\<#6362\>> <\session|shell|default> <\input|Shell] > a=375 <\input|Shell] > hello=$a <\folded-io|Shell] > echo $hello <|folded-io> 375 <\input|Shell] > \; \<#91CF\>> <\description> \<#7F6E\>\<#53D8\>\<#91CF\>>\<#6BD4\>\<#5982\>\<#6216\>\<#8005\>\<#FF0C\>\<#66F4\>\<#591A\>\<#4F8B\>\<#5B50\>\<#53EF\>\<#4EE5\>\<#53C2\>\<#8003\> \<#7F6E\>\<#53C2\>\<#6570\>>\<#662F\>basename\<#FF0C\>\<#662F\>basename\<#4E4B\>\<#540E\>\<#7684\>\<#6240\>\<#6709\>\<#53C2\>\<#6570\> |||||> \<#6B8A\>\<#53C2\>\<#6570\>>\<#662F\>\<#547D\>\<#4EE4\>\<#3001\>\<#51FD\>\<#6570\>\<#6216\>\<#8005\>\<#811A\>\<#672C\>\<#672C\>\<#8EAB\>\<#7684\>\<#8FD4\>\<#56DE\>\<#72B6\>\<#6001\>\<#FF0C\>\<#4E00\>\<#822C\>\<#7528\>0\<#8868\>\<#793A\>\<#4E00\>\<#5207\>\<#6B63\>\<#5E38\> \<#652F\>> <\shell-code> if [ condition1 ];then \ \ \ \ command_series1 elif [ condition2 ];then \ \ \ \ command_series2 else \ \ \ \ default_command_series3 fi \<#73AF\>> <\description> \<#73AF\>\<#FF1A\>\<#4E0E\>Python\<#8BED\>\<#6CD5\>\<#76F8\>\<#8FD1\>> <\shell-code> for arg in `seq 10` do \ \ \ \ echo $arg done \<#73AF\>\<#FF1A\>\<#4E0E\>C\<#8BED\>\<#8A00\>for\<#8BED\>\<#6CD5\>\<#76F8\>\<#8FD1\>> <\shell-code> for ((a=1; a\=LIMIT; a++)) do \ \ \ \ echo -n "$a " done \<#73AF\>: \<#4E0E\>C\<#8BED\>\<#8A00\>while\<#8BED\>\<#6CD5\>\<#76F8\>\<#8FD1\>> <\shell-code> a=1 while ((a\=LIMIT)) do \ \ \ \ echo -n "$a " \ \ \ \ ((a += 1)) done <\shell-code> command \ input-file \ output-file \ \ \ \ # \<#8BFB\>\<#53D6\>\<#7136\>\<#540E\>\<#8986\>\<#76D6\> command \\ output-file \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ # \<#8FFD\>\<#52A0\> \<#6570\>> <\shell-code> # \<#5982\>\<#4F55\>\<#5B9A\>\<#4E49\>\<#51FD\>\<#6570\>1 function fun_name(){ \ \ \ \ command... } # \<#5982\>\<#4F55\>\<#5B9A\>\<#4E49\>\<#51FD\>\<#6570\>2 fun_name(){ # arg1 arg2 arg3 \ \ \ \ command... } \; # \<#51FD\>\<#6570\>\<#7684\>\<#5E94\>\<#7528\> fun_name $arg1 $arg2 $arg3 \; \; # \<#5F15\>\<#7528\>\<#89E3\>\<#9664\> fun_name(){ # arg1 \ \ \ \ eval "$1=hello" } fun_name arg1 \; # \<#4E0A\>\<#8FF0\>\<#4EE3\>\<#7801\>\<#7247\>\<#6BB5\>\<#7B49\>\<#4EF7\>\<#4E8E\>\ arg1=hello \<#8BD5\>> <\itemize> \<#7528\>\<#597D\>sh\<#547D\>\<#4EE4\> <\description> \<#68C0\>\<#67E5\>\<#811A\>\<#672C\>\<#8BED\>\<#6CD5\> \<#5728\>\<#6267\>\<#884C\>\<#524D\>\<#5C06\>\<#6240\>\<#6709\>\<#547D\>\<#4EE4\>\<#6253\>\<#5370\>\<#51FA\>\<#6765\> \<#5728\>\<#6267\>\<#884C\>\<#524D\>\<#5C06\>\<#6240\>\<#6709\>\<#547D\>\<#4EE4\>\<#5230\>\<#6253\>\<#5370\>\<#5230\>\<#9519\>\<#8BEF\>\<#8F93\>\<#51FA\>\<#FF0C\>\<#5E76\>\<#5728\>\<#547D\>\<#4EE4\>\<#524D\>\<#9762\>\<#52A0\>\<#4E0A\>\<#524D\>\<#7F00\> \<#5229\>\<#7528\> \<#5229\>\<#7528\> \<#884C\>> \<#5229\>\<#7528\>GNU Parallel<\footnote> \<#7801\>\<#98CE\>\<#683C\>> \<#5229\>\<#7528\>ShellCheck<\footnote> > <\references> <\collection> > > > > > > > > > > > > > <\auxiliary> <\collection> <\associate|toc> |math-font-series||1\<#8D4B\>\<#503C\>\<#4E0E\>\<#66FF\>\<#6362\>> |.>>>>|> |math-font-series||2\<#53D8\>\<#91CF\>> |.>>>>|> |math-font-series||3\<#5206\>\<#652F\>> |.>>>>|> |math-font-series||4\<#5FAA\>\<#73AF\>> |.>>>>|> |math-font-series||5IO> |.>>>>|> |math-font-series||6\<#51FD\>\<#6570\>> |.>>>>|> |math-font-series||7\<#8C03\>\<#8BD5\>> |.>>>>|> |math-font-series||8\<#5E76\>\<#884C\>> |.>>>>|> |math-font-series||9\<#4EE3\>\<#7801\>\<#98CE\>\<#683C\>> |.>>>>|>