For the last command to work, what file must exist?

For the last command to work, what file must exist?

For the last command to work, what file must exist?

Answer: /var/log/wtmp

Explanation/Reference:
From the man pages:
last searches back through the file /var/log/wtmp (or the file designated by the -f flag) and displays a list of all users logged in (and out) since that file was created.



Leave a Reply 0

Your email address will not be published. Required fields are marked *