Reset a shell to a fresh clean one but does not need to close and open?
Hi,
I am wondering if there is a way to easily reset a shell (especially dedicated for a job) to a fresh clean shell, but does not need to close and open a new shell? The reason I am asking it is because I work in some jobs that update their environments frequently (like twice a day), and I have so many tabs/shells open, so I have to rename the tag for a particular task. However, often I have to exit my current job shell, open a new fresh one as a tab and job in again to adapt the new environment changes, while my naming for the old tab is gone. This is getting annoying with more and more tabs open and close every day, so I am wondering if there is a way to reset the shell without close and reopen, which will retain the named tabs? Thanks, |
I'm not entirely clear on where tabs come into creating new clean shells envs, but this will do that at the cmd line https://unix.stackexchange.com/quest...onment-in-bash
Hmm maybe this instead https://stackoverflow.com/questions/...or-bash-script |
Quote:
For your links, I think they work as my job settings, so I got this part. The questions is after, how to reset it with the same but updated setting. It could be multiple files to source, so I tend to not source them one by one. |
All times are GMT -5. The time now is 03:53 PM. |