[PLUG] What should prompt look like?

David dafr+plug at dafr.us
Wed Jan 9 16:46:16 UTC 2019


On 1/9/19 8:21 AM, Dick Steffens wrote:
> On my "new" Slackware machine, booting in run level 3, after startx, and 
> opening a terminal, the prompt looks like:
> 
> bash-4.3$
> 
> When I log in via ssh the prompt looks like:
> 
> rsteff at ENU-2:~$
> 
> When I open a terminal on Ubuntu, the prompt looks like:
> 
> Dick at ENU-1:~$
> 
> Why doesn't the prompt in the first example look like the one in the 
> second, or similar to the one in the third?
> 

There are two files that get sourced on login, depending on how you 
start a session:

     .bash_profile
     .bashrc

https://apple.stackexchange.com/questions/51036/what-is-the-difference-between-bash-profile-and-bashrc

dafr



More information about the PLUG mailing list