linux-screen-wrapper v1.2.5
linux-screen-wrapper
A wrapper for the Linux screen command that adds friendly, coloured output and the ability to resume sessions with incomplete names.
This project is inspired by @hi94740/screen-command.
Installation
To install the package using NPM:
npm i -g linux-screen-wrapperUsage
Once the package is installed, the s command is made available.
s ls
Prints a list of all running screen sessions, including each session's PID, name, start date and time, and attached/detached status.
s r <name|PID>
Attaches a screen session by its name or PID using screen's -x flag. This allows for a screen to be attached to multiple terminals at a time, as opposed to -r's single-terminal limitation.
Entering an incomplete name will resume the screen whose name is the closest match, assuming there is a match.
s c <name>
Creates a new screen session with the given name. Equivalent to screen -S name.