electronstate
Posts: 4
Joined: Mon Jul 16, 2012 8:18 pm

raspbian hex editor

Tue Jul 29, 2014 8:33 pm

Can anyone recommend a hex editor for Raspbian ?

User avatar
DougieLawson
Posts: 36306
Joined: Sun Jun 16, 2013 11:19 pm
Location: Basingstoke, UK
Contact: Website Twitter

Re: raspbian hex editor

Tue Jul 29, 2014 8:36 pm

sudo apt-get install hexedit
Note: Having anything humorous in your signature is completely banned on this forum. Wear a tin-foil hat and you'll get a ban.

Any DMs sent on Twitter will be answered next month.

This is a doctor free zone.

electronstate
Posts: 4
Joined: Mon Jul 16, 2012 8:18 pm

Re: raspbian hex editor

Tue Jul 29, 2014 8:43 pm

Thanks Dougie ...

ccouteiro
Posts: 1
Joined: Wed Aug 16, 2017 1:49 pm

Re: raspbian hex editor

Wed Aug 16, 2017 1:51 pm

In command line i just have to type "sudo apt-get install hexedit" to install it and run it?

MrMeowington
Posts: 3
Joined: Mon Aug 13, 2018 2:02 am

Re: raspbian hex editor

Fri Aug 24, 2018 3:56 pm

ccouteiro wrote:
Wed Aug 16, 2017 1:51 pm
In command line i just have to type "sudo apt-get install hexedit" to install it and run it?
If I'm interpreting this correctly, you're asking if apt-get will run the program for you. In that case:

No, the apt-get command only performs the action specified.
For instance, "sudo apt-get install abc123" would install a package named abc123, and nothing more.

You'll need to type "hexedit" into the terminal to run it.
To code, or not to code...
That is the question.

n67
Posts: 938
Joined: Mon Oct 30, 2017 4:55 pm

Re: raspbian hex editor

Fri Aug 24, 2018 4:00 pm

And yet, it is true that all he has to do is:

1) type "sudo apt-get install hexedit" to install it
(and)
2) run it
"L'enfer, c'est les autres"

G fytc hsqr rum umpbq rm qyw rm rfc kmbq md rfgq dmpsk:

Epmu Sn!

J lnacjrw njbruh-carppnanm vxm rb mnuncrwp vh yxbcb!

sid_snake
Posts: 10
Joined: Thu Sep 05, 2019 8:04 pm

Re: raspbian hex editor

Wed Oct 16, 2019 8:12 am

As a noob, perhaps if I explain how I got it to work for me.

sudo apt-get install hexedit - my error was to have a blank between apt and -get: apt-get is correct, apt -get gives an error.

That should download the app (or whatever people call programs in linux)

Then open Terminal and type: hexedit

That should run the app with a request for filename. I'm new to linux way of doing things and getting the right path confused me, I'm on Rasp Pi with all the default settings.
My basic "root" is /home/pi and from then on are my files. I had a folder called "myfolder" in which I had a file called "lookat.mee"

I thought the path name was: /home/pi/myfolder/lookat.mee, but it ain't, this worked-> myfolder/lookat.mee

I now know, I am "pi" and all my path reference come from that, not to include the first / and not to have blank spaces in folders or names, it's the underscore trick. "my folder" = fails, "my_folder" = works.

User avatar
Gavinmc42
Posts: 3881
Joined: Wed Aug 28, 2013 3:31 am

Re: raspbian hex editor

Wed Oct 16, 2019 8:22 am

You can look in the GUI software menu choice and search to see what Raspbian suggests to install.
That will install it and add a menu/desktop Icon for it.
- Preferences/Recommended Software...
I'm dancing on Rainbows.
Raspberries are not Apples or Oranges

User avatar
piglet
Posts: 911
Joined: Sat Aug 27, 2011 1:16 pm

Re: raspbian hex editor

Wed Oct 16, 2019 9:58 am

I tend to use vi and xxd:

vi as hex editor:

`:%!xxd` to switch into hex mode (without the ` of course)
When you're done hit escape again and type:
`:%!xxd -r` to exit from hex mode.

bls
Posts: 257
Joined: Mon Oct 22, 2018 11:25 pm
Location: Seattle, WA

Re: raspbian hex editor

Wed Oct 16, 2019 6:09 pm

vi aficionados might also like bvi :lol:

Return to “Raspbian”