I have a bash script which copies one drive to another which is working fine.
I am using the -v
option so it outputs on the terminal as it performs the operation.
Is it possible to log out of the terminal and then log back in again to see how far it has got?
Yes Ian,
There's this beautiful program called "screen" which gives you such use case.
List of useful Steps:
screen
ctrl + a + d
screen -ls
screen -r "id"
to regain the accessSome more resources for reference: https://www.tecmint.com/screen-command-examples-to-manage-linux-terminals/
tmux is another program that gives you similar functionality.
Hope this helps. Thanks.