查詢機器所有登入紀錄使用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 查看
沒有留言:
張貼留言