From: Peter.Mayne@cao.mts.dec.com
Subject: Re: Updating .profile en masse
Date: 6 Dec 1994 06:12:54 GMT [thread overview]
Message-ID: <3c0vd6$95o@funlwb.stl.dec.com> (raw)
In-Reply-To: 3bvrlg$ruq@mustang.smcvt.edu
In article <3bvrlg$ruq@mustang.smcvt.edu>,
goodwin@smcvax.smcvt.edu (Dave Goodwin) wrote:
> I'm showing my newbie status here, but we've not been on UNIX of any type
> for very long. I need to add a line to the .profile of all our users and
> am wondering if there's a quick way to do so? Thanks for the help...
>
> Dave
Use /etc/profile instead? From man sh (and similar in man ksh):
When you log in, the shell is called to read your commands. Before it does
that, however, it checks to see if a file named /etc/profile exists on the
system, and if it does, it reads commands from it (this file sets variables
needed by all users). After this, the shell looks for a file named .pro-
file in your login directory. If it finds one, it executes commands from
it. Finally, the shell is ready to read commands from your standard input.
PJDM
--
Peter Mayne | My statements, not Digital's.
Digital Equipment Corporation |
Canberra, ACT, Australia | "AXP!": Bill the Cat
next prev parent reply other threads:[~1994-12-06 6:12 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
1994-12-05 20:02 Updating .profile en masse Dave Goodwin
1994-12-06 6:12 ` Peter.Mayne [this message]
1994-12-06 18:20 ` Peter da Silva
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