Linux find largest file in directory recursively using find
- Open the terminal application.
- Login as root user using the sudo -i command.
- Type du -a /dir/ | sort -n -r | head -n 20.
Folder size in linux
sudo du -sh /var
Code language: JavaScript (javascript)
Leave a Reply