리눅스 jq 다운로드 설치

Jmnote bot (토론 | 기여)님의 2017년 7월 11일 (화) 03:51 판 (봇: 자동으로 텍스트 교체 (-==참고 자료== +==참고==))
  다른 뜻에 대해서는 우분투 jq 설치 문서를 참조하십시오.
리눅스 jq 설치
리눅스 jq 다운로드 설치

1 다운로드 설치

[root@zetawiki ~]# cd /usr/local/bin/
[root@zetawiki bin]# wget http://stedolan.github.io/jq/download/linux64/jq
--2015-06-23 10:30:14--  http://stedolan.github.io/jq/download/linux64/jq
Resolving stedolan.github.io... 103.245.222.133
Connecting to stedolan.github.io|103.245.222.133|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 497799 (486K) [application/octet-stream]
Saving to: “jq”

100%[=================================================>] 497,799     1.75M/s   in 0.3s    

2015-06-23 10:30:14 (1.75 MB/s) - “jq” saved [497799/497799]
[root@zetawiki bin]# ll jq
-rw-r--r-- 1 root root 497799 May  3 07:43 jq

2 퍼미션 조정

  • 모든 사용자에 실행권한 부여
[root@zetawiki bin]# chmod a+x jq
[root@zetawiki bin]# ll jq
-rwxr-xr-x 1 root root 497799 May  3 07:43 jq

3 테스트

[root@zetawiki bin]# jq

jq - commandline JSON processor [version 1.4]
Usage: jq [options] <jq filter> [file...]

For a description of the command line options and
how to write jq filters (and why you might want to)
see the jq manpage, or the online documentation at
http://stedolan.github.com/jq

4 같이 보기

5 참고

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}