Unreadabel file
Hello
I get a zip file and unzipped it but when i try to read it I enter " cat filename" on the terminal window then I get the great amount of unreadable sine. What i must do to read this file?? |
If the file isn't a text file, you will get all sorts of junk. What's inside the zip file?
|
This is a simple text file in English. I have read it on my XP but i can't do it in LINUX.
|
How are you unzipping?
|
this is what always works on my computer:
Code:
unzip filename.zip or maybe the zipped file is corrupt |
did it end up being corrupt?
|
unzip works good after unzipping i get the another file " filename.doc" when i try to read the .doc file with help of the cat command in my terminal window. i get the message that the file or directory does't exist. and some time after cat i get a great amount of unreadable sin.
as i said that it is a simple text file. |
Nope, it's most likely a word document :)
try file filename.doc and it will tell you what kind of file it is. Cheers, Tink |
I tryed with :
$ cat filename.doc NO RESULT |
cat doesn't work that well with doc files... i tried it on one of mine, and it printed English words mixed together with boxes and question marks - thus it understood some things, but not all of the file.
Code:
$ file sparknotes.doc |
Thank you very much for your reply but what do you mean with code :
$ file sparknotes.doc sparknotes.doc: Microsoft Office Document How can i use it?? does it open the file for me?? |
If you want to open it in Linux, you have to use OpenOffice or a similar word processing tool
|
Quote:
*.doc is a binary file, not a text file, so you will need something other than a text editor to open it. As bathory suggested, Open Office should work. Abiword should work as well. |
what i posted was just the command i entered on one of the files i had on my computer, to show you as an example. milkshaw and bathory are correct in that you need OpenOffice or similar to open the doc file, and not a simplistic text editor.
http://download.openoffice.org/1.1.2/index.html |
Thank you very much I have opened the file, No problem more !!
|
glad to hear it! :-D
|
All times are GMT -5. The time now is 11:59 AM. |