add new chinese translations

This commit is contained in:
2024-12-30 15:25:56 +08:00
parent a850046d7b
commit 0d798759fd
5418 changed files with 105800 additions and 7052 deletions

28
pages.zh/linux/xsel.md Normal file
View File

@@ -0,0 +1,28 @@
# xsel
> X11 选择和剪贴板操作工具。
> 更多信息:<https://manned.org/xsel>。
- 将命令的输出作为剪贴板的输入(相当于 `Ctrl + C`
`echo 123 | xsel -ib`
- 使用文件的内容作为剪贴板的输入:
`cat {{path/to/file}} | xsel -ib`
- 将剪贴板的内容输出到终端(相当于 `Ctrl + V`
`xsel -ob`
- 将剪贴板的内容输出到文件:
`xsel -ob > {{path/to/file}}`
- 清空剪贴板:
`xsel -cb`
- 将 X11 主选择的内容输出到终端(相当于鼠标中键点击):
`xsel -op`