From owner-freebsd-questions Wed Aug 5 12:07:22 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA07080 for freebsd-questions-outgoing; Wed, 5 Aug 1998 12:07:22 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from lewistown.tein.net (lewistown.tein.net [206.252.246.1]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA07073 for ; Wed, 5 Aug 1998 12:07:20 -0700 (PDT) (envelope-from gary@tein.net) Received: from tein.net (tech.tein.net [206.252.246.29]) by lewistown.tein.net (8.9.0/8.9.0) with ESMTP id NAA29782 for ; Wed, 5 Aug 1998 13:08:24 -0600 (MDT) Message-ID: <35C8AD55.CF71CB9C@tein.net> Date: Wed, 05 Aug 1998 13:07:01 -0600 From: Gary Landers X-Mailer: Mozilla 4.04 [en] (WinNT; U) MIME-Version: 1.0 To: "q's" Subject: Re: Simple UNIX question References: <35C8871D.392D5FF6@tein.net> <35C8916C.B87B5809@graphnet.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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