Is there any way to link terminal sessions?
I was doing some rather lengthy procedures using a terminal. Then I wrote script using Kate, and input it into that terminal, and then realized that I was logged in as a normal user in that terminal as opposed to a superuser, which is how I was logged in at the other terminal. I've never noticed this before because I've never done anything that takes this long.
Is there any way to link all terminal sessions in such a way that they all show me logged in as the same user? I don't even know if this is even important, but I don't want to risk losing any things that I had done. |
you could edit your shells path to show you the current user name. If you're using bash you can edit .bashrc look for the PS1= line.
the "\u@" option shows username |
Quote:
Bash expands "\u" to the username. Here's how many prompts look like: Code:
username@hostname:currentdir$ Here is a great guide on customizing your bash prompt: https://wiki.archlinux.org/index.php/Color_Bash_Prompt |
All times are GMT -5. The time now is 04:32 PM. |