This command is used to create a brand new consultation within your present consultation. It normally is used to run long-running procedure. The method will proceed to run even supposing present consultation is terminated whether or not because of unhealthy connection or an go out. It may be used to log in to a particular consultation and resume the method the place it’s left off.
Common syntax for
display screen command:
display screen [OPTIONS] [SESSION NAME]
Create a consultation with specified title
display screen -S [file]
-S possibility creates a brand new window inside the display screen and names it.
Instance: Let’s title our consultation “newexample” and get started a brand new window.
Listing all display screen processes
display screen -ls
This feature presentations all recently open home windows, together with the ones working within the background.
Instance: Typing the
display screen -ls command to show the choice of displays to be had.
Reattach the Terminal’s consultation
display screen -r [filename]
Use this technique to reattach a display screen consultation which was once indifferent in previous.
Instance: Reattaching the up to now disconnected display screen consultation named instance.
Detach a consultation
display screen -d [file]
-d possibility is used to detach the display screen consultation, permitting it to be reattached later.
Instance: Record all recently connected displays and detaching the consultation named newfile.
Percentage a display screen’s consultation
display screen -X [sharing_session]
This feature lets in two other folks to log into the similar account from other places.
Instance: The person known as username is logging into the ubuntu account and connecting to the display screen consultation newexample.WordPress Website Development