Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I used to have a different prompt color when SSH_CONNECTION was in my environment, to distinguish local terminals from remote connections. And also root/non-root, although I didn't know about $EUID and used the less-effective $(id -u).


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: