- Open this with text editor /root/.bash_profile
- Then include text, you want to show with echo command at the end of file as follows,
echo "My banner". - You can use this commad to show ip of the host
"ifconfig eth0 | grep 'inet' | awk '{print $2}' | sed 's/addr://'"