LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices



Reply
 
Search this Thread
Old 06-05-2005, 01:33 AM   #1
DreameR-X
Member
 
Registered: Dec 2004
Location: New York
Distribution: Slackware
Posts: 154

Rep: Reputation: 30
Question Editing an .exe file (Dropline-GNOME and Slackware Current)


Hello, I'm just wondering if there is a way to use a text editor to view .exe files in linux? It gave me an error when I tried with gedit, so I'm curious if it is possible at all or if I need a windows emulator. Thanks ahead!

Cheers,
Galen
 
Old 06-05-2005, 03:01 AM   #2
Simon Bridge
Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 197Reputation: 197
No it is not possible. *.exe files are DOS binary files.
You cannot view them in windows or DOS either - only execute them.
(The error you got was about trying to open a binary?)

Last edited by Simon Bridge; 06-05-2005 at 03:03 AM.
 
Old 06-05-2005, 03:50 AM   #3
kencaz
Senior Member
 
Registered: Mar 2005
Location: Las Vegas, NV
Distribution: Mandriva Slackware FreeBSD
Posts: 1,468

Rep: Reputation: 48
There are editors that will allow you to view and changed .exe and other files.
You may want to search for Decompilers, hex editors, reverse engineering sofware, etc... if your into that sort of thing.

http://www.freebyte.com/programming/...#disassemblers
http://www.programmersheaven.com/zone16/cat1055/

KC
 
Old 06-05-2005, 03:51 AM   #4
ahh
Member
 
Registered: May 2004
Location: UK
Distribution: Gentoo
Posts: 293

Rep: Reputation: 31
Khexedit is probably the easiest and most capable binary file viewer, but there is ghex (gtk based) and hexcurse (ncurses based) and several others as well. A google search for "linux hex editor" is a good start.

If you are just interested in the readable content of the file you can use the command
Code:
strings /path/to/file
to view the content in a console. (man strings for options)
 
Old 06-05-2005, 04:59 PM   #5
DreameR-X
Member
 
Registered: Dec 2004
Location: New York
Distribution: Slackware
Posts: 154

Original Poster
Rep: Reputation: 30
Awesome! Thanks guys! Yea, Dropline came with a hex editor, so I'll just use that.

Simon: You can view .exe files in Windows just using wordpad (you just get a lot of crazy symbols you need to cipher through). =)

Cheers,
Galen
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Updating dropline Gnome on Slackware 10.1? grazak Linux - Software 1 03-20-2005 08:04 AM
Dropline Gnome For Slackware 10.1 YellowDogMACMAN Linux - Software 2 02-09-2005 11:09 PM
Installing Dropline Gnome in Slackware 9.1 simeandrews Slackware 3 06-01-2004 10:25 PM
Gnome 2.6 in the current branch? (+Questions about Dropline) the who Slackware 6 05-06-2004 12:32 PM
install G-Rip on Slackware w/Dropline Gnome opafire Slackware 9 01-27-2004 06:24 PM


All times are GMT -5. The time now is 05:59 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration