how to view logs in linux command line code example Example: how to check error logs in linux cd/var/log ls