added section on xclip

This commit is contained in:
scbj committed 2025-02-25 12:39:39 +01:00
1 parent 22db249ef2
commit 1865027156
2 files changed
+22 -3

No files matched your search

+16
View File
@@ -11,3 +11,19 @@ Usage:
```bash
find . -type f | xargs chmod 644
```
### pipe output into clipboard
> requires `xclip`
One can save command output to the clipboard by piping it to `xclip`:
```sh
# usage
command | xclip -selection clipboard
# working example with 'echo'
echo "hello world" | xclip -selection clipboard
```
> NOTE: the argument `-selection clipboard` is required