LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-05-2010, 07:15 AM   #1
jyllica
LQ Newbie
 
Registered: Apr 2010
Posts: 7

Rep: Reputation: Disabled
Question Howto: Find files belong to user.


how do i find the files made by a user on the hole disk?
 
Old 05-05-2010, 07:25 AM   #2
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
Hi,

Use find for that task: find / -user <username>.

If you do this as a normal user (i.e. not root) you get a lot of permission denied messages! So become root or use sudo to execute this.

Do have a look at the find man page for more options.

Hope this helps.
 
1 members found this post helpful.
Old 05-06-2010, 01:42 AM   #3
jyllica
LQ Newbie
 
Registered: Apr 2010
Posts: 7

Original Poster
Rep: Reputation: Disabled
thank you. works.
 
Old 05-06-2010, 01:55 AM   #4
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
You're welcome
 
1 members found this post helpful.
Old 05-06-2010, 04:11 AM   #5
grail
LQ Guru
 
Registered: Sep 2009
Location: Perth
Distribution: Manjaro
Posts: 10,007

Rep: Reputation: 3191Reputation: 3191Reputation: 3191Reputation: 3191Reputation: 3191Reputation: 3191Reputation: 3191Reputation: 3191Reputation: 3191Reputation: 3191Reputation: 3191
Please mark as SOLVED
 
1 members found this post helpful.
Old 05-06-2010, 04:12 AM   #6
jyllica
LQ Newbie
 
Registered: Apr 2010
Posts: 7

Original Poster
Rep: Reputation: Disabled
sorry, doin it now
 
Old 05-06-2010, 04:16 AM   #7
ajeetsinghraina
Member
 
Registered: May 2010
Location: India
Distribution: Ubuntu 7.04/8.04/8.10/10.04, RHEL 6, OpenSUSE,Mandriva,Fedora, CentOS, XandrOS, Slackware, OpenSolar
Posts: 155

Rep: Reputation: 55
Code:
how do i find the files made by a user on the hole disk?
I wonder what could be the filesystem status on the "hole" disk.
 
1 members found this post helpful.
Old 05-06-2010, 04:34 AM   #8
jyllica
LQ Newbie
 
Registered: Apr 2010
Posts: 7

Original Poster
Rep: Reputation: Disabled
don't understand, please say more.
 
2 members found this post helpful.
Old 05-06-2010, 04:41 AM   #9
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
Hi,

I guess that ajeetsinghraina is telling you that hole should be whole (a hole you find in a donut, whole means entire or 'all of').

It seems that your english isn't too good (i've seen a lot worse), but as long as we understand you that shouldn't be too much of a problem. A lot of the users here are none-english.
 
2 members found this post helpful.
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to copy files that belong only to a specific user allancth Linux - Newbie 11 07-03-2009 11:09 PM
how to check which grp a user belong to? binary_0011 Linux - Newbie 3 09-18-2006 05:12 AM
how can I find the file belong to what pkg? jiawj Slackware 9 03-07-2005 08:16 PM
find files that do not belong to any package? Pinchiukas Slackware 10 09-15-2004 07:26 AM
Howto find duplicate files js72 Linux - Software 1 11-09-2003 04:55 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:53 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration