linux-screen-wrapper

1.2.5 • Public • Published

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-wrapper

Usage

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.

Package Sidebar

Install

npm i linux-screen-wrapper

Weekly Downloads

1

Version

1.2.5

License

ISC

Unpacked Size

9.49 kB

Total Files

5

Last publish

Collaborators

  • cybergen49