Playback starts YouTube’s embedded player (privacy-enhanced mode).
CentOS 7 Tutorial - How to Display Welcome Message in Terminal after login
Channeljava frmDescription from the creator
In this video we are going to see how to display welcome message once you logged in using the terminal in CentOS 7.
Here in this video we cover two scenarios. First scenario i will be modifying the file /etc/motd and add the simple welcome message.
Second scenario I will be creating mot.d.sh in /etc/profile.d directory. In mot.d.sh I will be passing linux commands between message text and these
commands will be executed during the display of the message.
I will be using some small commands like hostname, hostname -i, date to display some details once user is logged in.
motd -- stands for message of the day.
Important Note: if you pass the commands between messages it should be enclosed by backquote (`)
example: echo "welcome to linux you have logged in as `who am i` and your ip is `hostname -i` on `date`"
Here in this video we cover two scenarios. First scenario i will be modifying the file /etc/motd and add the simple welcome message.
Second scenario I will be creating mot.d.sh in /etc/profile.d directory. In mot.d.sh I will be passing linux commands between message text and these
commands will be executed during the display of the message.
I will be using some small commands like hostname, hostname -i, date to display some details once user is logged in.
motd -- stands for message of the day.
Important Note: if you pass the commands between messages it should be enclosed by backquote (`)
example: echo "welcome to linux you have logged in as `who am i` and your ip is `hostname -i` on `date`"
About this tutorial
java frm published this 3:20 video tutorial on November 7, 2019. It has been watched 5,229 times on YouTube.
- Channel
- java frm
- Category
- Science & Technology
- Duration
- 3:20
- Published
- November 7, 2019
- Views
- 5,229
- Likes
- 21
Tags
Share
This tutorial in other languages
- FRComment faire pour afficher un message personnalisé bannière Sous Windows 10 écran de connexion
- ESCómo mostrar mensajes personalizados Banner en Windows 10 Pantalla de ingreso
- PTComo exibir mensagem personalizada Bandeira No Windows 10 tela de login
- ITCome visualizzare personalizzato Messaggio Banner In Windows 10 schermata di login
- DEWie Custom Message Banner Unter Windows 10 Anmeldebildschirm anzuzeigen
- NLScherm Aangepast bericht Banner op Windows 10 inlogscherm
- RUКак отобразить пользовательских сообщений Баннер В Windows 10 Экран входа
- PLJak wyświetlić wiadomość Niestandardowe Banner W systemie Windows 10 Ekran logowania
- JAカスタムメッセージバナー上のWindows 10のログイン画面を表示する方法
- ARكيف لعرض رسالة مخصص لافتة على ويندوز 10 شاشة تسجيل الدخول
- HIकैसे प्रदर्शित करने के लिए कस्टम संदेश बैनर चालू Windows 10 लॉग इन स्क्रीन
- IDCentOS 7 Tutorial - Cara Menampilkan Pesan Selamat Datang di Terminal setelah login