how to find big file and delete on linux system


doubledeluxe
7/5/2016 5:43 am
HOME ยป Web Development

When I install something in my linux system( CentOS release 6.5 (Final) ).It happens.

Error Downloading Packages: ncdu-1.7-1.el6.x86_64: Insufficient space in download directory /var/cache/yum/epel/packages .

And I use df command,it shows:

df -h
Filesystem      Size  Used Avail Use% Mounted on
/dev/sda2        77G   73G     0 100% /
tmpfs           7.8G     0  7.8G   0% /dev/shm
/dev/sda1       239M   43M  183M  19% /boot

sda2 was mounted on /,but when I go to the root and use command du.

du -sh *
6.2M    bin
41M boot
176K    dev
26M etc
488K    export
6.7G    home
268M    lib
19M lib64
16K lost+found
4.0K    media
4.0K    mnt
56M opt
du: cannot access `proc/1531/task/1531/fd/4': No such file or
directory
du: cannot access `proc/1531/task/1531/fdinfo/4': No such file or
directory
du: cannot access `proc/1531/fd/4': No such file or directory
du: cannot access `proc/1531/fdinfo/4': No such file or directory
du: cannot access `proc/6873/task/7037/fd/125': No such file or
directory
0   proc
640K    root
9.0M    sbin
4.0K    selinux
4.0K    srv
0   sys
569M    tmp
1.4G    usr
261M    var
4.0K    zookeeper_server.pid

where is my 77G gone? how do I find my big file and delete?


Related to : how to find big file and delete on linux system
how to find big file and delete on linux system
7/5/2016 5:43 am by doubledeluxe in Web Development

When I install something in my linux system( CentOS release 6.5 (Final) ).It happens.

Error Downloading Packages: ncdu-1.7-1.el6.x86_64: Insufficient space in download directory /var/cache/yum/epel/packages .

And I use df command,it shows:


Linux how to find and delete a paragraph in a log file containing a data stamp as yyyy.mm.dd
30/11/2015 7:16 am by Tanclearas in Web Development

Need to find and delete a paragraph in a log file which contains a specific date. This is a type of an html file but need to read through a linux editor like vi.

The entries are as..

#######
</Trace>

<Trace Level="MID">
 <Time Millis="1448873743741"> 201
c++ - find first file in directory on linux system?
by Tmf in Web Development

all the examples ive seen seem to be for windows and are a
bit different than what i need. also, findfirstfile is not
in the textbook i bought to use as reference.
i need to find the first file in a directory so i can perform
a loop for processing. all of the files in the directo
ankhsvn exception internal error : cannot find file & system can't find existing file
by mikk in Web Development

When I want to get a project that's on the Ankhsvn, he's adding all files but then I receive something like this error message :


In directory 'C:UsersBurtDocumentsVisual Studio 2010ProjectsPMESViewsPeriod'
can't open file


'C:UsersBurtDocumentsVisual Studio 2010Pro


How do i delete windows xp from my Linux Suse System.
by bjorngylling in Web Development

:D I would like to get rid of Windows XP from my machine running Suse 9.1 personal. Anbody able to help please ????
Can I delete Windows Workgroup and how did Linux find it?
by taviso in Web Development

Apologies for asking two questions in one.
My newer PC has Windows XP and Ubuntu 11.10 dual boot on separate drives.
My older PC has Mint.Both connected to modem/router.
At one time the older PC also had XP installed but Mint is a fresh install on the whole drive.
These PCs were
use LINUX find commands to delete files in directory
by albenik in Web Development

I am trying to find a one line command with linux find to delete all files in a directory.
I know the directories are called "logs" but the filenames in them vary widely.
I tried a lot of approaches centered around
find `pwd` -name logs -type d -exec rm {}/* ;
[ this d
Find and Delete Folder in Linux [non root user]
15/12/2014 1:05 am by MeldarthX in Web Development

I would like to search within my /home/user for a specific folder name and delete it and all its contents. There is a posibility that we would find multiple occurences of the same folder across many folders within /home/user

How do I go about this: Note: Using Pu


What happens to an open file handler on Linux if the pointed file gets moved, delete
by Leo in Web Development

What happens to an open file handler on Linux if the pointed file meanwhile gets:


Moved away -> Does the file handler stays valid?
Deleted -> Does this lead to an EBADF, indicating an invalid file handler?
Replaced by a new file -> Does the file handler pointing to this new fil
Find and delete files that contain same string in filename in linux terminal
12/11/2014 4:10 pm by Engr62 in Web Development

I want to delete all files from a folder that contain a not unique numerical string in the filename using linux terminal. E.g.:

werrt-110009.jpg => delete
asfff-110009.JPG => delete
asffa-123489.jpg => maintain
asffa-111122.JPG => maintain

Any suggestions?

T


HD Wallpapers
3D
3D Abstract
City
Celebrities
Indian Celebrities
Cars
Travel
Girls
Animals Birds
Movies
Sports
Black White
Nature
Planes
Anime
Food Drink
Dreamy Fantasy
Architecture
Games
Space
Holidays
Flowers
Love
Artistic
Baby
Beach
Bikes Motorcycles
Macro
Computers
Vector
Funny
Army
Textures
Brands
Misc
Music
Other
Privacy Policy - Copyrights Notice - Feedback - Report Violation - RSS 2017 © bighow.org All Rights Reserved .