RH033 11. FIND AND PROCESSING TOOLS


-->find <placetofind> <find-based-on> <parameter>

find /etc -name passwd
find /etc -size 10K OR +10K -10K
find /etc -type f OR d
find /dev -user suma
find /home -uid 505


Types of file

- ---> represents file
d ---> represents dir
s ---> represents socket file
l ---> represents linked file
p ---> represents piped file
c ---> represents character special file
b ---> represents block special file


stat <file> -->shows file status of whn read/written/permissionchanged

-->when you read a file Access time gets updated
-->when you write to file Modify time gets updated
-->when you change permission to file Change time
 gets updated




If you found this post useful, I would really love it, if you can Like the Page, or share it with your Facebook/Google+/Twitter Friends... It will keep me motivated. Thank you!

No comments:

Post a Comment