Archive
Posts Tagged ‘OEL’
Display full path of working directory within the command prompt – OEL
April 3, 2013
Leave a comment
Was traversing through Oracle Enterprise Linux file structure and realized that by default it doesn’t show me what dir I am sitting in unless and until I execute ‘pwd’ command
To display DIR info. at Linux prompt , I just added the following to the systemwide configuration file /etc/bashrc:
Code:
# customized prompt with full path of working dir
PS1=”[\u@\h \w]\\$ “
Advertisements
Categories: Uncategorized
linux, OEL, Oracle DBA, prompt, Unix