[HPADM] Unix shell

From: Ben Le (ble_at_pcc.edu)
Date: 12/02/03

  • Next message: Ben Le: "[HPADM] [SUMMARY] Unix shell"
    Date: Tue, 02 Dec 2003 13:20:39 -0800
    To: hpux-admin@dutchworks.nl
    
    

    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)
    

  • Next message: Ben Le: "[HPADM] [SUMMARY] Unix shell"

    Relevant Pages

    • [HPADM] Re: Users not active
      ... Systems Administrator ... Information Technology Services ... Portland Community College ... To subscribe/unsubscribe to this list, ...
      (HP-UX-Admin)
    • [HPADM] .history file
      ... My problem is it creates a new .history file when user gets new ... Information Technology Services ... Portland Community College ... To subscribe/unsubscribe to this list, ...
      (HP-UX-Admin)