From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: joe joe Newsgroups: gmane.os.tru64.managers Subject: insert text into .profile Date: Wed, 19 Feb 2003 17:30:07 -0800 (PST) Sender: tru64-unix-managers-owner@ornl.gov Message-ID: <20030220013007.64615.qmail@web41107.mail.yahoo.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1045704673 28100 80.91.224.249 (20 Feb 2003 01:31:13 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 20 Feb 2003 01:31:13 +0000 (UTC) Return-path: Original-Received: from sws1.ctd.ornl.gov ([160.91.22.101]) by main.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 18lfXy-0007De-00 for ; Thu, 20 Feb 2003 02:30:47 +0100 Original-Received: (qmail 21214 invoked by uid 5); 20 Feb 2003 01:30:37 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 21205 invoked by uid 49493); 20 Feb 2003 01:30:36 -0000 Original-Received: from daytona5891@yahoo.com by sws1 by uid 49491 with qmail-scanner-1.14 (clamscan: 0.54. spamassassin: 2.50-cvs. Clear:SA:0(1.9/5.0):. Processed in 0.35084 secs); 20 Feb 2003 01:30:36 -0000 Original-Received: from unknown (HELO emroute3.ornl.gov) (160.91.4.110) by 0 with SMTP; 20 Feb 2003 01:30:36 -0000 Original-Received: from emroute3.ornl.gov (localhost [127.0.0.1]) by emroute3.ornl.gov (PMDF V6.2 #30669) with ESMTP id <0HAL001U12UZGT@emroute3.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Wed, 19 Feb 2003 20:30:35 -0500 (EST) Original-Received: from web41107.mail.yahoo.com (web41107.mail.yahoo.com [66.218.93.23]) by emroute3.ornl.gov (PMDF V6.2 #30669) with SMTP id <0HAL0098N2U743@emroute3.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Wed, 19 Feb 2003 20:30:08 -0500 (EST) Original-Received: from [199.79.64.101] by web41107.mail.yahoo.com via HTTP; Wed, 19 Feb 2003 17:30:07 -0800 (PST) Original-To: tru64-unix-managers@ornl.gov Xref: main.gmane.org gmane.os.tru64.managers:3384 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:3384 from: daytona5891@yahoo.com Greetings: As a new sys admin, I am in need of some scripting help. I need to change the path in the .profile of all my users from: . /lawson/802/law/system/profile to . /lawson/law/system/profile I could insert the new part, 802/, by hand, but would prefer a quick script. Thanks for any help you can give me. Joe Joe Sheppard __________________________________________________ Do you Yahoo!? Yahoo! Shopping - Send Flowers for Valentine's Day http://shopping.yahoo.com