Bash Prompt

From NovaOrdis Knowledge Base
Revision as of 03:35, 16 July 2020 by Ovidiu (talk | contribs)
Jump to navigation Jump to search

External

Internal

Overview

Set PS1 environment variable in .bashrc.

If used in PS1 definition, the following control character are rendered to various pieces of information:

  • \w working directory
  • \u username
  • \H host name