linux:cli:xclip

차이

문서의 선택한 두 판 사이의 차이를 보여줍니다.

차이 보기로 링크

양쪽 이전 판 이전 판
linux:cli:xclip [2023/12/31 17:59] – 제거됨 - 바깥 편집 (Unknown date) 127.0.0.1linux:cli:xclip [2023/12/31 17:59] (현재) – ↷ 문서가 x:xclip에서 linux:cli:xclip(으)로 이동되었습니다 writer
줄 1: 줄 1:
 +{{tag>[xclip x11]}}
 +
 +---- dataentry application ----
 +name: xclip
 +supported_os: Linux
 +----
 +
 +====== xclip ======
 +
 +===== Usage =====
 +<code bash>
 +xclip -selection <primary | clipboard | secondary> <OPERATION> #
 +echo "Message" | xclip -selection clipboard # input
 +</code>
 +
 +  * ''xclip''
 +    * ''-selection'':
 +      * ''primary'': 마우스 드래그
 +      * ''clipboard'': 일반적인 복붙용 클립보드
 +      * ''secondary'': 두번째
 +    * ''-i'', ''-in'': 파일 읽기
 +    * ''-o'', ''-out'': 출력(stdout)
 +    * ''l'', ''-loops'': 반복
 +
 +  * **''xclip''** ''<color #ff7f27>-selection</color>'' ''<color #ff7f27>{TYPE}</color>''
 +
 +==== Examples ====
 +
 +===== Installation =====
 +<code bash>
 +sudo dnf install xclip # RHEL
 +sudo yum install xclip # RHEL
 +</code>
 +
 +===== Help Page =====
 +++++ xclip --help (Linux) |
 +<code text>
 +Usage: xclip [OPTION] [FILE]...
 +Access an X server selection for reading or writing.
 +
 +  -i, -in          read text into X selection from standard input or files
 +                   (default)
 +  -o, -out         prints the selection to standard out (generally for
 +                   piping to a file or program)
 +  -l, -loops       number of selection requests to wait for before exiting
 +  -d, -display     X display to connect to (eg localhost:0")
 +  -h, -help        usage information
 +      -selection   selection to access ("primary", "secondary", "clipboard" or "buffer-cut")
 +      -noutf8      don't treat text as utf-8, use old unicode
 +      -target      use the given target atom
 +      -rmlastnl    remove the last newline charater if present
 +      -version     version information
 +      -silent      errors only, run in background (default)
 +      -quiet       run in foreground, show what's happening
 +      -verbose     running commentary
 +
 +Report bugs to <[email protected]>
 +</code>
 +++++
 +
 +===== Tips =====
 +<code bash>
 +alias xcp='xclip -selection clipboard'
 +</code>
 +
 +
 +===== See Also =====