Zi 字媒體
2017-07-25T20:27:27+00:00
登入 Linux 時會執行 /etc/update-motd.d 下的腳本
所以想要觀看的話除了重新登入以外,以迴圈執行即可
for i in /etc/update-motd.d/*; do sudo $i; done
1
for i in /etc/update-motd.d/*; do sudo $i; done
或是用 find 指令結合其 -exec 參數也可以達到相同效果
sudo find /etc/update-motd.d -type f -exec {} \;
1
sudo find /etc/update-motd.d -type f -exec {} \;
…
Read More Read More
[Ubuntu] 顯示 Welcome Message was last modified: 2018-03-08 by Calos
寫了
5860316篇文章,獲得
23313次喜歡