Access a file in hex

Technical issues/questions of an intermediate or advanced nature.
User avatar
Ed_P
Contributor
Contributor
Posts: 8360
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

Access a file in hex

Post#1 by Ed_P » 02 Mar 2022, 18:55

In Windows I use to use an app called HexEdit, is there an app that does that in Porteus?
Ed

beny
Full of knowledge
Full of knowledge
Posts: 2092
Joined: 02 Jan 2011, 11:33
Location: italy

Access a file in hex

Post#2 by beny » 02 Mar 2022, 19:07

yes the same /hexedit-1.2.12-x86_64-1_SBo.tgz

User avatar
Ed_P
Contributor
Contributor
Posts: 8360
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

Access a file in hex

Post#3 by Ed_P » 02 Mar 2022, 19:49

Do you have a download link for it?

Finally found it. https://www.slackware.hr/~mario/slackwa ... -1_SBo.tgz

Added in 7 hours 25 minutes 41 seconds:
Downloaded it, extracted it, made a module of it.

Code: Select all

#!/bin/sh

if [ `whoami` != "root" ]; then
   echo -e "Enter root's password\033[1;31m"
   su -c "sh $0 $1"
   exit
fi
echo -e "\033[0m"; echo -en "\033]0;download2xzm\a"

#set -x;

cd /home/guest/Downloads/
mkdir -p                          /tmp/dwnld/
cp -r -a --parents install/*      /tmp/dwnld/
cp -r -a --parents usr/*          /tmp/dwnld/
dir2xzm   /tmp/dwnld              /tmp/hexedit.xzm
rm    -rf /tmp/dwnld/ && echo && ls -sh /tmp/*.xzm
sleep 5
exit

Added in 1 day 4 hours 28 minutes 4 seconds:
A useful how to use link: https://man.cx/hexedit
Ed

Post Reply