找出在 Mac OS X 10.11.x 上特定时间登录的用户

找出在 Mac OS X 10.11.x 上特定时间登录的用户

我想找出哪个用户在创建文件的特定时间登录。

尝试使用“-t”开关时,我在使用“Last”命令时遇到问题。

接受任何建议,机器运行标准 OS X,没有额外的管理软件。

谢谢。

答案1

> man last

-t tty      Specify the tty.  Tty names may be given fully or abbrevi-
             ated, for example, ``last -t 03'' is equivalent to ``last -t
             tty03''.


> last -t ttys002

home      ttys002                   Sun Jan  3 21:32 - 21:32  (00:00)

相关内容