Last active
September 20, 2017 15:34
-
-
Save yoshiya54/ff65fce925a5e12407488dcd722ce49a to your computer and use it in GitHub Desktop.
Amazon Linuxへの接続時のメッセージを非表示にしよう ref: http://qiita.com/yoshiya64/items/bc632744f028e23c1290
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ls -la /etc/motd | |
lrwxrwxrwx 1 root root 25 5月 10 05:02 2013 /etc/motd -> /var/lib/update-motd/motd |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ls -la /etc/update-motd.d | |
合計 20 | |
drwxr-xr-x 2 root root 4096 9月 9 10:45 2013 . | |
drwxr-xr-x 72 root root 4096 9月 9 11:48 2013 .. | |
-rwxr-xr-x 1 root root 334 9月 9 10:45 2013 30-banner | |
-rwxr-xr-x 1 root root 134 1月 23 08:47 2013 70-available-updates | |
-rwxr-xr-x 1 root root 2103 1月 23 08:47 2013 75-system-update |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ sudo update-motd --enable |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ sudo update-motd --disable |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment