Hands-on task
This task is step 2 of the course “Disks, links and free space”
How much space a directory takes
Find out how many kilobytes the directory /var/data actually takes on disk (by allocated blocks, not by the sum of file sizes), and write that number (just the number) to /root/size.txt.
What you'll practise:
- du
- disk usage
- -s summary
- -k kilobytes
- cut