The tag has no wiki summary.

learn more… | top users | synonyms

1
vote
1answer
119 views

Identify the outgoing connection (ssh) with the who command

After a ssh connection, if I run the who command on the server : I have this response : olivia@olivia-pc:~$ who olivia :0 2014-09-08 11:40 (:0) olivia pts/0 2014-09-08 11:43 ...
3
votes
2answers
59 views

Is there a way to prevent a non-terminal-attached process from executing 'who' inside my .envfile?

I made some modifications to the /home/user/.envfile so the PS1 prompt would show date/time as well as the pwd etc. The modification is: # `who am i` is used to obtain the name of the original user ...
0
votes
1answer
69 views

What is the :0 terminal in the who command's output? [duplicate]

When I type who in my console terminal, I get the following output: hubert :0 2014-05-16 21:40 (:0) hubert pts/0 2014-05-16 21:46 (:0) From info who I know that both :0 and ...
21
votes
2answers
992 views

Is `who mom likes` a real linux command?

I stumbled across a blog that mentioned the following command. who mom likes It appears to be equivalent to who am i The author warns to never enter the following into the command line (I ...
3
votes
3answers
207 views

Print unique of who command

I want to show the online users using the who command but I want to have a unique output and not show any duplicates. I piped the output into awk but I am not very familiar with that, is this the ...
2
votes
1answer
200 views

'who --message' -> which message?

I found the following in man who: -T, -w, --mesg add user's message status as +, - or ? --message same as -T --writablesame as -T So looked up info who and found -w -T --mesg --message ...
1
vote
1answer
132 views

who -b date format varies strangely

I run who -b to get the date of the last reboot. It returns 2013-10-29 14:55. Now ran by a daemon (I am sending this date to a server) it returns Oct 29 14:55. But some other times (before last reboot ...
0
votes
1answer
39 views

How many XUSER's

I'm working on a script an I need to show how many people are logged into XServer. It was suggested that I look at the last part of the who command (N:N): user1 tty7 2013-10-10 12:14 (:0) ...
2
votes
2answers
435 views

What does the `who` command result `root :0` mean?

The return value of command who will always include root :0 in X Window pts. I guess it actually means the GNOME login. Am I right? Another question is where to get this knowledge, as I don't see it ...