Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
From: Gunnar Gaubatz <gaubatz@wpi.edu>
Subject: Re: Help: Apache Web server
Date: 2000/09/24	[thread overview]
Message-ID: <Pine.OSF.4.21.0009241656070.12504-100000@ernie.WPI.EDU> (raw)
In-Reply-To: 39CD18A6.330D5D82@apk.net


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





  reply	other threads:[~2000-09-24  4:00 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-09-19  4:00 Help: Apache Web server Pixel
2000-09-19  4:00 ` sideband
2000-09-19  4:00   ` Marble Head
2000-09-20  3:59     ` Pixel
2000-09-20  4:00       ` sideband
2000-09-21  4:00       ` Sally Woolrich
2000-09-20  4:00     ` Mamata Desai
2000-09-21  4:00       ` Marble Head
2000-09-22  0:11         ` James T. Dennis
2000-09-23  4:00         ` Gunnar Gaubatz
2000-09-23  4:00           ` Pat Gunn
2000-09-24  4:00             ` Gunnar Gaubatz [this message]
2000-09-19  4:00   ` Pixel
2000-09-19  4:00     ` sideband
2000-09-19 14:12       ` Pixel
2000-09-19 14:14       ` Pixel
2000-09-19  4:00         ` sideband
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox