Ubuntu :: Do Not Regain Space After Deleting File?

Feb 10, 2011

I am using Ubuntu 10.10 and 10.04 on two different computers.I have the same problem with both .... when I delete a file on my hard drive or a removable drive I dont get the space back even after I empty the trash.The file is gone and deleted but its as if its only hidden from me seeing it and still sitting on my drive.For example when I have files on a thumb drive and I delete them and try and put new files on there it will tell me I dont have enough disk space even though all files have been deleted, the only way for me to get the disk space back is to format the drive.I have now realized I have the same problem with my hard drives, I delete files but I dont get any space back, eventually I will have a full hard drive but no files on there

View 9 Replies


ADVERTISEMENT

Ubuntu :: Free Up Space By Deleting Old Kernels?

Feb 12, 2010

the method for freeing up space by deleting old kernels is made to sound very simple: go into Synaptic, select the outdated kernels, mark for complete removal, and Apply. Easy. But . . . when I mark a particular kernel for removal, Synaptic also wants to remove a lot of other things, some of which do not bear version numbers and seem generic. I am, to put it mildly, very leery of just telling it to go ahead, lest I end up losing things I should have kept and having a dead or at least crippled box.

Say, for example, that I mark for Complete Removal the line linux-image-2.6.22-15-generic; when I go to Apply that one deletion, I get a laundry list of to-die files that includes:

linux-generic
linux-image-generic
linux-restricted-modules-generic
linux-restricted-modules-2.6.24-27-generic
linux-ubuntu-modules-2.6.24-27-generic
linux-restricted-modules-2.6.22-15-generic
linux-ubuntu-modules-2.6.22-15-generic,........

View 9 Replies View Related

Server :: Partition Space Is Little Reducing After Deleting Dir

May 29, 2011

There is one directory in /oracle partition in test server which i use to delete that dir after copying in the same location with diff file/dir name. Like this i did so many times.evrytime i m deleting but the /oracle partition space is reducing by 1.5 or 2gb after deleting dirs of 80gb.Directory size is 80GB and partition size 400GB.plz let me knw with steps, is it requires to do De-fragmentation?

View 1 Replies View Related

Hardware :: Redhat 5 Not Freeing Space After Deleting Files?

Oct 25, 2010

I have connected an another hard disk to my computer and mounted its drives. when I delete the files from second hard disk it is not increasing the free space. only 1.3 GB is left on that drive of second hard disk.

View 5 Replies View Related

General :: Deleting Files In Ubuntu Doesn't Free Up Space On Partition

Dec 22, 2009

After running photorec I went from having ~30 gb of free space to having 0 bytes of free space. I have deleted all the results of photorec and various other large files and removed them from trash but it still has not freed up any space. Also, my firefox no longer has back/forward functionality which I'm sure would be fixed by a reinstall but seeing as I have 0 space, I can't really do that. Any thoughts?

View 7 Replies View Related

General :: Deleting Content In Swap Space And Emptying Cache Using Terminal

Jul 21, 2011

Wish a script which would delete cache content and remove additional files which have been downloaded via the internet and saved voluntarily by the user and files any thing other than those used by the OS in linux.Need a command which could make the execution of the above script possible before the shut down command is passed.

View 1 Replies View Related

Ubuntu :: Regain USB Host Control In VirtualBox

Nov 29, 2010

I recently tried using iTunes inside a virtual box with Windows 7 to update my iPhone 3GS which involved handing control of this device to the guest OS.My question is whether it's possible to give that control back to my host system (Lucid).I've tried removing USB support from the virtual box device dropdown but that didn't work.Any thoughts? If all else fails I could likely restore using someone else's computer but I'd prefer not to.

View 7 Replies View Related

Fedora :: Tilda Not Able To Regain Input Focus

Apr 18, 2010

The recent yum update (at 17/4/2010 based on my /var/log/yum.log) has broken Tilda from regaining the input focus after application switching. Only "F12" (the key binding I used to popup/hide Tilda) still works. But now after the losing the initial application input focus, it does not able to regaining it back.

View 1 Replies View Related

Ubuntu :: Deleting File With '' In The Name

May 27, 2011

I tried running a back-up/restore script in a WordPress install to migrate from one server to another... long story made short, I ended up doing it manually and all is well on that front

The one remnant from that botched script is that it tried creating a directory 'wp-backup' and then a file inside that directory - but it tried using '' instead of '/'. So what it created was a file named 'wp-backupindex.php' with a file size of 0 bytes.

The problem is thus: I can't change the permissions nor delete the file, because of the invalid file name. I don't have direct shell access (that cost *extra*, of course) and every time I try with the web-based file manager (Quixplorer) it sees it as 'wp-backupindex.php', as though the '' is acting as an escape sequence in the file name. Same thing in FileZilla, I can't do anything to the file without it complaining about the invalid file name.

how to ixnay this one file given the limitations above (no shell access) short of calling and bugging tech support to delete the file for me?

