在shell脚本里面,怎样可以先后打开两个网页?
一般这样写的话:
#/bin/sh
"/usr/bin/firefox" "http://www.163.com"
"/usr/bin/firefox" "http://www.sina.com.cn"
163和sina会同时在浏览器中打开,那有什么方法可以只先打开163,等关闭以后再打开sina呢?
PS. 同样的问题,在批处理里面貌似是先后打开的:
@echo off
"C:\Program Files\internet Explorer\iexplore.exe" "http://www.163.com"
"C:\Program Files\internet Explorer\iexplore.exe" "http://www.sina.com.cn"
那批处理里面又怎样才能同时打开呢?