1 2 3 4 5 6 7
#!/bin/bash export HOME=/root cat /etc/motd 2>/dev/null cd /root [[ -e .bash_profile ]] && source .bash_profile exec -l /bin/bash -i