Command Line Cheat Sheet - rmsouza01/AI2-Lab GitHub Wiki

Command Line Cheat Sheet

Counting files inside a folder and all its subfolders

(base)$: find DIR_NAME -type f } wc -l 

This is important because the clusters gave a limitation on the maximum number of files that we can store. As we move more and more towards big data, we will need to find ways to go around this limit.

Checking Storage Space Used

(base)$: du -hs DIR_NAME