LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 03-29-2004, 08:57 PM   #1
mfo6463
Member
 
Registered: Mar 2004
Posts: 88

Rep: Reputation: 15
Need help with file


I need to view a file, but every time I open it it comes up as wierd symbols. How do I translate it? This is what it looks like (it is not the whole file, i just copied a peiceof it):

ǜ>v�ꪈ~M���{l<y�f�#$k41*~Fק

Somebody please help because it is my homework, and I need it.

Last edited by mfo6463; 03-29-2004 at 10:16 PM.
 
Old 03-29-2004, 09:03 PM   #2
Demonbane
LQ Guru
 
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796

Rep: Reputation: 47
Try "file <file>" and it should tell you what type of file it is.
Quote:
?>v??~M???{l<y?f?#$k41* ~ F
You don't expect anyone to be able to read that do you?
 
Old 03-29-2004, 09:05 PM   #3
mfo6463
Member
 
Registered: Mar 2004
Posts: 88

Original Poster
Rep: Reputation: 15
I don't expect anyone to read it, I was just hoping that someone saw something like it before and knows how to fix it.....

I wrote the document and saved it. now it shows up like that.

What do you mean by "file <file>"? Where do it do that?
 
Old 03-29-2004, 10:13 PM   #4
charon79m
Member
 
Registered: Oct 2003
Distribution: Just about anything... so long as it is Debain based.
Posts: 297

Rep: Reputation: 30
What is this file? Are you sure it's not a program? How are you trying to read it? Should it be text, pdf, .rtf....

You should also read the best practices on how to post. The subject line of your post is almost exactly how they tell you how to NOT post. Please, read the FAQ.

Thanks.

MrKnisely
 
Old 03-29-2004, 10:16 PM   #5
mfo6463
Member
 
Registered: Mar 2004
Posts: 88

Original Poster
Rep: Reputation: 15
I'm sure it's not a program because I just typed it about three hours ago. It is a text document. I'm sorry about the subject line, I didn't read the FAQ, but I will read it right now and change the subject line.
 
Old 03-29-2004, 10:29 PM   #6
JrLz
Member
 
Registered: Mar 2004
Location: Jakarta
Posts: 164

Rep: Reputation: 30
where did you write it? with what ? to what?
 
Old 03-29-2004, 10:31 PM   #7
charon79m
Member
 
Registered: Oct 2003
Distribution: Just about anything... so long as it is Debain based.
Posts: 297

Rep: Reputation: 30
I'm no moderator or anything, no need to apologize. It's just some poeple get tired of seeing these types of posts and will not post a response.

What do you get when you type : cat /directory/filename ?

Also, what about if you do this: strings /directory/filename ?

How did you create this file? What application?
 
Old 03-29-2004, 10:32 PM   #8
mfo6463
Member
 
Registered: Mar 2004
Posts: 88

Original Poster
Rep: Reputation: 15
I used AbiWord
 
Old 03-29-2004, 10:37 PM   #9
mfo6463
Member
 
Registered: Mar 2004
Posts: 88

Original Poster
Rep: Reputation: 15
cat/directory/filename displays back this:

Couldn't display "http://cat/***", because no host "cat" could be found. Check that the spelling is correct and that your proxy settings are correct.

and strings /directory/filename displays back this:

Couldn't display "http://strings/***", because no host "strings" could be found. Check that the spelling is correct and that your proxy settings are correct.
 
Old 03-29-2004, 10:41 PM   #10
sumadartson2004
LQ Newbie
 
Registered: Mar 2004
Posts: 3

Rep: Reputation: 0
Which program did you use to create the file? It was saved as a certain file type which is not plain text. The only way to view that file would be to know what type of file it is and open it with the appropriate program.

For example, if you were to use OpenOffice to create a document and save it in the default file type, and later try to use a text editor to view the file, it would not be readable in the text editor. This is because OpenOffice wouldn't have saved it as plain text unless you were to specify that when you saved the document.
So what you need is to know what type of file it is, and open it with the appropriate program.

That is what the purpose of the command Demonbane mentioned. If you go into a console window, and type "file <filename>", it should tell you what type of file it is. Then you'll have to open the file with a program designed to handle that type of file.
 
Old 03-29-2004, 10:54 PM   #11
mfo6463
Member
 
Registered: Mar 2004
Posts: 88

Original Poster
Rep: Reputation: 15
I used AbiWord, but when I open it with that it says that there was an error inporting the file. Does that mean that its just gone?
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
FAST (Mega fast Mirror) SUSE 10 beta 4 download 1kyle SUSE / openSUSE 2 09-07-2005 10:13 AM
Slamd64 is FAST FAST !!! SML Slackware 10 05-03-2005 05:36 AM
KDE 3.4 Beta 1 - Fast, Fast, very nice linchat SUSE / openSUSE 0 01-25-2005 11:42 PM
internet fast-slow-fast-slow big_and_fat_guy Mandriva 5 10-11-2003 05:44 PM
please help very fast anyone killi Slackware 31 04-22-2003 04:19 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:31 PM.

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
Open Source Consulting | Domain Registration