2011年11月25日 星期五

【Linux】 查看使用者最後登入時間 (last、lastlog)

查詢機器所有登入紀錄使用lastlog
子方法
Options:
  -b, --before DAYS     print only lastlog records older than DAYS
  -h, --help            display this help message and exit
  -t, --time DAYS       print only lastlog records more recent than DAYS
  -u, --user LOGIN      print lastlog record for user with specified LOGIN
查詢自己的登入歷史紀錄, 使用 last 查看

沒有留言:

張貼留言