how to search for an error in logs on linux code example Example: how to check error logs in linux cd/var/log ls