Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
关于通过 ssh 运行 script.sh
#!/bin/bash /usr/local/cpanel/scripts/cpbackup clamscan -i -r --remove /home/ exit
这是否意味着运行 /usr/local/cpanel/scripts/cpbackup 并在完成后运行 clamscan -i -r --remove /home/
或者同时运行两个命令???
除非任何命令“守护”自身,否则脚本中的命令按顺序一次运行一个。