May 14, 2007 #1 durban56 Technical User Joined Oct 10, 2006 Messages 38 Location US hi Guys, How do I make the bash shell my shell everytime I logon to the system. Also how do I display the current directory i'm in at the prompt.
hi Guys, How do I make the bash shell my shell everytime I logon to the system. Also how do I display the current directory i'm in at the prompt.
May 14, 2007 #2 sbrews Technical User Joined Jun 11, 2003 Messages 413 Location US You should be able to do this (depending on your system security settings): passwd -e /bin/bash your_user_name Or, if you have root access: usermod -s /bin/bash your_user_name Upvote 0 Downvote
You should be able to do this (depending on your system security settings): passwd -e /bin/bash your_user_name Or, if you have root access: usermod -s /bin/bash your_user_name
May 15, 2007 #3 Annihilannic MIS Joined Jun 22, 2000 Messages 6,317 Location AU You set the PS1 variable to change your prompt, for e.g. the following setting: [tt]PS1='$PWD $ '[/tt] ..would make your prompt like this: [tt]/some/dir $[/tt] Annihilannic. Upvote 0 Downvote
You set the PS1 variable to change your prompt, for e.g. the following setting: [tt]PS1='$PWD $ '[/tt] ..would make your prompt like this: [tt]/some/dir $[/tt] Annihilannic.