Re: Creating shortcuts

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Ankush Grover wrote:

On Fri, 11 Mar 2005 07:55:23 +0000, Paul Howarth <paul@xxxxxxxxxxxx> wrote:


On Thu, 2005-03-10 at 13:18 -0500, Nat Gross wrote:


Paul Howarth wrote:



Nat Gross wrote:



<snip>



2. re: shortcuts. How do I get my link to display the true path? I
have a symlink to /usr/share/xxx. When I browse this (also at a
terminal prompt) , it shows the path as
"/home/nat/Desktop/theLinkName", but many times I prefer to have it
show the true path, "/usr/share/xxx".


Re: appearance on the desktop; no idea (I never create shortcuts on
the desktop myself - just out of habit rather than because I think
it's a bad thing to do [which I don't]). At the terminal prompt, if
you use the "-L" option to "ls", it'll show you details of the file
being linked to rather than the details of the link itself.

Paul.







I meant something else. If you cd into the link, or if you click on the
link from a file browser, although the link target is indeed displayed,
the path displayed in the browser (or as part of the PROMPT in terminal)
is the link name, not the real target path.
(Desktop was just an example. This is true regardless of location.)
[By the way, this is not a high-priority question. Just a quickie, if
possible.]


You could fix this at the command line by using "cd `pwd`". You'd have
to fiddle with aliases for "cd" in your ~/.bashrc to have this happen
automatically.

Paul.
--




You can create shortcuts like this S=/usr/share/xxxx
export S


in the .bash_profile

S=/usr/share/xxx
export S

whenever you type $S on the command prompt you will go to the
directory /usr/share/xxx.

Regards

Ankush



That's neat. Thanks.
-nat


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux