Hey, I’d like a “Hi!” message shown when I start the terminal, or login in text mode… How can I do it?
Adel Moin [ Editor ]
Hehe… Didn’t know others are also interested in doing this kind of things. I always do that myself!
You must edit .bashrc for that user, or if you want to do it for all users, edit /etc/bash.bashrc.
I use VIM to edit text, use whatever you want. I’ll explain it the VIM way here:
# aptitude install vim
vim [FILE] —> Either edit the file in user’s home, or edit the /etc/bash.bashrc.
Now, press ‘i’, and copy paste this: echo “Hi!”
After that, press ‘Esc’ and write: :wq