[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] Symb. Link
- Subject: Re: [cobalt-users] Symb. Link
- From: "Rob Evans" <robe@xxxxxxxxxxxxxxxxxxx>
- Date: Wed Jun 7 16:44:29 2000
- Organization: Fujitsu Australia Software Technology
----- Original Message -----
From: "Brian Curtis" <admin@xxxxxxxxxxx>
To: <cobalt-users@xxxxxxxxxxxxxxx>
Sent: Wednesday, 7 June 2000 23:56
Subject: Re: [cobalt-users] Symb. Link
> I should have mentioned that it'd be easier to make sure you're located in
> the directory where you want the symlink to exist. Then you can just use:
>
> ln -s /path/and/name/of/original/file name_of_symlink
>
> Which will create the symlink in the current directory.
Even better, if you want the symlink to have the same name as the original
file, and you're located in the directory where you want the symlink to
exist:
ln -s /path/and/name/of/original/file .
Note, that's a dot at the end of the instruction.
Also note, that you don't have to spell out the original file in full - you
can use wild-card characters in a pattern that will uniquely identify the
file.
For example, suppose your file is called "a_file_with_a_really_long_name"
and there are no other file names in its directory containing the string
"lly", then the following would be sufficient (where "path" is the path to
the file):
ln -s /path/*lly* .
Regards, Rob E.