V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
Distributions
Ubuntu
Fedora
CentOS
中文资源站
网易开源镜像站
sdk234
V2EX  ›  Linux

请问 wsl 内 welcome message 如何配置?

  •  
  •   sdk234 · 2023-01-03 02:14:20 +08:00 · 1846 次点击
    这是一个创建于 472 天前的主题,其中的信息可能已经有所发展或是发生改变。
    今天刚刚装上 wsl Ubuntu ,默认的欢迎信息是一天显示一次,我想请教一下这个 motd 的配置文件在哪?我查看过"/etc/update-motd.d"内的所有文件了,并没有看到"This message is shown once once a day. To disable it please create the/home/john/.hushlogin file."这句话。请问这句话的打印是由哪个配置文件控制的?


    此外,我现在想更改 motd 信息的显示频率。请问 motd 有对应的配置文件来控制这个功能吗?
    1 条回复    2023-01-03 09:00:04 +08:00
    xtreme1
        1
    xtreme1  
       2023-01-03 09:00:04 +08:00   ❤️ 1
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   960 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 21ms · UTC 20:47 · PVG 04:47 · LAX 13:47 · JFK 16:47
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.