How do I make this file readable/printable?


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers How do I make this file readable/printable?
# 1  
Old 02-27-2014
How do I make this file readable/printable?

When I do the file I get
Code:
ELF 32-bit MSB executable SPARC Version 1, dynamically linked, not stripped

I am almost 100% sure I was able to print a readable version of this file in the past but I cannot remember how. Is it possible to convert this file into something that can be read and or printed?
# 2  
Old 02-27-2014
It appears to be a binary file. You have a few options:

Code:
1.  If you just want to see the text, you can try the strings command:
strings <binary>

2.  You can try using the objdump command (if available) which will convert
the file to assembly:
objdump --disassemble <binary> > output

3. Finally you can locate and install a full blown disassembler application.

Hope this helps.
This User Gave Thanks to in2nix4life For This Post:
# 3  
Old 02-27-2014
Quote:
Originally Posted by fsanchez
I am almost 100% sure I was able to print a readable version of this file in the past but I cannot remember how. Is it possible to convert this file into something that can be read and or printed?
Readable in what sense? You can dump it into printable numbers or disassemble it into assembly language instructions but this may not be too useful to you.

There's generally not an easy/convenient way to convert compiled instructions back into source code, with a possible exception: If the program was compiled with debugging information, it may contain some of the code as raw text. Again objdump is potentially useful here.
This User Gave Thanks to Corona688 For This Post:
# 4  
Old 02-27-2014
Hi.

A Google search for decompile MSB executable SPARC produces > 10K hits, among them is Disassembling which may be of interest.

Best wishes ... cheers, drl
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Inserting a non printable character in a file

For some testing I want to insert a non printable character in a file. How to do it? I inserted ctrl-v ctrl-k through vi. But I do not think it is a proper non printable character. (3 Replies)
Discussion started by: Soham
3 Replies

2. Shell Programming and Scripting

Removing Non-printable characters in unix file

Hi, We have a non printable character "®" in our file , we want to remove this character, we tried tr -dc '' < oldfile> newfile but this command is removing all new line entries along with the non printable character and all the records are coming in one line(it is changing the format of the... (2 Replies)
Discussion started by: pyaranoid
2 Replies

3. Programming

writing to file is not readable by user

In the following code segment I write to some file using , but this write is not readable by me when i open the file. any helps would be thankful. #include<stdio.h> #include<stdlib.h> #include<unistd.h> #include<sys/types.h> #include<sys/stat.h> #include<errno.h> #include<fcntl.h>... (6 Replies)
Discussion started by: saman_glorious
6 Replies

4. Shell Programming and Scripting

check if file is readable by others

hi all, in ksh script how do i detect if a file is readable by others ?? thanks. (6 Replies)
Discussion started by: cesarNZ
6 Replies

5. UNIX for Dummies Questions & Answers

Make netstat human readable?

Is there any way to make netstat output the information in a more human readable format? even if it's not exact? I don't even care if it has to round up/down to the nearest Meg to make it work. I wind up having to stare at netstat running for while and I wish I could get it to output things in a... (10 Replies)
Discussion started by: MrEddy
10 Replies

6. Red Hat

Make STDERR readable as STDOUT

Hi all. I am trying to use backticks in Perl to put STDERR into a string. The code is... $readkey_test = `perl -MTerm::ReadKey -e 1`; print $readkey_test; if ($readkey_test =~ m/]/) { print "ReadKey not installed...\n"; } else { print "ReadKey installed...\n"; } If it comes up... (3 Replies)
Discussion started by: austinharris43
3 Replies

7. UNIX for Dummies Questions & Answers

How to make user's qutoa in human readable format?

$ quota Disk quotas for user cqlouis (uid 1254): Filesystem blocks quota limit grace files quota limit grace /dev/sdb1 64 300000 320000 8 0 0 $ I want to make the output of command quota in human readable format? How to? As we... (2 Replies)
Discussion started by: cqlouis
2 Replies

8. UNIX for Dummies Questions & Answers

delete non printable characters from file

i have a file which contains non printable characters like enter,escape etc i want to delete them from the file (2 Replies)
Discussion started by: alokjyotibal
2 Replies

9. Post Here to Contact Site Administrators and Moderators

To make my post readable again

Dear Moderator, Being fully aware about the duplication , is there anything by which a problem posted not answered for more than a week , how can we make the same readable once again , cause someone may have solution?? I have posted for array printing in hotizontal way , but no reply , so I... (1 Reply)
Discussion started by: vakharia Mahesh
1 Replies

10. UNIX for Dummies Questions & Answers

Howto make an URL world readable

Currently this url: http://bioinfo-z.comp.nus.edu.sg/Test/ Is only accessible through my local network (for external user need VPN). My question is how can I make that URL accessible for everybody even those outside my network? That url is served under Solaris 10 and I do have SU... (3 Replies)
Discussion started by: monkfan
3 Replies
Login or Register to Ask a Question