Skip to content

Instantly share code, notes, and snippets.

@yoshiya54
Last active September 20, 2017 15:34
Show Gist options
  • Save yoshiya54/ff65fce925a5e12407488dcd722ce49a to your computer and use it in GitHub Desktop.
Save yoshiya54/ff65fce925a5e12407488dcd722ce49a to your computer and use it in GitHub Desktop.
Amazon Linuxへの接続時のメッセージを非表示にしよう ref: http://qiita.com/yoshiya64/items/bc632744f028e23c1290
# ls -la /etc/motd
lrwxrwxrwx 1 root root 25 5月 10 05:02 2013 /etc/motd -> /var/lib/update-motd/motd
# 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
$ sudo update-motd --enable
$ sudo update-motd --disable
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment