Linux Crash Course - The df and du Commands

In the Linux Crash Course series, we'll go over one important foundational Linux topic each episode. This series includes tutorials, demonstrations, and more! In this episode, we'll take a look at how we can determine how much storage we have remaining, and we'll also tackle how to determine which directories are using up the most space.

Thanks to Linode for sponsoring the Linux Crash Course series! Check out their Linux-focused cloud platform and spin up your own Linux server ➜ https://linode.com/learnlinuxtv

## Support LearnLinuxTV (commission earned):
- Support me on Patreon and get early access to new content! ➜ https://learnlinux.link/patron
- Check out my latest book, Mastering Ubuntu Server 3rd Edition ➜ http://ubuntuserverbook.com
- Check out Shells.com to spin up your very own Linux or Windows desktop in the cloud ➜ https://learnlinux.link/shells
- Affiliate store for Linux compatible hardware/accessories ➜ https://learnlinux.link/amazon
- Check out the Tiny Pilot KVM for your Homelab ➜ https://learnlinux.link/tinypilot

## Individual sections:
00:00 - Intro
01:06 - Spin up your very own cloud Linux server with Linode
02:14 - Basic usage of the df command
02:52 - Viewing "human readable" output with df
03:42 - Understanding the output of the df command
05:41 - Viewing filesystem types with the df command
06:39 - Excluding filesystem types from the output of the df command (such as tmpfs)
10:31 - Basic usage of the df command
11:45 - Viewing "human readable" output with the du command
12:10 - Using the "max depth" option with the du command
14:08 - Viewing "summary" information with the du command
14:41 - Executing the du command against multiple directories
15:49 - Viewing the total size of multiple directories with the du command
16:47 - Jay's favorite usage of the du command
17:48 - Quick mention of the ncdu command

## Recommended evergreen videos:
- How to create a bootable flash drive for installing Linux ➜ https://linux.video/flash-usb
- Understanding Linux permissions ➜ https://linux.video/perms
- OpenSSH Guide ➜ https://linux.video/ssh
- LVM Deep-dive ➜ https://linux.video/lvm
- How to better secure OpenSSH ➜ https://linux.video/secure-ssh

## LearnLinuxTV Links:
- Main site ➜ https://www.learnlinux.tv
- Community ➜ https://community.learnlinux.tv

## About the host
- Personal blog ➜ https://www.jaylacroix.com
- Twitter ➜ https://learnlinux.link/twitter

## FAQ
- Which distro do I use? ➜ https://learnlinux.link/mydistro
- My recording gear (commissions earned) ➜ https://learnlinux.link/recording-stuff

Disclaimer: LearnLinuxTV provides technical content on YouTube that will hopefully be helpful to you and teach you something new. However, this content is provided without any warranty (expressed or implied). LearnLinuxTV is not responsible for any damages that may arise from any use of this content. The viewer is expected to follow best judgement and to make his/her/their best decisions while working with production or non-production systems and hardware.

#LearnLinux #Linux #CommandLine

Home