FG
💻 Software

Rename screen session

Fresh7 days ago
Mar 15, 2026163652 views
Confidence Score1%
1%

Problem

Is it possible to change the name of a GNU screen session? Say I called started it with "screen -S foo" and I want to rename it to bar.

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Rename screen session

Low Risk

Summary Details This is, Attach to the session in question. Press Ctrl+A. Type – yes, the first colon is needed there, no extra spaces. Type Enter. Example Renaming without attaching Screen's switch lets you rename a session without attaching it. Alternatively, you can specifically target a screen session by its existing name or id (useful if there are already multiple sessions):

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment