ubuntu中,终端命令行快速打开html文件方法

ubuntu中,终端命令行快速打开html文件方法

在terminal中,用命令快速调用浏览器打开html文件,而非通过鼠标点击的方式。


firefox浏览器

firefox prospero.html

chrome浏览器

chromium-browser prospero.html

或者直接用:

see profesor.html

see命令会直接用默认工具打开.html文件,一般是firefox

see命令同样可以去打开音乐,图片,.py,.c文件等。

原文地址:https://www.cnblogs.com/profesor/p/12555088.html