LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 08-16-2008, 11:37 AM   #1
Pravab
Member
 
Registered: Apr 2006
Location: Dharan,Nepal
Distribution: FC5
Posts: 63

Rep: Reputation: 15
Question Need help to recover Deleted file - (file was saved in doc)


well i was making a file and then after 5 days of work i saved it in .doc extension as to send it to university and then shut down my laptop (which is running in ubuntu). Next time i opened it i dont find the file there.

can anyone help? how can i recover the lost or deleted :S?

Thanx for ur help in advance
 
Old 08-16-2008, 08:00 PM   #2
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
Blog Entries: 15

Rep: Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669
How exactly did you try to find it?

Linux doesn't require ".doc" or any other extensions the Windows does. Putting ".doc" at end of filename just means that is the end of the file name and has no special meaning in and of itself.

That is to say you could save a file as:
ralph
ralph.exe
ralph.doc
ralph.sh

So long as its contents, ownership and permissions were the same then it would be viewed as the same type of file by Linux.

Also remember Linux is case sensitive unlike Windows. That means a name ending with ".doc" isn't the same as ".DOC" or ".dOc" or ".doC" etc...

If you know the name of the file and are sure you saved it but aren't sure of the case you can run:

find / -iname <filename>

Where <filename> is the actual file name you think you saved it as.

Alternatively if you aren't sure of the name but are sure of the .doc at end you can try:

find / -iname "*.doc"
 
Old 08-17-2008, 10:57 AM   #3
Pravab
Member
 
Registered: Apr 2006
Location: Dharan,Nepal
Distribution: FC5
Posts: 63

Original Poster
Rep: Reputation: 15
thanx so much for the help jlightner
i will try once i get my laptop back
D:
 
  


Reply

Tags
deleted, files, lost, recover



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
Can I recover a deleted file in Linux ? josedsilva Linux - General 9 01-05-2010 07:49 AM
Recover a file saved in a mysql table via php upload prabhatsoni Linux - Software 0 07-13-2006 07:49 AM
I have deleted a file thru rm can i recover it ricka343 Linux - General 2 06-27-2006 03:28 AM
How to recover deleted file v1nc3nt Linux - Newbie 5 05-23-2006 03:28 AM
How to recover a deleted file from ext3 filesystem ? Honor Linux - Software 1 12-21-2005 12:36 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 10:09 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