Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 11-17-2005, 12:10 PM   #1
Registered: Oct 2005
Location: banglore(india)
Posts: 62

Rep: Reputation: 15
hi all

when i did vi /bin/rmdir

a file opened with unknown charecters can anyone of u tell me how to see the content to the commands there anyway
it must be there anywhere tell me please
Old 11-17-2005, 12:16 PM   #2
Senior Member
Registered: Jan 2002
Location: St Louis, MO
Distribution: Ubuntu
Posts: 1,284

Rep: Reputation: 47
Sounds like you're trying to open the executable, which won't work like that. You can change to /bin and then use "ls" to list the contents of the directory, but to actually view the content of the executable as in it's code, the only way other than disassembling it is to view the original source code for it.
Old 11-17-2005, 03:00 PM   #3
Registered: Oct 2004
Location: Brooklyn
Distribution: Slackware 14.1, 14.2; Debian Jessie; Debian Stretch
Posts: 295

Rep: Reputation: 36
You can view a binary file using od (octal dump). I'm not sure it will help you
Old 11-17-2005, 03:39 PM   #4
Senior Member
Registered: Jul 2004
Location: Lower Rhine region, Germany
Distribution: Slackware64 14.2 and current, SlackwareARM current
Posts: 1,603

Rep: Reputation: 128Reputation: 128
Another solution might be to use the "strings" command. It gives you the human readable contents of a binary file.


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 Off
HTML code is Off > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:18 PM.

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