Get the App
SLTechnology News&Howtos  ›  Servers  › 

Several files worthy of attention in the linux:/var directory

Shulou Source: shulou.com Published: 2022-06-02 03:01:58 11月14日 Update

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

Tags: Directory information this is run task system file closely related situation log software process change login important security three under host including Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno MariaDB macOS OPPO Reno Huawei Shulou Technology