user674669
user674669

Reputation: 12362

create screen session with custom name

I use screen to manage multiple terminals. They are all named like:

5737.ttys000.osxltabc
...

Can I create a screen session with a better name than

5737.ttys000.osxltabc

Is there a command-line argument to configure the name of the screen session?

Upvotes: 3

Views: 5004

Answers (1)

Eric Renouf
Eric Renouf

Reputation: 14510

screen -S <name> will create it with that name, then screen -x <name> will reconnect, or the -r approaches.

Upvotes: 8

Related Questions