Linux CLI - Disk and Storage
You want to find the top 3 largest subdirectories inside
/var using du. Which command will correctly do this?/var using du. Which command will correctly do this?du -sh /var/* summarizes each subdirectory; sorting numerically human-readable with sort -hr works; head -3 picks top 3.du -sh /dir/* to summarize subdirs [OK]du -a lists files too15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions