Shell prompt in Linux
What is shell prompt in
Linux?
The
shell prompt (or command line) is where one types commands. When
accessing the system through a text-based terminal, the shell is the main way
of accessing programs and doing work on the system. In effect, it is a shell
surrounding all other programs being run.
How To Customize Bash
Prompt in Linux
- Display Username and Domain Name.
- Add Special Characters.
- Display Username Plus Shell Name
and Version.
- Add Date and Time to The BASH
Prompt.
- Hide All Information in the BASH
Prompt.
- Differentiate Root User From
Normal User.
- More BASH Prompt Options.
Customize Git Bash Shell
config
- Locate the Git installation folder
on your computer.
- Make a backup of the git-prompt.sh
file in Git's etc\profile. ...
- With administrator rights, edit
the properties in the file named PS1.
- Save the git-prompt.sh file.
- Open a new Git Bash Shell prompt
to see the customized properties display.
Comments
Post a Comment