wtmp file
/var/log/wtmp
一個二進位制檔案,記錄每個使用者的登入次數和持續時間等資訊
read wtmp file
last 命令就通過訪問這個檔案獲得這些資訊
last [-f /var/log/wtmp]