[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [Cs-club] Linux question
What you are most likely looking for is a symbolic link. As for the
specifics on how to do this, my guess is that you want to symlink some sort
of libraries into your home directory, a sample way of doing this would be:
~$ ln -s /home/perrie/431/public/ perrie_libs
At least, thats my guess. You may also want to take a peek at the info or
man page for ln(1), if you dont have them, the main parts you need follow.
=begin quote
ln [OPTION]... TARGET [LINKNAME]
"Symbolic links" ("symlinks" for short), on the other hand, are a
special file type (which not all kernels support: System V release 3
(and older) systems lack symlinks) in which the link file actually
refers to a different file, by name. When most operations (opening,
reading, writing, and so on) are passed the symbolic link file, the
kernel automatically "dereferences" the link and operates on the target
of the link. But some operations (e.g., removing) work on the link
file itself, rather than on its target. *Note Symbolic Links:
(library)Symbolic Links.
`-s'
`--symbolic'
Make symbolic links instead of hard links. This option merely
produces an error message on systems that do not support symbolic
links.
=end quote
There are many more options, and another entire syntax for calling ln(1),
but those are not necessary here.
Good luck,
hachi
-----Original Message-----
From: cs-club-admin@lists.uwosh.edu
[mailto:cs-club-admin@lists.uwosh.edu]On Behalf Of Brian Haynes
Sent: Wednesday, September 04, 2002 8:45 PM
To: cs-club@list.acs.uwosh.edu
Subject: [Cs-club] Linux question
Hi all,
After putzing around in the man and info files I'm kindof stuck on this
question. In fact, because of restrictions on me on these lab computers, I
might not even be able to do what I want to... What I want to do is
essentially remount or link to, or something, one directory into another. I
tried using mount and the system tells me only root can do that. Basically,
all of the stuff for the compilers class is going to be in
/home/perrie/431/public/ and it would be nice, instead of having to type all
that, if I could just get to that stuff from a 431/public directory in my
home directory. If anyone knows how I might be able to do this on the Linux
lab computers, please let me know.
-Brian
_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com
_______________________________________________
Computer Science Club's mailing list
cs-club@list.acs.uwosh.edu