macOS使用terminal打開google/opera/safari/默認(rèn)瀏覽器查看html文件內(nèi)容的方法
(認(rèn)知有限,如有不妥,還請(qǐng)告知,歡迎討論)
使用默認(rèn)瀏覽器打開指定html文件
open <file1.html> <file2.html>
使用google瀏覽器打開指定html文件
open -a "/applications/Google Chrome.app" <file1.html> <file2.html>
使用Opera瀏覽器打開指定html文件
open?-a?"/applications/Opera.app"?<file1.html> <file2.html>
使用Safari瀏覽器打開指定html文件
open?-a?"/applications/Safari.app"?<file1.html> <file2.html>
=END=
=reference=
[1]https://superuser.com/questions/85151/how-to-open-a-browser-from-terminal
標(biāo)簽: