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!
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Hi people i have huge question, after so many times deleting staff for mistake.
I am unable to get it back from my external hard drive.
can any body please help me.
I use Ubuntu 8.04 LTS
and I have all my staff on external hardrive.
Z:----> Media -----> FreeAgent Drive
After delete I knew was her
, I did all the search I can possible think of.
and i dint have any good look
can any one please help me out on this issue?.
My delete file was on external hard drive not local.
and yes i did check recycle bin, but this folder it's empty too, so where everything go? on external hardware delete files!
I have found my deleted files on the .1000 folder hidden in the root folder of the USB drive.
a sub-folder to this is "files" ...
if you are using the nautilus then is a matter of going into your USB root folder and using the key conbination CTRL-> H. Or selecting view from the top menu and putting a checkmark on "Show hidden files".
It really depends on how did you deleted your files.
I think in nautilus the delete actually moves the files to recycle bin. They should be in hidden folder on that drive.
But if you used command line to do so (ie. bash script, mc, del, ...) then the files are gone. Sometimes they can be recovered. If the given part of drive have not yet been overwritten then use some recovery tool. Which one depend on which filesystem was on that external drive.
Just this week I was working on a hard drive that a friend of mine messed up by mistake using his Windoze 7 (ntfs).
He could not see the drive on that operating system, but he has seen some miracles that I have been able to pull off in Linux for other people.
His major concern were his Wife's pictures. He told me that the dog's house had a leaky roof and he wanted to get back into the main house.
After lecturing him about the importance of "backing up" I took the drive home.
I made an image of the drive with "dd" and used foremost to recover his pictures from the image.
Good thing I did the image, since, upon his adamant argument that he has found a Windoze program that would do the job, he ended up wiping the data from the original drive.
Anyway, the point is that foremost will recover several types of files from most file systems, even those files that you think are gone; as my friend soon found out "the hard way"....
He made the mistake of giving the 33,500 images that I recovered to his wife to pick the ones that she wanted to print.
Imagine his surprise when he found himself back in the dog house after his wife saw "artful" pictures of female bodies.
What can I say, foremost is that good, and Linux rocks....
I made an image called samsung.iso with dd on a 1 Tb Hard drive mounted as /mnt/sde1.
Then I created the foremost folder on the same drive (The drive belongs to my friend)
foremost -v -o /mnt/sde1/foremost -i /mnt/sde1/samsung.iso
Several subfolders will be created on the output folder, such as jpg, bmp, exe, zip, rar ect....
The files will be numbered since foremost does not know the original file name....
I use a dual boot computer at home and/or M$ at work. Since the partition on my USB disk is FAT when you view the drive in Windows you get to see the .1000 folder.
On Linux look for the folder .Trash hidden in your home folder.
In Ubuntu I login as Linux01, so the path to my trash folder is /home/Linux01/.Trash.
As stated before using Nautilus, navigate to your home --> Linux01.
Do the Ctrl-->h or select the "show hidden files" menu selection from the view menu.
When you try to undelete, you MUST have the drive mounted in the location that it was when the file was deleted.
To get there from the command line do the cd /home/Linux01.
then ls -al.
you should be able to view the .Trash folder