When I signed up with pair Networks, the default shell was csh. Nothing wrong with csh, but I am use to bash. So here’s a quick note about how I changed the shell from csh to bash.
Do the following:
pair-user@www2:~ % chsh -s /bin/bash Password: pair-user@www2:~ % pair-user@www2:~ % exit logout Connection to pair-user.pairserver.com closed. mac-user@imac1: /Users/mac-user ==> ssh email@example.com firstname.lastname@example.org's password: Last login: Fri Oct 5 12:24:00 2018 from x.x.x.x Welcome to pair Networks, Inc. ... o o o pair-user@www2:~$ echo $SHELL /bin/bash
I then changed my default bash shell prompt by adding the following to my .profile:
PS1=' \u@\h: $PWD ==> '
After exiting and logging back in, my prompt now looks like:
pair-user@www2: /usr/home/pair-user ==>
It is a 2-line prompt that I use on all of my Linux/Unix-like boxes, such as my Mac. The first line shows the user, host, and current directory. The second line is my actual command prompt. When I am working on different hosts, at a glance, I can see which one it is. Works for me …