Skip to content

Instantly share code, notes, and snippets.

@jtolla
Last active June 14, 2016 13:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jtolla/6450308164682dd51b37b8839a41905d to your computer and use it in GitHub Desktop.
Save jtolla/6450308164682dd51b37b8839a41905d to your computer and use it in GitHub Desktop.
// Get the octal permissions of a file or directory
stat -c "%a %n" .
// Find a process amongst all running processes
ps aux | grep <some process>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment