Re: 'who am i' command does not produce output in 'mrxvt'
No,I am looking for the command 'who' with two arguments. The command
'whoami' prints only the user name. However, I want the tty and the
time stamp too. As per the man page of 'who':
"If ARG1 ARG2 given, -m presumed: 'am i' or 'mom likes' are usual."
"-m only hostname and user associated with stdin"
So, 'who am i' is what I need. However, my question was a little
different. When 'who am i' is producing output in gnome-terminal, why
isn't it doing so in 'mrxvt' ?
On Fri, Jan 23, 2009 at 8:52 PM, subscriptions
<subscriptions@rdegraaf.nl> wrote:
> On Fri, 2009-01-23 at 21:44 +0100, Countable Infinity wrote:
>> 'who am i' produces the following output in gnome-terminal:
>>
>> humpty@nifty:~$ who am i
>> humpty pts/2 2009-01-24 02:12 (:0.0)
>>
>> However, in mrxvt, it does not produce any output.
>>
>> humpty@nifty:~$ who am i
>> humpty@nifty:~$
>>
>> What could be the reason for this? Is this a bug?
>
> :) You did the command 'who' with parameters 'am' and 'i'.
>
> The command you are looking for is 'whoami'.
>
> Best,
>
> Rob
>
>
> --
> To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
>
>
Reply to: