Linux - NewbieThis 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
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.
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.
Distribution: Just about anything... so long as it is Debain based.
Posts: 297
Rep:
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.
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.
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.