how to exit a screen session with a command code example
Example: screen quit session
# First, find the session you want to quit
screen -ls
# Quit the session
screen -XS [session identifier you want to quit] quit
# First, find the session you want to quit
screen -ls
# Quit the session
screen -XS [session identifier you want to quit] quit