Notes 9 23 - Herrscherr0Z/SYS255 GitHub Wiki

on linux logs are located at /var/log/

ls - get the logs ls -l - get the details ls -lr -reverse by the name of the file ls -lrt reverse order by timestamp

ls -lrt lastlog will show you the most recent modified log file

/etc/passwd - get them passwords

grep root messages

grep root messages :tail - shows you the last 10 lines of output

less /etc/rsyslog.conf