how to find the logs in linux if something fails code example Example: how to check error logs in linux cd/var/log ls