2013年9月17日 星期二

How to open a file in terminal?


How can I open a file in my terminal, like nautilus does it? - Ask Ubuntu
http://askubuntu.com/questions/157942/how-can-i-open-a-file-in-my-terminal-like-nautilus-does-it

xdg-open — opens a file or URL in the user's preferred application

Switch default application
$ xdg-mime query default application/pdf
AdobeReader.desktop
$ xdg-mime default evince.desktop application/pdf
$ xdg-mime query default application/pdf
evince.desktop

[SOLVED] How to open files from terminal
http://ubuntuforums.org/showthread.php?t=823620
gnome-open mypicture.jpg




沒有留言: