Uso del comando FIND
lunedì 1 febbraio 2010
FIND pathname expression action

Il comando find riceve quindi 3 argomenti: pathname, expression e action.

Esempio:


$ find ~ -name m171c0
/export/home/m171c0


$ find . -mtime +2
./.bash_profile
./WLIDLogo.gif
./.bashrc
./.links
./.links/bookmarks
./.links/links.his
./.p
./.teste
./.ssh
./.ssh/authorized_keys
./.sunw
./.sunw/pkcs11_softtoken
./.sunw/pkcs11_softtoken/objstore_info
./.sunw/pkcs11_softtoken/private
./.sunw/pkcs11_softtoken/public
./count_lines.sh
./hotmail.txt
./.profile

Per cercare files più grandi di 10 blocchi:

$ find /export/home/m171c0/ -size +10
/export/home/m171c0/.gnupg/gpg.conf

postato da Eduardo Kislanski @ 02:12  

0 Commenti:

Posta un commento

<< Home page

MARVEL and SPIDER-MAN: TM & © 2007 Marvel Characters, Inc. Motion Picture © 2007 Columbia Pictures Industries, Inc. All Rights Reserved. © 2007 Sony Pictures Digital Inc. All rights reserved.