DEV Community

Discussion on: Three hacks and commands to use in your terminal.

Collapse
 
shubhamkhandare profile image
Shubham Khandare

Can you help with second one.. Is there any way to do it for session with command?

Collapse
 
antonrich profile image
Anton

Yes.

Just enter this in your terminal as a command (don't put it in your bashrc file):

PS1='\$ '

Collapse
 
shubhamkhandare profile image
Shubham Khandare

but that does not work on unix like environments !

Thread Thread
 
antonrich profile image
Anton

I'm sorry. I'm kind of unfamiliar with unix. Do you mean on systems like BSD?

Thread Thread
 
shubhamkhandare profile image
Shubham Khandare

Yes. I was on HP-UX.