Setting the shell prompt to display directory path information.
David Hodge
tchodgd at tcc.edu
Wed Nov 24 14:09:15 UTC 2004
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.
More information about the users
mailing list