目前我有一个script.sh包含以下内容的文件:
#!/bin/bash
wget -q http://exemple.com/page1.php;
wget -q http://exemple.com/page2.php;
wget -q http://exemple.com/page3.php;
Run Code Online (Sandbox Code Playgroud)
我想一个一个执行命令,当前一个完成时。我是否以正确的方式做这件事?我以前从未使用过 Linux 并试图搜索它,但没有找到解决方案。