Open Lanttcat opened 5 years ago
pstree查看进程树
tty
";"分号用法
// 从左到右的顺序,顺序执行,彼此之间无影响
command1 ; command2
"| "管道符
上一条命令的输出,作为下一条命令参数
command1 | command2
"&"符号
&放在启动参数后面表示设置此进程为后台进程
command1 &
"&&"符号用法
// 命令之前逻辑与,用于下一条命令依赖前一条命令是否执行成功
command1 && command2 [&& command3 ...]
// 细节待补充
"||"符号用法
// 逻辑或,只要有一个命令返回真,后面的命令就不会执行
command1 || command2 [|| command3 ...]
待补充~