General :: Delete File Still Fill Space On HD?

Jun 12, 2010

I have external USB HD 500 GB, by mistake folder with 13 GB deleted, using some windows recovery tools, i got it back, but the deleted folder still take and fill space on the HD!!

any idea how to remove or edit it under linux ?

View 15 Replies


ADVERTISEMENT

General :: Disk Space - Script To Fill Up Diskspace?

Sep 29, 2010

I need a script to fill up my diskspace on my Linux box. It would be best if I can leave 200 MB free. I have Nagios installed, and it should email me when something like this happens, but how do I test it?I have Perl and PHP installed so if you want to use that then sure.

View 1 Replies View Related

Ubuntu :: Delete Stuff That Save As To Not Fill Computer With Crap

Apr 27, 2010

i tried to install the kiba-dock. i wasnt successfully in any of my attempts. i would get through about half way then have to find somewhere else that had different commands and advice. how do i delete the stuff that did save as to not fill my computer with crap im not using?

View 2 Replies View Related

Ubuntu :: Gparted - Can't Resize/move To Fill Unallocated Space

Jun 16, 2010

I installed a dual boot windows 7 and xubuntu and now decided that I would like to allocate more hard disk space to xubuntu. I've resized the windows partition (sda2 in the screenshot) and it is now the grey unallocated. I'm having trouble moving this unallocated space to the linux portion (sda5). I did my homework and found that this is done by booting off a live cd and using gparted from there, because you can't modify a partition that you're using. I also read that you had to turn swap off. I did both of these tasks, but as you can see from the attached screenshot, I am unable to resize the linux partition to fill the unallocated space.

Here's my "sudo fdisk -l" for reference:

Code:

Disk /dev/sda: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

[code]....

Also, the sda4 is a shared partition that I can access from both windows and linux.

View 7 Replies View Related

General :: Security - Safely Zero Fill A File In A Compressed Filesystem?

Aug 29, 2011

I had read that the shred doesn't safely work for compressed filesystems when shredding a file, how this can be accomplished in a compressed fs ?

View 1 Replies View Related

General :: Delete The Folders And Make Space To Continue

Aug 29, 2010

i have been copying dvd's and now i do not have enough room in my temporary folder,but i cannot find out how to delete the folders and make space to continue

View 7 Replies View Related

General :: Hard Drive Full - What To Delete For Clearing Up Space

Nov 13, 2010

Found what takes space but not sure what to delete here is the output of df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda1 9.2G 157M 8.6G 2% /
/dev/sda5 9.4G 9.4G 20K 100% /usr
/dev/sda6 213G 213G 20K 100% /var
none 1.0G 12K 1.0G 1% /tmp
tmpfs 2.0G 0 2.0G 0% /usr/local/psa/handlers/before-local
How to identify what to delete to clear up space?

View 9 Replies View Related

Programming :: Fill A File With N Bytes Of A Given Value?

Dec 17, 2008

How do i fill a file with <n> bytes at a given value ,for example 3?

View 3 Replies View Related

General :: Find Folders With ONLY One Specific File In And Delete File And Folde

Oct 21, 2009

Many 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 Related

General :: Remove Write-Protected File - Will It Actually Delete The Password File?

Jul 30, 2010

When I ls -l /etc/passwd, -rw-r--r-- 1 root root /etc/passwd When I login as myself, and rm /etc/passwd, it asks: rm: remove write-protected file '/etc/passwd'? If I say yes, will it actually delete the passwd file?

View 1 Replies View Related

General :: Stale NFS File Handle - How To Delete File

Jan 21, 2010

How do I delete a file if it happens like this.
-????????? ? ? ? ? ? temp.cgi

View 5 Replies View Related

General :: Division Of Logical Memory Space In To User Space And Kernel Space

Jan 4, 2010

Logical Memory Space of 4GB is divided in to 3GB User Space and 1GB Kernel Space. Always. Correct?

1. How can we change it? (just changing value of PAGE_OFFSET is okay?)

2. If system have only 256MB of memory (embedded system) and suppose Kernel Modules eat away all the memory during boot. User space will be left will no memory. Is this case possible?

View 2 Replies View Related

Ubuntu :: Delete File - No Right Click Delete Option?

Feb 18, 2010

Why is there no Delete when I right click like there is with Windows in ubuntu? Pretty much everything else is there like new folder and so on Is there some way to add it? Also why when i delete something does it not ask me if I am sure that i want to delete that file?

View 6 Replies View Related

Ubuntu :: Delete A Partition And Use The Free Space For Another OS?

May 25, 2010

OK so basically I have 3 partions on my 500 gb. hdd.

1. Windows 7 64-bit (375gb partion)

2. Ubuntu 9 (50gb partion)

3. Ubuntu 10(75gb partion)

Is there anyway I can remove Ubuntu 9 and allow Windows 7 to use that 50gb that was once used by Ubuntu 9.

View 1 Replies View Related

General :: Delete A File From Different Dir Without Using Cd?

Nov 30, 2010

we assume that we have 2 folders with the name 1 and 2 . The folder 2 is inside 1 . Also, in folder 2 we have file with name "file.txt". And we are in folder 1 . How can we delete the file.txt in one command line ? I mean without using the code below:

