Welcome information in Linux

Source: Internet
Author: User

Local Terminal welcome information
/etc/issue
\d Display the current system date
\s Display Operating system name
\l Display Terminal number, this is more commonly used
\M Displays the hardware architecture, such as i386, i686
\ nthe host name is displayed
\o Display domain name
\ r Show Kernel version
\ t displays the current system time
\U Displays the serial number of the currently logged on user
[Email protected] ~]# cat/etc/issue
CentOS Release 6.8 (Final)
Kernel \ r on an \m

Remote Terminal Welcome information
/etc/issue.net
A. The escape character is not available in this file
B. Receive only plain text welcome messages here
C. Whether to turn on display this welcome message, need to configure, default does not show
D. Configuration:
1. Edit/etc/ssh/sshd_config
2. Join Banner/ect/issue.net
3. Restart SSH Services: Service sshd restart

Welcome information After Login
/etc/motd
A. Local login, remote login can display this welcome message
B. Default is empty

Welcome information in Linux

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.