"리눅스 hexdump"의 두 판 사이의 차이

잔글 (봇: 자동으로 텍스트 교체 (-==참고 자료== +==참고==))
 
(사용자 2명의 중간 판 6개는 보이지 않습니다)
5번째 줄: 5번째 줄:


==실습==
==실습==
<source lang='dos'>
<source lang='console'>
[root@jmnote ~]# echo hello > hello.txt
[root@zetawiki ~]# echo hello | hexdump
[root@jmnote ~]# hexdump hello.txt
0000000 6568 6c6c 0a6f                         
0000000 6568 6c6c 0a6f                         
0000006
0000006
</source>
</source>
<source lang='dos'>
<source lang='console'>
[root@jmnote ~]# gzip hello.txt
[root@zetawiki ~]# echo hello > hello.txt
[root@jmnote ~]# hexdump hello.txt.gz  
[root@zetawiki ~]# hexdump hello.txt
0000000 6568 6c6c 0a6f                       
0000006
</source>
<source lang='console'>
[root@zetawiki ~]# gzip hello.txt
[root@zetawiki ~]# hexdump hello.txt.gz  
0000000 8b1f 0808 15aa 541d 0300 6568 6c6c 2e6f
0000000 8b1f 0808 15aa 541d 0300 6568 6c6c 2e6f
0000010 7874 0074 48cb c9cd e7c9 0002 3020 363a
0000010 7874 0074 48cb c9cd e7c9 0002 3020 363a
21번째 줄: 26번째 줄:


==같이 보기==
==같이 보기==
*[[xxd]]
* [[리눅스 xxd]]
* [[리눅스 od]]
* [[리눅스 sed 헥스 변경]]


==참고 자료==
==참고==
*http://www.oreillynet.com/linux/cmd/cmd.csp?path=h/hexdump
*http://www.oreillynet.com/linux/cmd/cmd.csp?path=h/hexdump


[[분류: /usr/bin]]
[[분류: /usr/bin]]

2017년 7월 11일 (화) 03:48 기준 최신판

1 개요[ | ]

리눅스 hexdump
/usr/bin/hexdump
  • 16진모드 등으로 파일을 보여주는 리눅스 명령어

2 실습[ | ]

[root@zetawiki ~]# echo hello | hexdump
0000000 6568 6c6c 0a6f                         
0000006
[root@zetawiki ~]# echo hello > hello.txt
[root@zetawiki ~]# hexdump hello.txt
0000000 6568 6c6c 0a6f                         
0000006
[root@zetawiki ~]# gzip hello.txt
[root@zetawiki ~]# hexdump hello.txt.gz 
0000000 8b1f 0808 15aa 541d 0300 6568 6c6c 2e6f
0000010 7874 0074 48cb c9cd e7c9 0002 3020 363a
0000020 0006 0000                              
0000024

3 같이 보기[ | ]

4 참고[ | ]

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