elaborate on the clip snip
This commit is contained in:
@@ -14,4 +14,11 @@ clip() {
|
||||
}
|
||||
```
|
||||
|
||||
you can then do something like `clip "literal string"`
|
||||
and you have `literal string` in your clipboard on the remote host also, this is assuming you use tmux on in a ssh session, and this script is in .bashrc on the remote machine okay?
|
||||
|
||||
to pipe the result of whatever do something like this `sudo systemctl status firewalld | clip`
|
||||
|
||||
and that output is in your clipboard
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user