I have logname command give me this output
[EMAIL PROTECTED] ~]$ logname
bhaskerv

and say i execute this command

[EMAIL PROTECTED] ~]$ echo `logname`
bhaskerv

till this it is all fine

BUT
[EMAIL PROTECTED] ~]$ who | grep `logname`
logname: no login name
Usage: grep [OPTION]... PATTERN [FILE]...
Try `grep --help' for more information.


is there anything i am doing wrong ?

Reply via email to