Some useful bash command List number of files in the current directory ls -l | wc -l Check space left on disk df -h Check file size du -h Check total file size du -ch | grep total