When working on remote Linux terminals its a good idea to use screen manager as it will protect your session from disconnection. Here are some handy command when using screen on Linux or Mac environment: