If you have a file server to Linux, certainly have needed to find files of a particular user, or its UID or GID, or even by your username. Here is this article, some examples of how futilizar the find command for this and other effects more basic.
Find files by user identifier (UID)?
find. /-uid 502
For user name:
find. / user-joselito
For identifier then the group (GID):
find. /-gid 1000
Locate all files with extension. Doc:
find. /-iname "*. doc"
find. /-name "*. doc"
Find files that have changed in the last 24 hours:
find. /-name "*. doc"-mtime 0
Find files that have changed to 48:
find. /-name "*. doc"-mtime 1
Locate all files with permissions 777:
find. /-perm / 777
Find files that have changed to exactly 5 days:
find. /-mtime -7
Find files that have changed less than 5 days:
find. /-mtime 5
Find files that have changed to more than 5 days:
find. /-mtime +5
Note: The difference between the parameter name and iname is that the latter is case sensitive - distinguishes the case matching. The parameter. / Indicates that the search is performed from the directory where you are.
Etiquetas
- Aplicativos (3)
- Bash/Shell (9)
- Berbicachos (3)
- CM (15)
- Debian (17)
- FreeBSD (1)
- Gnome (3)
- Informação (10)
- Jogos (1)
- Kde (3)
- Kubuntu (13)
- LinuxMint (3)
- Multimédia (2)
- MySQL (1)
- openSuse (4)
- Opinião (1)
- PHP (1)
- Rapidinhas (8)
- Tutoriais (3)
- Ubuntu (13)
- Virtualizacao (1)

Interestings Blogs
Popular Posts
-
If you use XAMPP , can happen to you the problem of MySQL does not start . This usually happens when we copy the XAMPP folde...
-
Corel Aftershot ( CA) is a tool equivalent to Adobe's Lightroom . Both are targeted at photographers ( or those with mania, ...
-
The youtube-dl is a small command-line utility that can download videos from youtube.com too easily. In terms of archives, from the Debian...
-
The Deluge is, for me, the best utility for downloading torrents. It stands out from other equivalents to be quite simple and intuitive to u...
-
Possibly ever needed to edit a PDF as a text document if it were! In Openoffice is an extension that makes this wonder possible - Sun PDF Im...
-
On some Linux distributions engine that comes by default may not be your favorite . In my case I'm currently using Linux M...
-
After long hours of research, I developed a tutorial for installation of Debian, version 5 (codename Lenny) with KDE and with key features b...
-
For those who feel the lack of a tool for simple image editing, as it was (I say was, because not used: P) the Windows Paint, the KolourPain...
-
At one time published an article, which can read here on remote display in Linux. Now, I will publish another way that allows remote connec...
-
When it is in principle all councils are few ... So here are some. of who has passed the "as passas do Algarve" to take this to fu...
