Setting the shell prompt to display directory path information.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I want to be able to display the full path to where I currently am in
the file system on the shell prompt like:

[userid/directory/subdirectory/subdirectory]  I think that the
following will do the job:

PS1="[\u\w]"

Now where do I place this setting so that it executes when I or any
other users logs in to an FC2 server console.

tks. 


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux