16進ダンプコマンド(View Only)は「hexdump」コマンドで見る事は出来ますが、
ごく稀にバイナリデータを扱いたい(編集)場合があった場合に「hexedit」というパッケージを使用すると便利です。
インストールと使用方法は以下のように実施して下さい
「hexedit」のインストール
# yum -y install hexedit
Setting up Install Process
Setting up repositories
updates-released 100% |=========================| 951 B 00:00
extras 100% |=========================| 1.1 kB 00:00
base 100% |=========================| 1.1 kB 00:00
Reading repository metadata in from local files
Parsing package install arguments
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for hexedit to pack into transaction set.
hexedit-1.2.10-4.i386.rpm 100% |=========================| 4.6 kB 00:00
---> Package hexedit.i386 0:1.2.10-4 set to be updated
--> Running transaction check
Dependencies Resolved
=============================================================================
Package Arch Version Repository Size
=============================================================================
Installing:
hexedit i386 1.2.10-4 base 32 k
Transaction Summary
=============================================================================
Install 1 Package(s)
Update 0 Package(s)
Remove 0 Package(s)
Total download size: 32 k
Downloading Packages:
(1/1): hexedit-1.2.10-4.i 100% |=========================| 32 kB 00:00
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Installing: hexedit ######################### [1/1]
Installed: hexedit.i386 0:1.2.10-4
Complete!
バイナリ編集
# hexedit 編集したいファイル名
|