How can I check the size of the current directory and a…
To check the size and available space of the current directory, you can use the following command:
- Check the size of the current directory:
du -sh
- View detailed information for the current directory, including the size of subdirectories.
du -h
- Check the available space on the disk.
df -h
These commands can be entered and executed in the terminal to view the current directory’s size and available space.