how to check error logs in linux

Shell
cd/var/log
ls
Source

Also in Shell: