Skip to content

screen command – Unix

If you are connected to you Netezza server remotely using Putty or similar tool and have to run large scripts which will return output to screen then you can make use of screen command so taht you can re-connect to the session incase your connection is lost.

$ screen myscript.sh

Now, if your connection is lost then you can reconnect to the lost sesison by logging in again to the system using same id and thne run below command.

$ screen -r