Skip to content

Instantly share code, notes, and snippets.

@titipata
Last active November 10, 2015 04:03
Show Gist options
  • Save titipata/33b11dfeb09aeb9cbbcf to your computer and use it in GitHub Desktop.
Save titipata/33b11dfeb09aeb9cbbcf to your computer and use it in GitHub Desktop.
Useful bash command

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment