The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com



UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
how to extract owner from find command tjay83 Shell Programming and Scripting 5 08-12-2008 04:21 AM
find size of folders and its subfolders with the Owner details bsandeep_80 UNIX for Advanced & Expert Users 5 04-15-2008 03:03 AM
Owner of file gets 'not owner' error for chgrp brizrobbo SUN Solaris 4 12-18-2007 05:30 PM
how to find the owner PID of open socket on Solaris9? sleepy_11 UNIX for Dummies Questions & Answers 1 12-11-2007 06:18 AM
Little bit weired : Find files in UNIX w/o using find or where command jatin.jain Shell Programming and Scripting 10 09-19-2007 06:47 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 08-22-2008
jayaramanit jayaramanit is offline
Registered User
  
 

Join Date: Sep 2007
Posts: 28
command to find the files under particular owner

Hi,

I need a command to find a files under particular owner ?All the files in the system for the particular user id is the owner?

Please help me on this?
  #2 (permalink)  
Old 08-22-2008
Franklin52 Franklin52 is offline Forum Staff  
Moderator
  
 

Join Date: Feb 2007
Posts: 4,293
Check the -user or -uid options in the man page of find.

Regards
  #3 (permalink)  
Old 08-22-2008
Mariognarly Mariognarly is offline
Registered User
  
 

Join Date: Aug 2008
Location: Calgary, Alberta, Canada.
Posts: 9
If you are on Solaris, you can use this:

find . -user username -print


This will display all the files in the current directory with the owner of "username". If you cant to find all the files in the system, you could change to the root dir and use that command.

Ex:

cd /
(type "pwd" to see if you are in the "root" directory, it should come up with just a "/")
find . -user username -print
Sponsored Links
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 09:46 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0