Skip to navigation
Hide location in your terminal bash
12.04.25
export PS1='\u@\h: ' That results in oli@bert: for my prompt. If you really want something as minimalist as you ask for, try this: export PS1='> ' You can attach that to the end of your ~/.bashrc file to have it persist between logins. You can also get creative with some colours. Here's what I use on my servers: export PS1='\[\033[0;35m\]\h\[\033[0;33m\] \w\[\033[00m\]: ' Giving (it's easier to see on a full black background): My terminals
Reply
Anonymous
Information Epoch 1745031130
Allow the user to tailor the environment.
Home
Notebook
Contact us