Search Results

Showing results 1 to 1 of 1
Search took 0.01 seconds.
Search: Posts Made By: cfajohnson ; Forum: *nix Software and child forums
Forum: *nix Software May 24th, 2009
Replies: 2
Solved: unix PS1
Views: 856
Posted By cfajohnson
What shell are you using?

In bash:


PS1='\[\e[[7m\]${HOSTNAME}/${PWD}\[\e[0m\]'


Adjust the 7 to whatever you want, e.g., 1;31 or 1;37;40m.
Showing results 1 to 1 of 1

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC