开发者

command line to open a window

using command line, how can i open a window containing the folder?

I am looking for a unix command similar to Mac:

$> o开发者_如何学Pythonpen /tmp

That command will open /tmp in an (UI) window.

So what's the equivalent in linux? I am currently using Debian.


To open a folder (or any type of file/URL) with the preferred application in a Desktop Environment independent way, use xdg-open:

xdg-open /tmp


In Ubuntu, with Gnome, you'd do

nautilus /tmp

Under KDE, I guess you'd do

konqueror /tmp

This blog post talks about alternatives to nautilus and konqueror.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