Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

wtmp is not readable

# To open wtmp file and view it’s content use blow command
last -f /var/log/wtmp

#To see still logged in users view utmp file use last command
last -f /var/run/utmp

# To view btmp file use same command
last -f /var/log/btmp

# Sample output of last -f wtmp command output.
 
PREVIOUS NEXT
Tagged: #wtmp #readable
ADD COMMENT
Topic
Name
7+5 =