Showing posts with label username in linux console. Show all posts
Showing posts with label username in linux console. Show all posts
Friday, July 20, 2012
Instead bash-3.2$ hostname, username in linux console for oracle user
if oracle user home is /u0/app/oracle then:
cd /u0/app/oracle
gedit .bashrc
and insert: PS1="[\\u@\\h:\\w] $ "; export PS1;
logout
login
that's all, I hope it will be helpful for you.
Subscribe to:
Posts (Atom)