Transferred from: http://blog.chinaunix.net/uid-24250828-id-3198922.html1)/var/log/secure: Record log in system to access data files;For example: POP3,SSH,TELNET,FTP, etc. will be recorded here.2)/ar/log/btmp: Record login This information record,
1)/var/log/secure: Record the log in system Access data file;
For example: Pop3,ssh,telnet,ftp and so on will be recorded here.
2)/ar/log/btmp: Record logged in this information record, has been encoded, so must be resolved by the last;
For
The following is a description of the 20 log files that are located under the/var/log/directory. Some of these are only available in specific versions, such as Dpkg.log, which can only be seen in Debian-based systems.
/var/log/messages -Includes
If you are willing to spend some time on the Linux environment, you should first know where the log files are located and what they contain. Learning about these different log files while your system is working properly can help you find and solve
There are a number of log files located under the/var/log/directory, and here is a record of the related uses. Some of these are only available in a specific version, such as Dpkg.log can only be seen in Debian based
If you are willing to spend some time on the Linux environment, you should first know where the log files are located and what they contain. Learning about these different log files while your system is working properly can help you find and solve
Excerpt from: http://www.niaoyun.com/help/application/386.htmlLearning Linux should know where the log files are located and what they contain, and learning about these different log files while the system is functioning can help you to find and
In the Linux operating system, it is often necessary to view the real-time output of log files, usually using tail -f or tailf commanding. Viewing real-time logs may require SSH to connect to a Linux host first, the steps are cumbersome, and if you
View File and content processing-tail command, view processing-tail command1. Command description:
The tail command is used to display the end Of the file content. By default, tail only displays the last 10 lines of the file.2. Syntax:
Tail [Options]
Linux tail command-used to View File Content
The most basic options are cat, more, and less.
1. If you only want to view the first five lines of the file, you can use the head command, for example:
Head-5/etc/passwd
2. If you want to view the last 1
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.