1. After the Linux system is logged in, the following is displayed
1 xx:19704.1. 6 #1: armv7l
So where does this information come from, like Jul19 13:15 ....
Kernel each compile time in the source of what position?
Include/generated/compile.h
2. Where is the kernel version information stored in the source code?
Include/generated/utsrelease.h
3. How can I customize the information before and after my login?
/etc/issue, you can choose to do a login prompt here, or project logo printing, you can choose \ n \l can see hostname and TTY login information
/etc/Issue–escape codethe Issue-file (/etc/issue or the fileSetWith the-f option) may contain certain escape codes to display the system name, date and time etc. All escape codes consist of a backslash (\) immediately followed by one of the letters explained Below.\b:insert the BAU Drate of the Line.\d:insert the current Date.\s:insert the system name, the name of the operating system.\l: Insert the name of the current TTY Line.\m:insert the architecture identifier of the machine, eg. I486\n:insert the nodename of the machine, also known asthe Hostname.\o:insert the domainname of the Machine.\r:insert the release number of the OS, eg.1.1.9. \t:insert The current Time.\u:insert the number of current users loggedinch. \u:insert Thestring“1User "or" users "where isThe number of current users loggedinch. \v:insert the version of the OS, eg. the build-date etc.
4. How do I check the system login information and some operation log?
/var/log/auth.log
[Tips] Some information on Linux gets