In this article we will talk about background process is Linux. We will show you how to start a command in the background and how to keep the process running after the shell session is closed.
attach: screen -x
ultimate attach: screen -dRR
Attaches to a screen session. If the session is attached elsewhere, detaches that other display. If no session exists, creates one. If multiple sessions exist, uses the first one.
Moving to zsh, part 6 – Customizing the zsh Prompt – Scripting OS X
This whole series is helpful as someone who is begrudingly moving to zsh with the release of Catalina. I still kind of want to just stay with bash though as its what I use on every server I interact with. Zsh is at least similar enough to bash though.