© 2020 GitHub, Inc.

Ubuntu의 Login Message 수정하기

TLDR

Expand me...

적용법

/etc/update-motd.d/로 이동

cd `/etc/update-motd.d`

99-message 파일 생성

99-message 이름으로 파일을 생성합니다.

#!/bin/sh

printf "hello. this is customized message.\n"
printf "\n"

그다음 실행파일로 변경해줍니다.

chmod +x 99-message

다시 세션 로그인하기

hello. this is customized message.

Last login: Wed Mar 11 14:19:56 2020 from x.x.x.x
wanderlust@wonderland $