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