/etc/issue

编程入门 行业动态 更新时间:2024-10-10 02:21:42

/etc/<a href=https://www.elefans.com/category/jswz/34/1771110.html style=issue"/>

/etc/issue

/etc/issue 与 /etc/motd 作用一致,都是用于显示欢迎信息,区别在于 /etc/issue 是在 login 提示符之前显示,而 /etc/motd 则在在用户成功登录系统之后显示

[root@localhost ~]$ cat /etc/issue
\S
Kernel \r on an \m

可用的代码:

/l  显示第几个终端机接口
/m  显示硬件的等级(i386/i686...)
/n  显示主机的网络名称
/o  显示 domain name
/r  显示操作系统的版本/t  显示本地端时间的时间
/s  显示操作系统的名称
/v  显示操作系统的版本

更多推荐

/etc/issue

本文发布于:2024-03-08 03:59:24,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1719779.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:issue

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!