From the manual of
`\s The name of the shell, the basename of $0 (the portion following the final slash)`
From the terminal output:
export PS1="\s" -bash
Why the dash (-) is there?
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It only takes a minute to sign up.Sign up to join this community