Wednesday, September 2, 2015

List files not owned by a particular user


Listing files that are not owned by Oracle user.

# cd /opt/oracle
# find . ! -user oracle -ls | more

for aix
# find . -type f -size +40960 -print | xargs ls -l | sort -nk 5 | tail -50




No comments:

Post a Comment