List particular USER or GROUP owned files: How to ?




List particular USER or GROUP owned files: How to ?



some time we need to find out what are all the files owned by particular user id or Group .That time we can use "FIND" command to get that list.

There is switches "-user or -group" can we used for this.


List out particular Group owned files:

#find directory-location -group {group-name} -name {file-name}


Ex : ## find /home -group ftpusers


List out particualr USER owned files

#find directory-location -user {username} -name {file-name}

Ex : # find /var -user john


0 comments:

Post a Comment

Blogger Tips and TricksLatest Tips And TricksBlogger Tricks