Difference between revisions of "PS1"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
Line 13: Line 13:
 
* <code>[[.bashrc]]</code>
 
* <code>[[.bashrc]]</code>
 
* <code>[[.bash_profile]]</code>
 
* <code>[[.bash_profile]]</code>
 +
* [[PATH]]
  
 
== See also ==
 
== See also ==

Revision as of 05:46, 29 August 2021

Examples

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


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

Related terms

See also

Advertising: