Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

how to make my PS1 in linux the pwd

SuperUser.com
All you need is to use export "PS1="$(whoami)@$(hostname):$(pwd) >" then edit /etc/profile and append this line at the end.
 
PREVIOUS NEXT
Tagged: #linux #pwd
ADD COMMENT
Topic
Name
1+3 =