Kernel boot messages. Stores messages from the kernel that were raised during the boot process.
Standard system error messages. Contains message from system software, nonkernel boot issues, and messages that go to dmesg.
Service-specific errors. Contains messages and errors from your sendmail SMTP subsystem. Look here if you are experiencing mail set-up problems.
Service-specific errors. Contains messages and errors from your ftpd FTP subsystem.Look here if you are experiencing FTP set-up problems.
/var/log/dmesg : This file contains the messages that are sent to the console terminal as the system boots up, including messages relating to the kernel being started and hardware being recognized.
If a piece of hardware is not working, you can check here to make sure that the kernel found the hardware and configured it properly.
Moving around the file
Besides the few movement commands described earlier, there are other ways of moving around a vi file.
To try these out, you may want to open a large file that you can’t do much damage to. (How about copying
/var/log/messages to /tmp?) Here are some possibilities:
Ctrl+f : Page ahead, one page at a time.
Ctrl+b : Page back, one page at a time.
Ctrl+d : Page ahead 1/2 page at a time.
Ctrl+u : Page back 1/2 page at a time.
G : Go to the last line of the file.
1G : Go to the first line of the file. (Instead of 1, you could use any number to go to that line number
in the file.)