1
vote
1answer
39 views

What is dummy filesystem?

I tried df --help command to generate the man-page for help on df command and I am stucked with a unknown term Dummy filesystem This line in df manpage is where I get to know the term first time -a, ...
1
vote
1answer
57 views

How open folders from USB devices in Terminal and find the size

I am very new in Ubuntu. I just plugged my mobile in Ubuntu and the two memory cards appears to me. But I was interested to find out the total free space and how much used for each folder. I guess ...
0
votes
1answer
31 views

Display User and folders for disk Usage

I am trying to list out from the servers, and I was wondering if it is possible to be done through any terminal coding (in which I am pretty weak in it now) Example, in the main directory there are ...
1
vote
1answer
77 views

Get total diskspace usign du for multiple directories

I know about du -sh which gives me total disk space used for given directory. My problem is the directories I am interested are scattered in lot of subdirectories. I have right "find" command that ...
0
votes
2answers
55 views

How to a show the disc usage by directory in my home directory using the Terminal?

Could someone let me know which tool I should use? I'm trying to run this on an Ubuntu Server VM. So I believe I need a tool such as discus.
1
vote
2answers
1k views

How can I check disk space used in a partition using the terminal in Ubuntu 12.04 LTS?

I am using Ubuntu 12.04 LTS and I was wondering if there is a command that can tell the space used in a partition using the terminal. Like I want to use the su command to change to a user called admin ...
1
vote
3answers
49 views

Why does `du` on a device reports zero usage?

Output of sudo df -h is Filesystem Size Used Avail Use% Mounted on rootfs 9.2G 5.7G 3.1G 65% / ...
1
vote
2answers
4k views

How to clean /var/cache?

When I woke up this morning, I found my root had filled overnight du -hx --max-depth=1 / 132M /boot 4.0K /media 16K /lost+found 16M /root 702M /lib 4.0K /OLDHOME 8.2G /usr ...
1
vote
1answer
252 views

Errors while running Upgrade from the terminal. Can anyone help me analyse it?

Reading package lists... Done Building dependency tree Reading state information... Done 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 3 not fully installed or removed. After ...
0
votes
2answers
626 views

how to print a file in ubuntu terminal using cat that spaces in its name

Suppose my file name is äbc def When I type in the terminal like cat ¨abc def¨ it shows error. Can anybody tell me how to print this file that has spaces in between the name.
6
votes
3answers
395 views

How can I list all files and folders beyond a specified size limit?

In a partition I have several files and folders, and I can list all those file sizes with du like this: du -h But how can I list all the files which are beyond a specific disk space size like 5MB?
5
votes
1answer
2k views

Why do df and du show different output?

When I execute the command df -h /tmp it says disk utilization is 100%, but when it try du -sh /tmp it says disk utilization is 2%. I want to know why these commands shows different output, how these ...
3
votes
1answer
440 views

Command line method to find disk usage of camera mounted using gvfs

When my camera was mounted on /media I could use the standard tools (df) to see the disk usage of the card in my camera. However now the camera is mounted using gvfs, and df seems to ignore it. I've ...
0
votes
1answer
261 views

Can I change the default of “block-size” in commands?

Several commands use --block-size 1K as the default and I find myself counting numbers. Is there a way to automatically and permanently change the block-size of commands like du,ls,df to greater ...
39
votes
7answers
55k views

What's a command line way to find large files/directories to remove and free up space?

Looking for a series of commands that will show me the largest files on a drive.
0
votes
1answer
749 views

Changing the default installation path to a newly installed hard disk

I am currently working on a dual-booted PC. I am using Windows XP and Ubuntu 10.04 Lucid Lynx released in April 2010. The allocated partition to Ubuntu that I am making use of has almost exhausted. ...
31
votes
2answers
29k views

How to get disk usage from command line?

How can I get the current disk usage (in %) of my hard drive from the command line?
26
votes
7answers
57k views

How to find out how much disk space is remaining?

What is the command to find out how much disk space is being used/remaining?