home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / unix / shell / 3938 < prev    next >
Encoding:
Text File  |  1992-09-13  |  830 b   |  24 lines

  1. Newsgroups: comp.unix.shell
  2. Path: sparky!uunet!munnari.oz.au!metro!steam.chem.su.oz.au!wonga
  3. From: wonga@steam.chem.su.oz.au (Adrian Wong)
  4. Subject: Alias and awk variables
  5. Message-ID: <1992Sep14.033654.11186@ucc.su.OZ.AU>
  6. Sender: news@ucc.su.OZ.AU
  7. Nntp-Posting-Host: steam.chem.su.oz.au
  8. Organization: Dept. of Theoretical Chemistry, University of Sydney
  9. X-Newsreader: Tin 1.1 PL5
  10. Date: Mon, 14 Sep 1992 03:36:54 GMT
  11. Lines: 11
  12.  
  13. How do make this command into a csh alias,
  14.  
  15. ps -ef | awk '$1 !~ /root/ {print $0}'
  16.  
  17. I've tried almost every permutation of backslashes and single/double
  18. quotes and can't get it to work.
  19.  
  20.  
  21. -----------------------------------------------------------------------------
  22. Adrian Wong, Dept.of Theoretical Chemistry     wong_a@summer.chem.su.oz.au
  23. University of Sydney NSW 2006 Australia        061-2-692 4137
  24.