Tag Info

Hot answers tagged

4

Test this: Open a terminal. Run it: sudo -i apt-get clean apt-get autoremove


2

The output of both df -h and lsblk will give us the size in gibibyte (GiB) where 1 GiB is 1.07374 GB. df -h Filesystem Size Used Avail Use% Mounted on /dev/sda1 55G 9,3G 43G 18% / Using the option -H will output disk size to a base of 1000 (which is GB) to report the size of a drive as expected. df -H Filesystem Size Used Avail ...


1

You can use the du command, then sort the output: du /some/path/ -h | sort -hr | head The -h flag makes du use human-readable output (aka using K,M, etc. suffixes instead of simply spewing bytes). The -h flag for sort makes it sort such human readable numbers and -r sorts in reverse (descending order). This will take a long time.


1

This will give you the top 10: du -hsx * | sort -rh | head -10 du is disk usage -h human readable -s summary -x skip directories sort, -r to reverse the result. -h human readable numbers. head: show the first 10 lines. If you want more/less results change the number.


1

You can install NCurses Disk Usage: ncdu (NCurses Disk Usage) is a curses-based version of the well-known 'du', and provides a fast way to see what directories are using your disk space. It is available on universe repository. Install ncdu by following command: sudo apt-get install ncdu Then run ncdu and you will get output like following: You ...


1

You must mount the partition on a temporary directory name to copy files to it the original /home. Open a terminal (CtrlAltT). Run it: Find out the name of the partition sudo -i fdisk l Suppose it is /dev/sda7 You create the directory sudo -i mkdir /media/hometemp Mount partition mount /dev/sda7 /media/hometemp To copy: cd /home cp -ax . ...


1

To answer question 1, I would assume that the remaining memory can be attributed to the partitions other than sda1, but to verify I would use gparted. I find the program to be extremely reliable and if it doesn't help you find the sizes of your other partitions, then I do not know what else to recommend. If you're only using the command line, then check out ...



Only top voted, non community-wiki answers of a minimum length are eligible