View 2 Replies View Related

Ubuntu :: Deleting Duplicate Words In A Txt File?

Nov 14, 2010

i waas wondering if anyone knew of a script or program that removes duplicate words in a txt file. im making an install script and the install list has gotten a bit long so i want to ensure there are no duplicates in the file

View 2 Replies View Related

Ubuntu :: Deleting File While Renaming / Recover These?

Feb 25, 2011

This has happened twice to me. I'm editing a filename on the desktop, for example, I have a part of the name highlighted and press delete. Inadvertently, I press delete again, but with nothing highlighted. The file is deleted, but is not added to the recycle bin (possible bug).

I believe that is what is happening. I cannot seem to recreate it purposefully on my work computer --I had done this at home this morning while sans-coffee.

Is there a way to recover the files?

View 1 Replies View Related

General :: Deleting A File Beginning With '?'

Jan 26, 2010

I have found a file beginning with a question mark in my home dir, not sure how the hell it got there. It's from a downloaded rar i think.

Does anyone know how to do this?

View 14 Replies View Related

OpenSUSE Install :: Deleting File/directories Via CL

Mar 27, 2010

rm [non-empty directory's name] -r

....and not....

rmdir [non-empty directory's name]-i

..or..

rmdir [non-empty directory's name} -ir

backround:

I just downloaded and innstalled 11.2 about 6 weeks ago, and Have updated several times since... I was very frustrated and found that I did in fact have the proper pernissions to delete this directory. I checked multiple forums for much longer than I would like to admit, and they kept telling me to use (in the end) the same commands.....I finally stumbled upon a forum that again told me to use rm [nonempty directory's name] ...and viola

my /bash can't be outdated can it

View 2 Replies View Related

Programming :: Deleting Unwanted Characters In File

Mar 31, 2010

Currently, I'm working on personal project. and I'm kinda stuck. What I want to do is that open a file, and edit that file (deleting unwanted characters). The problem arises after I deleted unwanted characters, the file still has the same length of the original one. Let's assume that we have a file with "1234" in it. I deleted "3" ( I overwrite "\0" ) so now when I check the file, it's 124. But when I check the length, the both have the same size as 4

Here is an example source code
int length, length2;
num = open("a.dat", 2)
length = lseek(num, 0, 2); // Initial length
lseek(num, 2, 0); // editing
write(num, "\0", 1);
length2 = lseek(num, 0, 2); // Final length
close(num);

When I print those values those are exactly the same. Length2 should be one less than length, but the both are 4. What's wrong in m code? Am I supposed to use different character rather than "\0"?

View 8 Replies View Related

General :: Conditionally Deleting Lines From File

Mar 10, 2011

I am facing some problem regarding deletion of a line from a text file. The file consists of the lines of type which consists of more than 6 occurrences of : character in it. The line should be deleted completely and the line next to it must be shifted up.

View 1 Replies View Related

General :: Deleting File (Oracle Setup) From Root

Dec 18, 2010

I had copied oracle setup in the root. Now want to delete it. I tried the following commands, but couldn't succeed:

rm -R oracle-xe-univ-10.2.0.1-1.0.i386.rpm
rm: cannot remove `oracle-xe-univ-10.2.0.1-1.0.i386.rpm': No such file or directory

While this file there only in file system.

View 2 Replies View Related

General :: Deleting Symbols From File - String Not Found

Aug 4, 2009

I am trying to delete these symbols "[ ]" from a file but it says string not found. I tried: %s/[//g while editing the file not working also tried sed -e '/[/d' and sed '/]/d' still no job.

View 3 Replies View Related

General :: Script For Deleting Matched Line Of File From Another

Sep 3, 2009

I have two text file named 1.txt & 2.txt.

1. txt contains 5 laks of mobile number.
2. txt has 60 laks of mob no.

Situation is that I want to find and delete numbers in 2.txt which already in 1.txt. Any perl or bash script or any other way to get the work done.

I tried the following:
#! /bin/bash
IFS=$'
' for NAME in $(cat one.txt)
do sed -ie "|^$NAME$|d" two.txt done
echo "***DONE***"

It works well with smaller file but it take very very long time even processing 10 thousand numbers.

View 2 Replies View Related

Software :: Deleting All Instances Of A Certain Character From A Text File?

Feb 18, 2010

In my command prompt I did:

Code:

sed 's/://' mytextfile > newtextfile

But it only deleted the first instance of : in each line when some lines have multiple : appearing in each one. How can I delete all the : from the entire file?

View 6 Replies View Related

Programming :: Deleting Lines From A File With Specific Pattern Using AWK?

Jun 6, 2010

I have a file which contains milion of records. It contains 12 columns seperated by "||" (delimeter).

First two fields contain first name and last name of a person. Now my requirement is to delete all those records from this file for which:

First two fields does not contain any alphabet.

For e.g i have below mentioned records in file:

gaurav||gandhi||123||456||789
#a%bcd||123abc||89|90||91
12345||@@@||89||123||234
***||!!!!||98||76||90

Now, last two lines should be removed from this file since first two fields does not contain any alphabet for these two records.

View 12 Replies View Related

Programming :: Deleting Multiple Lines Above And Below Expression In File

May 19, 2010

I have a very, very large log file (360MB) that I'm trying to thin out. As it turns out the majority of this file has entries that aren't necessary so I'm attempting to build a command that will strip these out. The following command works to display only the data that I do not want:

Code:
cat xml_results.log | grep -B 6 -A 5 "YYY ZZZ"

This displays exactly the data I want to delete from the file by displaying the expression and six lines above it and five lines below it. However I'm at a loss as to how to remove this data from the output and display everything else. I looked into the -v option with grep redirecting the output to a new file:

Code:
cat xml_results.log | grep -B 6 -A 5 -v "YYY ZZZ" > xml_filtered_results.log

However it doesn't work, the new file is the same size as the old one. What am I doing wrong? Is there a better method of doing this? I'm a bit out of my element since the method I'd normally use can't handle files of this size.

View 7 Replies View Related

Programming :: Deleting Rows From Text File In Perl?

Jun 21, 2010

How can I delete rows into text file in perl?

View 4 Replies View Related

Ubuntu :: Regain Focus Of "&'ed" Processes In Terminal

Dec 6, 2010

If you run the command:

Code:

How would you go about regaining "focus" of mpg123... if mpg123 is currently awaiting keyboard input so you can control next song, volume, etc?

View 3 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

OpenSUSE :: Empty The /tmp File Or Other File To Free Up Space?

Mar 23, 2010

I've noticed that when I run:

davek@linux-kw2x:~> df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sda2 20641788 8427780 11165368 44% /
udev 961204 192 961012 1% /dev
/dev/sda3 217642344 4037944 202548468 2% /home
davek@linux-kw2x:~>

I have 44% used. It should be much smaller, under 10%. How do I empty the /tmp file or other file to free up space?

View 9 Replies View Related

Ubuntu Networking :: AR5001 Chipset - Wireless Networking Randomly Loses Connectivity And Can Not Regain Connectivity

Jun 25, 2011

Wife's laptop has AR5001 Wireless Adapter laptop model is Toshiba Satellite A215

Problem : Wireless networking randomly loses connectivity and can not regain connectivity, the only apparent solution is a full power down , this is not even certain to work. The card works under Windows, she hates Windows. (I love her for this) I know it's not faulty hardware , because it will work for days on end under Windows without problems.

Things I've tried : madwifi drivers (any and all versions available) : These increase stability of the signal and seem to delay the inevitable however it still happens. When using these drivers the only option is to unload them modprobe -r then reboot then remove them again and re add them. It makes no sense why this works, and if I don't remove them prior to rebooting it will not work.

ATH5K drivers : These are pretty much junk, results are unpredictable at best, sometimes it will work perfectly for a few hours, sometimes it will not work at all. Nothing is repeatable, I can't seem to force whatever condition is causing this. rfkill does not show the wifi being blocked (hard or soft), unblocking it anyway does nothing, only way to make this work and it's iffy is to fully power down wait 5-10 minutes turn it back on and it MAY decide to work.

Firmware update : Updated the Toshiba BIOS to the latest version of the firmware 2.0 no joy here either. Same issue both sets of drivers.

Tried different distros and kernels : I've tried Mint 9, 10 ,11 ; Ubuntu 10.10, 10.04 , 9.10 and 11.04 (which is currently installed) , Fedora and OpenSUSE. All are giving the same problems. I have also tried a slew of different kernels no joy from any of them (I'm not at the computer with the issue now I will post exactly what kernel versions I've used when I have access to the machine).

Another useful bit of information, the hard switch to disable/enable wifi WILL disable it but turning it back on does absolutely nothing. The hotkey does nothing at all. The bios does not have an option to disable or enable the wireless card.

I will also post the typical lsmod , lspci , iwconfig all that good stuff when I get back to the computer in question. I'm probably just going to buy a PC card for it and give up on that one, but this is driving me insane and I would really like to see it resolved even if I do replace the hardware.

View 3 Replies View Related

Ubuntu :: Deleted File Still There, Somewhere, Taking Up Space?

May 16, 2010

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]...

View 9 Replies View Related

Ubuntu :: Deleted File Space Not Released?

May 24, 2011

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 Related

Programming :: Deleting Line By Line From A File?

Apr 21, 2010

this script returns me :

sed: -e expression #1, char 2: extra characters after command
sed: -e expression #1, char 2: extra characters after command

Code:

#!/bin/bash
while read line
do
sed -i "$line" 'd' test.txt
done < test.txt

View 12 Replies View Related

Ubuntu :: Create A File That Takes Up A Lot Of Space On The Drive?

Dec 18, 2010

how could one create a file that takes up a lot of space on the drive?

View 2 Replies View Related







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