Ubuntu :: Find What File Is Being Used For A File Want To Deleted?
Aug 28, 2010I want to delete a file but it says it's in use by another program. I forgot what the command was to look for it.
View 4 RepliesI want to delete a file but it says it's in use by another program. I forgot what the command was to look for it.
View 4 RepliesI used the ext3 format when I formatted my partition prior to installing Ubuntu10.10. I had accidentally deleted a file and began the process to get it back. It wasn't critical but helpful to recover the file. To make a long story short I ran into to some unexpected road blocks. I tried to use PhotoRec to get the job done but with no success.
I'm just looking down the road in the event I might have to recover something important.If it would be better going back to the Fat32 file system I would rather do it sooner than later. Just as a side note I am dual booting between linux and windows.
In Ubuntu 10.04 I installed VMware workstation 7.1 to run a VM - everytime I need to run it though, Workstation doesn't find a file (VMmon) and I need to run in terminal this command: sudo /etc/init.d/vmware start
How can I add this in the boot file so it starts automatically and I do not have to run it manually -
As I know, lly includes a control file. Takelibfreetype6_2.3.9-5ubuntu0.4_i386.deb for example, its control file includes the following content:
Package: libfreetype6
Source: freetype
Version: 2.3.9-5ubuntu0.4
[code]...
How to find filename and file path from a string
View 7 Replies View RelatedMany folders within a subdirectory some of which have lots of data in and some of which have only one specific file called produkt.fil inside.I need a command to find and delete those folders that contain ONLY the file produkt.fil - if other files exist (doesnt matter what they are) then they should be left alone. Note: produkt.fil exists in all of the folders always.
View 5 Replies View RelatedI have script that I'm working on that updates a username in all the files that are called blah.inc for my framework. since i host a bunch of these web apps i need to do it to all of them. so I need to figure out how to update these files automagically with out me watching it to call vim every time. heres what I have so far
Code:
This finds the files but now i need to figure out how to do s/bob/fred/g on those files.
Is there a way to undelete a just-deleted file in JFS? I can't seem to find any information on it. I'd have sworn I did this before but didn't save the steps.
View 1 Replies View RelatedA friend had a 320 gig hdd he wanted me to back up. I saved all the files in a folder "Documents & Settings" and even made a 7z archive out of it. I used a 1tb mybook and copied the files to it then tried to delete it. Now i had recovered the files using ubuntu, but moved them to my windows partition. When i got on windows 7 and tried to delete the directory "documents & settings" i got an error saying some files had names that were too large or something like that. So i went on ubuntu and deleted the files from my windows partition without moving them to the ubuntu partition.
Well my 1tb drive just broke so i lost the files on there. Now im trying to back the files up using ubuntu. I am running scalpel at the moment, and it hasnt found anything at all. I really dont know if i set up the configuration file right. I just started scanning my other hdd that contains the linux boot. It has just started so i am not sure if it will find anything or not.
But incase it doesnt, how do i set up the config file to find the file? There are two things i deleted off of my windows partition. a 7z file archive which was the 9GB directory "Documents and Settings" zipped, and the actual folder Documents and Settings.
I would like to ask if there is a way of preventing a file from being deleted, but still retaining the option of editing it. I know that I can set write access off with chmod, but that would also mean that I can't edit the file any more. What I would like to achieve is to make it impossible to remove a file on which I am working.
View 9 Replies View Relatedi have recently beingmessing about with a few of my own files(i realise that this was not very smart) and i managed to delete it from the trash. is there any possible way that i am going to be able to recover the folder that i deleted.
View 1 Replies View Relatedlol title says it all, im pretty new with using ubuntu and was messing around, I honestly dont reember what i was trying to do, but anyway, it ended up with me deleting the /usr/bin/ld file, it didnt really change anything and everything performed as normal untill i tried to compile some c++ code a few days later. now its giving me the error, collect2: cannot find 'ld', ive been searching all over looking for how I can get it back or reinstall it, seems no one else was dumb enough to do what i did lol forgot to mention, its not in the recycling bin because I override the file, then deleted it..
View 3 Replies View Relatedi'm just curious if i can search for the dir/file pattern in the single "find" command?
here is an example:
dir1/dir2/dir3/file.txt
dirXX/dirYY/dir2/dir3/file.txt
dir1/dir4/dir3/file.txt
i want to search for the pattern "dir2/dir3/file.txt"
I recently made the dumb mistake of using tar to make a backup of my "/" on my "/" when my "/" didn't have near enough space to store the backup. I received a warning message, so I canceled the terminal process and used nautilus to delete what amount of the backup had already been saved. That didn't seem to free up any space on my "/" like it should have, though. In an effort to find any hidden trash files that needed to be deleted, I used this terminal command:
[Code]...
I recently accidentally (permanently) deleted a bunch of files off my computer. I used "foremost" to recover all my images, but there are still a bunch of videos that need to be recovered. The problem is that foremost seems to have also recovered a crapload of files from before i switched to ubuntu (i just removed windoze today) so i have a LOT of jpg images right now (over 400,000) and i don't want to deal with that many video files!How do i recover my recently deleted videos without getting a bunch that i don't want?? (can i specify the folder they were deleted from or something?)PS: i used this code to recover my picturesCode:sudo foremost -t jpg -i /dev/sda1
View 1 Replies View RelatedI am running into a very strange problem where my my .htaccess file keep getting deleted.Attempted scenarios ftp upload file.txt rename to .htaccess ftp upload .htaccess ssh - wget url/.htaccess ssh - wget url/htaccess.txt, rename to .htaccess
[Code]...
I updated my computer yesterday and ever since when I delete something from my second hard drive it no longer goes into the trash. It not only does that but does not release disk space so now I have a blocked hard drive. I have tried deleting .trash-1000 as root but that only created a folder called .trash-0 and did not do anything. I am running kubuntu lucid lynx kernel ver. 2.6.32-31-generic
View 5 Replies View RelatedI accidentally deleted one of my very important folder using the command:
That is a very important project done in Plone( a CMS ) is any way to recover my Folder.
The man page for rm says Quote:Note that if you use rm to remove a file, it is usually possible to recover the contents of that file. Do you know of a way to recover a file deleted with rm?
View 2 Replies View RelatedHow to recover a removed file under linux
Is there any free undelete software for the Mac?
I have accidentally deleted a very-very important file in my Linux (Ubuntu) machine using the command rm.
Is there any way to recover it?
I accidentally deleted a php file under my public_html folder. Is there a way I can get it back?
I typed: sudo rm contacts.php
i just accidentally shift-deleted a 6gb avi file a minute ago. is it possible to recover it and how? im using lucid and ext4.
View 1 Replies View RelatedI deleted a conifg file on an external hardrive that I'm trying to recover but it did not go to ubuntu trash can. Where did it go to?
View 1 Replies View RelatedBy naming one of my folders wrong I thought I don't need it anymore and pressed delete button while holding shift. Is there any way I could get that folder back? (I'm actually looking for the file inside that folder - .conky config file to be more precise) I've tried scalpel and extundelete, but none of them worked.
View 2 Replies View RelatedHow can I retrieve the file in LINUX which I have deleted using 'rm' command .???
View 1 Replies View RelatedI am using fedora 6 and i have delete same file from home partition and i want to remove these deleted file permanently. so, nobody able to recover these file.
View 10 Replies View RelatedSay I have a file that's downloading (from a source that's hard to re-download from), but accidentally deleted from the filesystem namespace (/tmp/blah), and I'd like to recover this file. Normally I could just cp /proc/$PID/fd/$FD /tmp/blah, but in this case that would only get me a partial snapshot, since the file is still downloading. Furthermore, once the download completes, the downloading process (e.g. Chrome) will close the FD. Any way to recover by inode/create a hard link? Any other solutions? If it makes any difference, I'm mainly concerned with ext4.
View 3 Replies View RelatedIn the Folder /bin I was following along with a tutorial on Linux.org where it was showing me how to edit a file (.bashrc) nad supposedly would not Delte a File without a Warning.The file I would like to put back in the /bin Directory is znew , I am not sure what it does yet but I would like to put it back anyway. Can someone tell me how to redownload that Single File from a Linux Mirror possibly?
View 8 Replies View RelatedI was wondering if it was possible to display inodes of deleted files using a command. If yes, is it possible to recover the deleted files from their inodes?
View 1 Replies View Relatedi was working on a file and accidentally deleted it on , is it possible to recover it?
View 6 Replies View Related