LinuxQuestions.org
Review your favorite Linux distribution.
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 12-07-2010, 03:26 PM   #1
NightSky
Member
 
Registered: Sep 2001
Location: Texas :(
Distribution: Slackware64-14.1
Posts: 854

Rep: Reputation: 51
Question Text document displays only symbols


When I try to open text file with mouse pad or kate write all I see is PK and in small letters HF over TF_
I have no idea how this happened. Can anyone help? How do I get my text document back? Using XFCE4.6.1, mousepad and kate write for my journal. Properties says its a zip archive but I didn't do that. Anyway tried to unzip it and got:
Code:
PowerJustice may be a plain executable, not an archive
unzip:  cannot find zipfile directory in one of PowerJustice or
        PowerJustice.zip, and cannot find PowerJustice.ZIP, period.
Thanks

Last edited by NightSky; 12-07-2010 at 04:45 PM. Reason: More discriptive title
 
Old 12-07-2010, 08:58 PM   #2
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.9, Centos 7.3
Posts: 17,417

Rep: Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397
Try

file PowerJustice

on the cmd line.
Was this file created on MS or copied to/from MS (or Mac?)
 
1 members found this post helpful.
Old 12-07-2010, 10:52 PM   #3
NightSky
Member
 
Registered: Sep 2001
Location: Texas :(
Distribution: Slackware64-14.1
Posts: 854

Original Poster
Rep: Reputation: 51
chrism01 thanks,
Document was created in mousepad... not copied to MS or Mac... tried to open it with KWord, vi, emac? Emac just displays PK^C^D^T, what does this mean? Don't know what happened. Cmd line directory:
Code:
$cd /home/usr/Desktop/myjournal
$ls
PowerJustice PowerJustice~ PowerJustice~~
File Properties says the file is only 5b... think document is lost. Thanks any way for trying to help.

Last edited by NightSky; 12-07-2010 at 11:09 PM.
 
Old 12-07-2010, 11:01 PM   #4
TheIndependentAquarius
Senior Member
 
Registered: Dec 2008
Posts: 4,680
Blog Entries: 29

Rep: Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918
I did guess you would miss that

file is the name of a command used to display the type of the file in question!

Example:
Code:
anisha@linux-uitj:~> file ak.c
ak.c: ASCII C program text
 
1 members found this post helpful.
Old 12-07-2010, 11:17 PM   #5
TheIndependentAquarius
Senior Member
 
Registered: Dec 2008
Posts: 4,680
Blog Entries: 29

Rep: Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918
and secondly how about trying some document recovery softwares ?
 
Old 12-08-2010, 03:38 PM   #6
NightSky
Member
 
Registered: Sep 2001
Location: Texas :(
Distribution: Slackware64-14.1
Posts: 854

Original Poster
Rep: Reputation: 51
Thank you anishakaul, for clarify the use of command file.
Code:
$file PowerJustice~
PowerJustice:Zip archive data, at least v2.0 to extract
Don't know about document recovery software Googling it..been looking at the man zip. I have zip-3.0 installed. How do I use zip -FF?
 
Old 12-08-2010, 10:13 PM   #7
TheIndependentAquarius
Senior Member
 
Registered: Dec 2008
Posts: 4,680
Blog Entries: 29

Rep: Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918
Quote:
Originally Posted by NightSky View Post
Don't know about document recovery software Googling it
See if this helps:
http://www.officerecovery.com/

You can also take the file to windows then use some of the above software meant for windows.

Quote:
Originally Posted by NightSky View Post
How do I use zip -FF?
http://techie-buzz.com/foss/fix-corr...quick-tip.html

Last edited by TheIndependentAquarius; 12-08-2010 at 10:17 PM.
 
  


Reply


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Thunar File Manager shows text files as Adobe bridge workspace files bret381 Linux - Software 6 01-01-2011 10:23 AM
[SOLVED] blank mindmap in freemind- but .mm file shows up in text editor digorykirke Linux - Software 2 11-29-2009 02:52 PM
How to parse text file to a set text column width and output to new text file? jsstevenson Programming 12 04-23-2008 03:36 PM
.ram file shows as text/plain biosnacky Linux - Newbie 8 01-07-2007 09:21 PM

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

All times are GMT -5. The time now is 08:19 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration