How to check logs in ubuntu

Goto /var/log diretcory

$ cd /var/log

List files and directories date wise descending order

$ ls -alt

ls by date in reverse date order use the -t flag as before but this time with the -r flag which is for ‘reverse’.


Leave a Reply