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:

  1. Check the size of the current directory:
du -sh
  1. View detailed information for the current directory, including the size of subdirectories.
du -h
  1. 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.

bannerAds