[root@localhost~]#vim /home/msg.sh
#!/bin/bash
dialog --title "welcome message"\
--infobox "welcome $USER. welcome to linux system.\
your login time is ( `date`)" 7 50; sleep 5
:wq
[root@localhost~]#chmod +x /home/msg.sh
[root@localhost~]#vim /etc/profile
#"at the end of file"
/home/msg.sh
:wq
now log out your user then relogin it
pls put your comment and suggestion.
#!/bin/bash
dialog --title "welcome message"\
--infobox "welcome $USER. welcome to linux system.\
your login time is ( `date`)" 7 50; sleep 5
:wq
[root@localhost~]#chmod +x /home/msg.sh
[root@localhost~]#vim /etc/profile
#"at the end of file"
/home/msg.sh
:wq
now log out your user then relogin it
pls put your comment and suggestion.
sir is it 7 specific or 6 also
ReplyDeletethis can be in any version
Delete