Tuesday, July 10, 2007

find the user's files howto

There are many ways how to find a user's file. Here's several ways to do it

As root:

# find / -user username

Replace username with the user account name

# find / -uid 1000

Replace 1000 with the user id taken from the 3rd column of /etc/passwd like so

# cat /etc/passwd | grep username

This linux "find" command is really very powerful on searching a particular data from large harddisk capacity.

# man find

would give you find's man page.

0 comments:

Sign up for PayPal and start accepting credit card payments instantly.
ILoveTux - howtos and news | About | Contact | TOS | Policy