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

Well, the above descriptions of shell prompts are the defaults.

If you strip out all configuration files, this is the behavior you'll see.

Of course, it's better to explicitly check to see what shell you're running ('help', 'ps up $$', grep $UID /etc/passwd | cut -d: -f7').



Consider applying for YC's Summer 2026 batch! Applications are open till May 4

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

Search: