Several files worthy of attention in the linux:/var directory
Simple solution: important files in/var directory
The/var directory is a changeable directory, and the stored data is changeable. What directories are worthy of our attention under this directory?
The first directory to watch: /var/log/messages
This is the file that records the system and software operation. Almost all errors that occur in the boot system will be recorded here.
The second directory of interest: /var/log/secure
This is a file closely related to security. It mainly records the information of system user login. For example, sshd will record all information (including failed login) here.
The third directory of interest: /var/log/cron
This is log information closely related to the scheduled task, the date and time when the task runs, on which host it runs, the program running the task [process number], and the specific information about the task running
The fourth directory of interest: /var/log/daemon. log
This is a log containing information about various system daemons
The fifth directory to watch: /var/log/yum. log
This is a package containing information installed using yum