Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
root@ip-172-31-19-81:~# cat >> .bash_profile <<EOT
> echo "I ran the .bash_profile for root"
root@ip-172-31-19-81:~# logout
(main) 23:33:16 [ joey@ip-172-31-19-81:0 ] ~ 2126 -->sudo -s
23:33:20 [ root@ip-172-31-19-81:0 ] ~ 494 -->exit
(main) 23:33:21 [ joey@ip-172-31-19-81:0 ] ~ 2127 -->sudo -i
I ran the .bash_profile for root
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.