Skip to content

Instantly share code, notes, and snippets.

@lpf23
Last active August 29, 2015 14:02
Show Gist options
  • Save lpf23/e7165be9c5ba4131efb4 to your computer and use it in GitHub Desktop.
Save lpf23/e7165be9c5ba4131efb4 to your computer and use it in GitHub Desktop.
Useful Linux Commands
File & Directory chmod value:
1) stat --format '%a' <file/directory>
2) stat -c %a <file/directory>
File & Directory Sizes:
du -sh *
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment