How not to show text before “:~$” in linux


Sometime I found that the text before “:~$” could be very long and occupying almost half of the space of the terminal windows.

You can temporary customize this text by execute the following command:

PS1='$ '


Leave a Reply

Your email address will not be published. Required fields are marked *