[HPADM] RE: Capture 'pwck' & 'grpck' command output

Masse.Olivier_at_hydro.qc.ca
Date: 06/08/05

  • Next message: Masse.Olivier_at_hydro.qc.ca: "[HPADM] Sorry:Capture 'pwck' & 'grpck' command output"
    To: stepchung@gmail.com, hpux-admin@dutchworks.nl
    Date: Wed, 8 Jun 2005 14:30:54 -0400 
    
    

    pwck >/tmp/file 2>&1

    2>&1 redirects standard error to the file

    --
    Olivier Massé
    Équipe SAP - Planification et projets d'infrastructures
    Exploitation des TI, Hydro-Québec
    Masse.Olivier@hydro.qc.ca
     
    Note aux correspondants externes à Hydro-Québec: Utiliser l'adresse
    omhydro@mayoxide.com pour tout envoi contenant un fichier attaché.
    Note to senders external to Hydro-Québec: Please use the address
    omhydro@mayoxide.com for any e-mail containing a file attachment
    -----Message d'origine-----
    De : hpux-admin-owner@DutchWorks.nl [mailto:hpux-admin-owner@DutchWorks.nl]
    De la part de Stephanie C
    Envoyé : mercredi 8 juin 2005 14:02
    À : HP-UX Group
    Objet : [HPADM] Capture 'pwck' & 'grpck' command output
    Hi There,
    How do I capture/redirect the output from command 'pwck' and 'grpck' to a
    file.
    "pwck > filename" does not work. "filenane" is nothing in it.
    Thanks.
    Stephanie
    --
                 ---> 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)
    --
                 ---> 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: Masse.Olivier_at_hydro.qc.ca: "[HPADM] Sorry:Capture 'pwck' & 'grpck' command output"