Code:

cd 2
rm -f file.txt
cd ..

View 3 Replies View Related

Fedora Installation :: Can Delete The 3rd And 4th Partitions / Add Partition In This Space?

Jan 20, 2011

I have F14 live on a USB stick and the PC boots fine from this.Now I want to install to the HDD but I need to get a handle on the existing partitions.I don't need too much space for linux, can I delete the 3rd and 4th partitions (D drive and EFI partition) and add my linux partition in this space?Investigation so far suggests that the EFI partition is not used and the D drive is empty.

View 3 Replies View Related

General :: Delete 3.3GB File In Thumbdrive?

Nov 21, 2010

when i try to delete, it says can not move to trash,so, how do I delete it permanently?In windows is shift+del

View 2 Replies View Related

General :: Delete File, And Can't Get It Back?

Jan 30, 2010

after so many times deleting staff for mistake.I am unable to get it back from my external hard drive.I use Ubuntu 8.04 LTS and I have all my staff on external hardrive.

Quote:

Z:----> Media -----> FreeAgent Drive

After delete I knew was her

Quote:

/acousticmetal[1]/

, 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?.

View 13 Replies View Related

General :: Delete A File Or Certain Files Using Php?

Apr 28, 2011

i wanna ask on how to delete a file or a certain file in linux by using php or in other word by using web browser. example i want to delete the file inside /var/www/cgi-bin/ with browser.

View 14 Replies View Related

General :: Delete Last 6 Lines Of File With Sed

Jun 5, 2011

looking to delete the last 6 lines of a file with sed. figured out how to delete the last line..but i want the last six.

View 6 Replies View Related

General :: Delete Line From File?

Nov 11, 2010

I was creating a few scripts, I am trying to create a restore script to restore files that have previously been moved to a folder I selected. When moved I stored the original path for these files all in one text file.

I want to know if anyone can tell me how to delete the line from the file after using it restore the file. I have used the grep command to search through the file "pathName" to find where the file was stored but now want to delete that same line.

View 5 Replies View Related

General :: How To Delete File Which Has No Owner

Jan 9, 2010

I am facing a basic problem in RHEL 5.2. Some of files in a mounted showing ? in place of owner and group owner.
root# find /data/abc -nouser
listing those files.
How to delete those files because
root# find /data/abc -nouser -exec rm -rf {} ;
showing error access is denied.

View 10 Replies View Related

General :: How To Delete Unreadable File

Aug 19, 2010

how to delete unreadable file? As you can see at attached picture, there is two unreadble files at root directory.

Code:

[code]....

View 4 Replies View Related

Hardware :: Why Does Gparted Give The Option To Delete Drive Space

Feb 12, 2011

I get this option if I right click on /dev/sda1. And why is there a triangle icon with an exclamation mark next to it.

View 5 Replies View Related

General :: Find And Delete A File Using A Code?

Apr 27, 2011

I am trying to find and delete a file using this Code: find . -type f -name ph2964781400100954291.jpg -exec rm -f {} ; It does not work, I think because by default on my distro rm is iterative.

View 2 Replies View Related

General :: Copy Some Lines In A File And Delete These After?

Jul 20, 2010

I have a file that contains 100 ligns, i need to write a script that read 70 lignes and redirect those 70 ligns to another files and these 70ligns have to be erased in the first file

when i write this command
head -70 somefile.txt>test.txt
or

sed -n 70p somefile.txt>test.txt

i have these 70 lines in the text.txt files
but these 70 lines have to be deleted inthe first file somefile.txt

View 1 Replies View Related

General :: Can't Delete File - Fishing Site?

Jan 20, 2011

seems like i got a hacker on my server who placed a "western union fishing" site on it.i am not able to delete the directory with the root user.

Code:
root@laforge:/var/www/html/mailadmin.somewhat.com> ll
total 12

[code]....

View 14 Replies View Related

General :: Delete Lines From File By Their's Length

Apr 27, 2010

i've got a file with sorted words - one on each line.How could it be possible to delete thouse lines that have words of length 1 or 2 (1-2 letters). I guess a good way it will be with AWK, n its fuction length(), but getting it, i dont know how to delete those very lines.

View 14 Replies View Related

General :: How To Delete A Line From A Busy File

Mar 3, 2010

I have a log file which is continously being accessed. Now I want to delete the first line without disturbing the file.Is it possible? The Issue is the log file is being provisioned with ^@^@^@ characters in the first line occupying huge space.So I need to get rid of that. I dont have time to work with root cause but just a script to reduce this space.

View 3 Replies View Related

General :: Delete The File And Its Actual Associated Data?

May 12, 2011

I'm confused about "hard link" feature. I've been learning from my UNIX Academy DVDs training that hard links to a file can be many and each of them is an effective filename for the associated data. So let assume that we have some very sensitive data in a file and we want it to be deleted and file has 20 links. I "delete" a file, but in fact I deleted only one "name" of it. My understanding from the training that data is still there until we delete the last associated hard link. But how can I find the names of all of them? If we have the names, they can be removed one by one. Or may be there's command that can trace all the "names" and remove them at once?

View 14 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved