macOS使用terminal打开google/opera/safari/默认浏览器查看html文件内容的方法
(认知有限,如有不妥,还请告知,欢迎讨论)
使用默认浏览器打开指定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