PS1

From wikieduonline
Revision as of 12:19, 8 August 2021 by Welcome (talk | contribs)
Jump to navigation Jump to search
This article is a Draft. Help us to complete it.


ssh SERVER_NAME -t "export PS1=your_text; bash" 


Examples:

PS1='[\u@\h \W]\$ '
  • export PS1='[\u@\h $AWS_PROFILE]\$ '


echo $PS1
${debian_chroot:+($debian_chroot)}\u@\h:\w\$

Related terms

See also

Advertising: