who コマンド
[student@h006 ~]$ who
student :0 2018-07-22 09:30 (:0)
student pts/0 2018-07-22 09:31 (192.168.10.39)
student pts/1 2018-07-22 09:32 (:0)
[student@h006 ~]$ who am i
student pts/0 2018-07-22 09:31 (192.168.10.39)
[student@h006 ~]$ who are you
student pts/0 2018-07-22 09:31 (192.168.10.39)
# 余談ですが、引数が2つあれば何でも who am i 動作になります。
[student@h006 ~]$ who -Hu
名前 端末 時間 IDLE PID コメント
student :0 2018-07-22 09:30 ? 1679 (:0)
student pts/0 2018-07-22 09:31 昔 2818 (192.168.10.39)
student pts/1 2018-07-22 09:32 昔 3093 (:0)