'who am i' command does not produce output in 'mrxvt'
'who am i' produces the following output in gnome-terminal: hum...@nifty:~$ who am i humptypts/22009-01-24 02:12 (:0.0) However, in mrxvt, it does not produce any output. hum...@nifty:~$ who am i hum...@nifty:~$ What could be the reason for this? Is this a bug? -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Re: 'who am i' command does not produce output in 'mrxvt'
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Countable Infinity wrote: 'who am i' produces the following output in gnome-terminal: hum...@nifty:~$ who am i humptypts/22009-01-24 02:12 (:0.0) However, in mrxvt, it does not produce any output. hum...@nifty:~$ who am i hum...@nifty:~$ What could be the reason for this? Is this a bug? whoami works in every terminal on my machine - are you putting in a space between who and ami ?? -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkl6LcEACgkQnQV1aTcQlJucKQCffRb0RN+gDo6DEuODchHzXqSi BqYAn2z30fuvzxIxF1LHp2r6TT/nB7Kl =cjT1 -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Re: 'who am i' command does not produce output in 'mrxvt'
On Fri, 2009-01-23 at 21:44 +0100, Countable Infinity wrote: 'who am i' produces the following output in gnome-terminal: hum...@nifty:~$ who am i humptypts/22009-01-24 02:12 (:0.0) However, in mrxvt, it does not produce any output. hum...@nifty:~$ who am i hum...@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-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Re: 'who am i' command does not produce output in 'mrxvt'
Yes. I am executing the 'who am i' command (not 'whoami' command). So, yes, I am putting space between them. On Fri, Jan 23, 2009 at 8:51 PM, Frank McCormick debianl...@videotron.ca wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Countable Infinity wrote: 'who am i' produces the following output in gnome-terminal: hum...@nifty:~$ who am i humptypts/22009-01-24 02:12 (:0.0) However, in mrxvt, it does not produce any output. hum...@nifty:~$ who am i hum...@nifty:~$ What could be the reason for this? Is this a bug? whoami works in every terminal on my machine - are you putting in a space between who and ami ?? -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkl6LcEACgkQnQV1aTcQlJucKQCffRb0RN+gDo6DEuODchHzXqSi BqYAn2z30fuvzxIxF1LHp2r6TT/nB7Kl =cjT1 -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Re: 'who am i' command does not produce output in 'mrxvt'
On Fri, Jan 23, 2009 at 08:44:42PM +, Countable Infinity wrote: 'who am i' produces the following output in gnome-terminal: hum...@nifty:~$ who am i humptypts/22009-01-24 02:12 (:0.0) However, in mrxvt, it does not produce any output. hum...@nifty:~$ who am i hum...@nifty:~$ What could be the reason for this? Is this a bug? No utmp entry? xterm is setuid root, and 'who mom likes' works there. mlterm is not and 'who -m' prints nothing. -- Tzafrir Cohen | tzaf...@jabber.org | VIM is http://tzafrir.org.il || a Mutt's tzaf...@cohens.org.il || best ICQ# 16849754 || friend -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
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 subscripti...@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: hum...@nifty:~$ who am i humptypts/22009-01-24 02:12 (:0.0) However, in mrxvt, it does not produce any output. hum...@nifty:~$ who am i hum...@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-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Re: 'who am i' command does not produce output in 'mrxvt'
How can I check for utmp entry? Also, if the UTMP entry doesn't exist why does it work in gnome-terminal and while logging in through tty1, tty2, etc.? On Fri, Jan 23, 2009 at 8:55 PM, Tzafrir Cohen tzaf...@cohens.org.il wrote: On Fri, Jan 23, 2009 at 08:44:42PM +, Countable Infinity wrote: 'who am i' produces the following output in gnome-terminal: hum...@nifty:~$ who am i humptypts/22009-01-24 02:12 (:0.0) However, in mrxvt, it does not produce any output. hum...@nifty:~$ who am i hum...@nifty:~$ What could be the reason for this? Is this a bug? No utmp entry? xterm is setuid root, and 'who mom likes' works there. mlterm is not and 'who -m' prints nothing. -- Tzafrir Cohen | tzaf...@jabber.org | VIM is http://tzafrir.org.il || a Mutt's tzaf...@cohens.org.il || best ICQ# 16849754 || friend -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Re: 'who am i' command does not produce output in 'mrxvt'
On 01/23/2009 02:52 PM, subscriptions wrote: On Fri, 2009-01-23 at 21:44 +0100, Countable Infinity wrote: 'who am i' produces the following output in gnome-terminal: hum...@nifty:~$ who am i humptypts/22009-01-24 02:12 (:0.0) However, in mrxvt, it does not produce any output. hum...@nifty:~$ who am i hum...@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'. Pay closer attention: GNOME TERMINAL: $ who am i me pts/32009-01-23 14:58 (:0.0) $ whoami me RXVT: $ who am i $ whoami me -- Ron Johnson, Jr. Jefferson LA USA I am not surprised, for we live long and are celebrated poopers. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Re: 'who am i' command does not produce output in 'mrxvt'
On Fri Jan 23, 2009 at 20:44:42 +, Countable Infinity wrote: hum...@nifty:~$ who am i humptypts/22009-01-24 02:12 (:0.0) However, in mrxvt, it does not produce any output. hum...@nifty:~$ who am i hum...@nifty:~$ What could be the reason for this? Is this a bug? Probably means that mrxvt doesn't create/record an entry in the wtmp database when a new session is started. Its not a bug as such, just an omission. I guess if you run ssh localhost you'd suddenly see yourself listed. Steve -- Managed Anti-Spam Service http://mail-scanning.com/ -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Re: 'who am i' command does not produce output in 'mrxvt'
On Fri January 23 2009 12:56:49 pm Countable Infinity wrote: 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' ? konsole also gives nothing.. I dunno why. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org