2014-03-12

using 'vi text editor' as hex editor


Pranaam to all bhai ji _/\_
 Today we will learn how to use vi text editor as hex editor in linux environment .
 yes we can use vi text editor as hex editor , which is easy to operate as compare to any hex editor

lets start :)

open your binary file in vi editor using command
vi  file_name

i am going to open vlc media player binary file


it will be something like this  :D


:P some random symbols
ok just type
:%!xxd

and it will switch into hex editing mode


dont worry , type  :%!xxd and press enter key
you will see something like this


>:D<
you are in hex editing mode , now edit whatever you want
once you have done with editing
type  esc key and then type
%!xdd -r
press enter key, we will back to text editing mode .


 now, to save changes type

:w
changes will be saved 



this is how you can use vi editor as hex editor :)
Thank you
Greetz to :-
Zero cool ,code breaker ica, Aasim shaikh,Reborn, Raman kumar rana,INX_r0ot,Darkwolf indishell, Chinmay Pandya ,Silent poison India,Magnum sniper,Atul Dwivedi,ethicalnoob Indishell,Local root indishell,Irfninja indishell,Hardeep bhai,Mannu,Viki , AR AR bhai ji, Anju and Deepika kaushik



Share this post

1 comments

:) :-) :)) =)) :( :-( :(( :d :-d @-) :p :o :>) (o) [-( :-? (p) :-s (m) 8-) :-t :-b b-( :-# =p~ :-$ (b) (f) x-) (k) (h) (c) cheer

© 2009 Start With Linux | Mannu Linux
Designed by cyb3r.gladiat0r
Posts RSSComments RSS
Back to top