You may try xdg-open

xdg-open ~
xdg-open ~/data/foo.jpg
xdg-open http://jsoftware.com

Oleg Kobchenko wrote:
Is there a commend-line launcher in Linux that
will open default application for passed parameter
depending on whether it is URL, file or folder and
based on its extension or mime type.

For example in Window there "start" and on Mac
there is "open", which are equivalent of double-clicking
the item in file explorer. For example,

  start d:\j602                    - opens folder in explorer
  start d:\j602\bin\installer.txt  - opens text editor
  start d:\j602\help.htm           - opens web browser
  start http://jsoftware.com       - opens web browser



      
____________________________________________________________________________________
Looking for last minute shopping deals? Find them fast with Yahoo! Search. http://tools.search.yahoo.com/newsearch/category.php?category=shopping
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm


----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to