From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f8c9b,148475823a01fd49 X-Google-Attributes: gidf8c9b,public X-Google-Thread: 111c93,148475823a01fd49 X-Google-Attributes: gid111c93,public X-Google-Thread: 10b612,148475823a01fd49 X-Google-Attributes: gid10b612,public From: Gunnar Gaubatz Subject: Re: Help: Apache Web server Date: 2000/09/24 Message-ID: #1/1 X-Deja-AN: 673631708 References: <39c7b02e@news.alphalink.com.au> <39C7AFF1.DECEEC28@nospam.guacamole.com> <39CA654B.9B820291@nospam.guacamole.com> <39CD18A6.330D5D82@apk.net> Content-Type: TEXT/PLAIN; charset=US-ASCII Organization: Worcester Polytechnic Institute Mime-Version: 1.0 Newsgroups: comp.os.linux.alpha,comp.unix.questions,comp.unix.ultrix On Sat, 23 Sep 2000, Pat Gunn wrote: > Gunnar Gaubatz wrote: > > > > The latter. The "~" character is an abbreviation for /home/, hence ~user > > means /home/user. > > Not exactly. It actually looks for the home directory in /etc/passwd (or whatever) > using getpwuid(). If your home directories arn't under /home, or if a few users have > a home directory in an odd place, the ~ notation will find and be replaced by their > home directory correctly. Try > > ls ~games/ > > to see what I mean. You're right. I didn't mean the literal string "/home/", but rather the location of the home directory. I figured it would be easier to understand this way, since most people have their homedir in /home/. Greetings, Gunnar -------------------- Gunnar Gaubatz --------------------- _ ----- 87 Park Ave Apt.7, Worcester, MA 01605, U.S.A ----- / \ + - mailto:gaubatz@wpi.edu - mailto:gunnar.gaubatz@gmx.de - |/o\| H - Graduate student of Electrical & Computer Engineering - |###_/ \_ ----------- Worcester Polytechnic Institute ------------- |__|/ # \| ------- W P I