Newbie: opening files form the command line

Dotan Cohen dotancohen at gmail.com
Tue Oct 4 16:45:35 UTC 2005


On 10/3/05, Toralf Lund <toralf at procaptura.com> wrote:
> > On 10/3/05, *Dotan Cohen* <dotancohen at gmail.com
> > <mailto:dotancohen at gmail.com>> wrote:
> >
> >     Although I have been using Fedora for almost a year now, I have had
> >     little reason to get too familiar with the command line. Noe that I
> >     feel like expanding my knowedge, I am trying to get used to the
> >     command line.
> >
> >     When I do ls, I can see a list of files. If there is a file, say
> >     phonenumbers.xls, that I want to open, but do not know what program
> >     opens it, how can I do the equivelent of clicking on it, so that it
> >     opens in the default program for it's type? Even for files that I do
> >     know what program to use, it would make life easier. Thanks all in
> >     advance for your replies.
> >
> >     Dotan Cohen
> >     http://technology-sleuth.com/internet_technology/websafety.php
> Yang Xiao wrote:
>
> > man file
>
> Not sure that's really what he needs. I'd rather suggest doing
>
> gnome-open phonenumbers.xls
>
> (For the actual file open.) No manpage for this tool, I think, but it's
> probably described somewhere in the help system.
>
> -T
>

Thanks, this is almost exactly what I am looking for. However, it uses
the gnome defaults. As I use KDE, I have only set up the KDE defaults.
Is there a KDE equivelent? The obvious kde-open file.txt does not
work.

Dotan Cohen
http://www.technology-sleuth.com/mobile/cellphones.php




More information about the fedora-list mailing list