Sometimes the Linux prompt doesn’t look really attractive and/or practical, like for example bash:/ or sh:/ which is really annoying.
To solve this, you need to use the PS1 environment variable and append to it what you need:
- Go to your home directory and create a .profile file
- edit the .profile file and add the following: “PS1=’$USER@$HOSTNAME $PWD \$ ‘”, this will give you something like: “john@myserver /home/john: “