[HPADM] Unix shell

From: Ben Le (ble@pcc.edu)
Date: Tue Dec 02 2003 - 16:20:39 EST


Hi List,

I want to replace a string in a user file directory (3000+ users). The file
name is the same (month.log) but the content is different. 'Sed' is not
working for me because I have to redirect to different file name.

I'd like to replace 'blue' with 'red' in file 'month.log' in 3000+ users
directories. All users are under /home directory. How do I do this. Thanks
for your help.

Ben

__________________________________________
Benjamin Le
Sr. Systems Administrator
Information Technology Services
Portland Community College
Voice:(503)-977-4736 Fax:(503)-977-4987
Mailto:ble@pcc.edu http://www.pcc.edu

--
             ---> Please post QUESTIONS and SUMMARIES only!! <---
        To subscribe/unsubscribe to this list, contact majordomo@dutchworks.nl
       Name: hpux-admin@dutchworks.nl     Owner: owner-hpux-admin@dutchworks.nl
 
 Archives:  ftp.dutchworks.nl:/pub/digests/hpux-admin       (FTP, browse only)
            http://www.dutchworks.nl/htbin/hpsysadmin   (Web, browse & search)


This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 11:02:37 EDT