Package with distutils

Created cheatsheets package to store the default sheets.
This commit is contained in:
Louis Taylor
2013-08-13 11:01:06 +01:00
parent 098384d341
commit 8dda6a9241
23 changed files with 26 additions and 6 deletions

14
cheatsheets/find Normal file
View File

@ -0,0 +1,14 @@
To find files by extension (ex: .jpg):
find . -iname "*.jpg"
To find directories:
find . -type d
To find files:
find . -type f
To find files by octal permission:
find . -type f -perm 777
To find files with setuid bit set:
find . -xdev \( -perm -4000 \) -type f -print0 | xargs -0 ls -l