Re: Transferring current path in nautilus, file browser to command line ??
- From: Stefano Sabatini <stefano.sabatini-lala@xxxxxxxx>
- Date: Sat, 25 Nov 2006 19:31:55 +0100
On date Saturday 2006-11-25 12:30:53 -0500, William Case, wrote:
Hi;
I know there is a way or a command or something, which can be used to
insert the current path into a terminal command. But, I forget and
can't find it again.
e.g. Using the file browser I find a file I am looking for,
say /usr/applicationfile/foo. Now in the gterminal (open at the same
time) I want to $ cat 'foundfile/foo'. How do I automatically
insert /usr/applicationfile/foo
Remind me how, please ??
Not sure about what you want.
You may check the $PWD environment variable (Print Working Directory),
or the pwd corresponding command, that return the current path.
E.g.:
$ cd ~/foo
$ pwd
/home/username/foo
$ basename $PWD
foo
HTH
Cheers
--
Stefano Sabatini
Linux user number 337176 (see http://li.count.org)
_______________________________________________
gnome-list mailing list
gnome-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gnome-list
- Follow-Ups:
- Re: Transferring current path in nautilus, file browser to command line ??
- From: William Case
- Re: Transferring current path in nautilus, file browser to command line ??
- References:
- Transferring current path in nautilus, file browser to command line ??
- From: William Case
- Transferring current path in nautilus, file browser to command line ??
- Prev by Date: Transferring current path in nautilus, file browser to command line ??
- Next by Date: Re: Transferring current path in nautilus, file browser to command line ??
- Previous by thread: Transferring current path in nautilus, file browser to command line ??
- Next by thread: Re: Transferring current path in nautilus, file browser to command line ??
- Index(es):
Relevant Pages
|
|