佚名 通过本文向大家介绍了ubuntu系统常用命令,ubuntu系统更新命令,ubuntu系统命令,ubuntu系统升级命令,ubuntu系统重启命令等相关知识,希望对您有所帮助,也希望大家多多支持linkedu.com
在Ubuntu下,通常用命令行打开文本文件,比如用命令gedit、more、cat、vim、less。但当需要打开其他格式文件时,比如pdf、jpg、mp3格式文件,咱们通常做法是进入到文件所在的目录,双击打开,很影响效率。事实上,可以通过命令xdg-open(opens a file or URL in the user's preferred application)打开这些格式文件,甚至是网页,像打开文件一样简单。
先举两个例子:
xdg-open is for use inside a desktop session only. It is not recommended to use xdg-open as root. </div>
先举两个例子:
xdg-open is for use inside a desktop session only. It is not recommended to use xdg-open as root. </div>