Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

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

2025-03-29 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

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

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report