Linux - GeneralThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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??
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.
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
sparknotes.doc: Microsoft Office Document
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??
Originally posted by Haroon 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??
"file" tells you what type of file it is, as you can see in your post. It does not open the file for you.
*.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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.