zeus
4 years ago
7 changed files with 24756 additions and 0 deletions
@ -0,0 +1,16 @@ |
|||
echo "Files With 777 Permissions" |
|||
|
|||
find /usr -type f -perm 0777 |
|||
|
|||
echo "Files without 777 Permissions" |
|||
|
|||
|
|||
find /usr -type f ! -perm 0777 | head -5 |
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
@ -0,0 +1 @@ |
|||
find /usr -type f -perm 0777 | grep conf |
File diff suppressed because it is too large
@ -0,0 +1,15 @@ |
|||
Find Files With Permissions |
|||
|
|||
Find all the files whose permissions are 777. |
|||
|
|||
[source.sh] |
|||
---- |
|||
find /usr -type f -perm 0777 |
|||
---- |
|||
|
|||
Or Without 777 Permissions |
|||
|
|||
[source.sh] |
|||
---- |
|||
find /usr -type f ! -perm 0777 | head -5 |
|||
---- |
@ -0,0 +1,9 @@ |
|||
|
|||
Try to run |
|||
|
|||
[source,sh] |
|||
---- |
|||
find /usr -type f -perm 0777 | grep conf |
|||
---- |
|||
|
|||
and see the Results! |
Loading…
Reference in new issue