commandlinefu.com is the place to record those command-line gems that you return to again and again.
You can sign-in using OpenID credentials, or register a traditional username and password.
Subscribe to the feed for:
Another step to bring cli and gui closer together: gnome-open
It opens a path with the default (gui) application for its mime type.
I would recommend a shorter alias like alias o=gnome-open
[opens the current folder in nautilus / your default file browser]
[opens some.pdf in evince / your default pdf viewer]
[opens the trash with nautilus]
[opens commandlinefu in your default webbrowser]
There is 1 alternative - vote for the best!
open [path] in the default program, regardless of which Desktop Environment you use (KDE, GNOME, etc.)
Works on all "freedesktop.org" compatible desktop environments
If you can do better, submit your command here.
You must be signed in to comment.