Yes, There are lots of alternatives like : who | grep `id -un` who | grep bhasker or even i tried to do this !!! who > a grep `logname` a that WORKS !!!! ONLY this command "who | grep `logname`" does not work ! WHY ?
On Fri, 2007-03-02 at 12:16 +0200, Salvatore Iovene wrote: > On Fri, Mar 02, 2007 at 03:07:37PM +0530, Bhasker C V wrote: > > [EMAIL PROTECTED] ~]$ who | grep `logname` > > logname: no login name > > Usage: grep [OPTION]... PATTERN [FILE]... > > Try `grep --help' for more information. > > Weird. Consiedering that this works: > > who | grep `whoami` > > Where's the catch? > -- Bhasker C V Registered Linux user: #306349 (counter.li.org) The box said "Requires Windows 95, NT, or better", so I installed Linux. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]