Page 1 of 1

Change terminal prompt default

Posted: Wed Jun 11, 2025 7:26 pm
by dodtrax
Hello everyone.
I'm using Kumander Linux and I'm really enjoying it.

How to change terminal prompt: C:/home/username
For this: username@hostname:~$

I would like to return to the default prompt.
Thanks!

Change terminal prompt default

Posted: Thu Jun 19, 2025 4:16 pm
by akts
Hey dodtrax,

Open up your terminal and type

Code: Select all

nano ~/.bashrc
This opens up bash's(your shell) configuration file in a command line text editor called nano. Then at the very end put

Code: Select all

PS1='\u@\h:\w\$ '
Ctrl + o to save

Ctrl + x to exit

You can also do this.

Open your file manager. Then in your home folder press Ctrl + h. This shows hidden files in your folder. Locate the file called .bashrc and then edit it by double clicking it. Paste the PS1 bit at the end. Save the file.

Open a new terminal and see your new prompt in action. Give the arch wiki a read to learn more about prompt customization.

Welcome to the forums btw :D