Difference between revisions of "PS1"

From wikieduonline
Jump to navigation Jump to search
Line 14: Line 14:
 
== Related terms ==
 
== Related terms ==
 
* <code>[[.bashrc]]</code>
 
* <code>[[.bashrc]]</code>
 +
* <code>[[.bash_profile]]</code>
  
 
== See also ==
 
== See also ==

Revision as of 14:16, 20 August 2021

This article is a Draft. Help us to complete it.

Examples:

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


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

Related terms

See also

Advertising: