摘要:
1.| 和 |||:输入了如下指令:command0 | command1,则command0的输出流入到command1中||:与&&的作用正好相反,是在执行到成功的指令时停止后续指令的执行。command0 || command1,如果command0执行成功,则command1不再执行。如果c 阅读全文
摘要:
for i in /etc/profile.d/*.sh ; do if [ -r "$i" ]; then if [ "${-#*i}" != "$-" ]; then . "$i" else . "$i" >/dev/null fi fidone 阅读全文