Skip to content

Create a type of client command that maintains a connection in the background and passes the command to be executed on a case-by-case basis. #48

@blacknon

Description

@blacknon

s command

  • Only the connection process is executed in advance, and a daemon that keeps the connection is launched.
  • Give the daemon an execution command each time via Socket communication, and it will launch a Session and execute the command.

Create client commands such as.
The advantage is that it is easier to handle the remote server's command execution results on the local console.

image

$ echo ABCD | s sed 's/$/_123/g'
SERVER1: ABCD_123
SERVER2: ABCD_123
SERVER3: ABCD_123
...

$ echo ABCD | s sed '"s/$/"$(hostname)"/g"' | sed 's/$/_'$(hostname)'/'
SERVER1: ABCD_SERVER1_localhost
SERVER2: ABCD_SERVER2_localhost
SERVER3: ABCD_SERVER3_localhost
...

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions