Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 05 Aug 1998 13:07:01 -0600
From:      Gary Landers <gary@tein.net>
To:        "q's" <freebsd-questions@FreeBSD.ORG>
Subject:   Re: Simple UNIX question
Message-ID:  <35C8AD55.CF71CB9C@tein.net>
References:  <35C8871D.392D5FF6@tein.net> <35C8916C.B87B5809@graphnet.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Thanks to all, it ansewered my questions
Gary

Roman Katsnelson wrote:

> Gary Landers wrote:
> >
> > how do I create shortcuts or aliases or whatever it is called when a
> > file name in a directory listing refers to another file or location.
> >
> > a listing in /usr/local/bin show up like this
> > perl@ -> /usr/local/bin/perl5.00404
>
> the command is ln (for link) -- you can create a hard link or a symbolic
> link. a hard link will physically copy the file to be linked to to the
> other location. a symbolic link will create a different file which will
> only point to the original file.
>
> to create a hard link called myfoo.la to /usr/local/bin/foo.la in your
> current directory type:
>
> ln /usr/local/bin/foo.la myfoo.la
>
> to make it a symbolic link type:
>
> ln -s /usr/local/bin/foo.la myfoo.la
>
> Good luck,
>
> man ln further info as always,
>
> Roman
>
> --
>          _________________________________________
>         |         Roman Katsnelson                |
>         |         UNIX Network Engineer           |
>       _ |         Graphnet, Inc.                  | _
>      / )|_________________________________________|( \
>     / / |  "Consistency is the hobgoblin of       | \ \
>   _( (_ |   small minds.                          | _) )_
>  (((\ \>|_/-)         -- Ralph Waldo Emerson  (-\_|</ /)))
>  (\\\\ \_/ /___________________________________\ \_/ ////)
>   \       /    Email: romank@graphnet.com       \       /
>    \    _/    Member of http://www.wait.org      \_    /
>    //////  ====================================   \\\\\\
>
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message



--
Gary Landers
TEIN Network



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?35C8AD55.CF71CB9C>