Return to BSD News archive
Newsgroups: comp.unix.bsd Path: sserve!manuel!munnari.oz.au!spool.mu.edu!caen!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!princeton!tex.Princeton.EDU!subbarao From: subbarao@tex.Princeton.EDU (Kartik Subbarao) Subject: Re: who on BSD error? Message-ID: <1992Sep22.152319.26147@Princeton.EDU> Sender: news@Princeton.EDU (USENET News System) Nntp-Posting-Host: tex.princeton.edu Reply-To: subbarao@fc.hp.com Organization: putchar('I'); for (i = 0; i < 3; i++) putchar('E'); References: <1992Sep22.144954.20193@seq.uncwil.edu> Date: Tue, 22 Sep 1992 15:23:19 GMT Lines: 16 In article <1992Sep22.144954.20193@seq.uncwil.edu> faldor@seq.uncwil.edu (Sherman Brown) writes: > > Is there an error with the 'who' command on bsd? I seem to get >who -c to work fine, but the regular 'who' doesn't. It says it can't >find the namelist. I'm sure that I'm just forgetting to put the >"namelist" where it is supposed to be. Any help would be greatly Apparently, your version of who does not have the -c option. In general, any argument to who is taken as the name of a file containing a bunch of struct utmp's, to print out in the familiar manner. By default, this file, or 'namelist', is /etc/utmp. You're trying to ask who to look for a file called -c, and parse that as it would /etc/utmp. Pretty lame diagnostic message, eh? -Kartik