Bash Command

1. PS1

Change PS1 in .bashrc, just show the current directory.

export PS1="\u@\h:\W\$'

where

Item Description
\u The name of the logged-in user.
\h The hostname up to the first ‘.’
\W The basename of $PWD, with $HOME abbreviated with a tilde.
\$ Shows a $ for a regular user or # for root user.