Dsy Network www | forum | my | didattica | howto | wiki | el goog | stats | blog | dona | rappresentanti
Homepage
 Register   Calendar   Members  Faq   Search  Logout 
.dsy:it. : Powered by vBulletin version 2.3.1 .dsy:it. > Didattica > Corsi N - Z > Sistemi operativi I > Comando find Minix
  Last Thread   Next Thread
Author
Thread    Expand all | Contract all    Post New Thread    Post A Reply
Collapse
Laüra
.simpatizzante.

User info:
Registered: Dec 2004
Posts: 14 (0.00 al dì)
Location:
Corso: Informatica
Anno: 3
Time Online: 13:03:02: [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged
Comando find Minix

Ciao a tutti!!

Non capisco come funziona l'opzione -size del camando find.....e naturalmente il man di Minix è molto scarno. Potete aiutarmi?

In che unità di misura bisogna specificare la dimensione?

E + e - per dire maggiore uguale e minore uguale funzionano?

Grazie!

19-07-2007 11:39
Click Here to See the Profile for Laüra Click here to Send Laüra a Private Message Find more posts by Laüra Add Laüra to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
=kimi=
.primate.

User info:
Registered: Jan 2006
Posts: 69 (0.01 al dì)
Location: milano
Corso: Informatica
Anno: 1
Time Online: 3:26:04: [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

guarda per come ho capito io, si il + indica maggiore e - minore.
find lavora a blocchi di 512 byte... quindi se cerchi i file maggiori di 10 k, dovresti mettere -size + 20...
se ho sbagliato qualcuno segnali,ma dai tread precedenti ho capito cosi

19-07-2007 11:54
Click Here to See the Profile for =kimi= Click here to Send =kimi= a Private Message Find more posts by =kimi= Add =kimi= to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
GiKappa
Dubbioso a Progetto

User info:
Registered: Oct 2004
Posts: 1800 (0.23 al dì)
Location: Brescia
Corso: Informatica
Anno: Laureato Triennale
Time Online: 9 Days, 22:40:44 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

si, è così!

se poi ti chiedono di trovare ad esempio i file di dimensione maggiore di X e minore di Y devi usare -a che è l'operatore AND (-o è l'operatore OR)

19-07-2007 12:46
Click Here to See the Profile for GiKappa Click here to Send GiKappa a Private Message Find more posts by GiKappa Add GiKappa to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
Simaldeff
.fedelissimo.

User info:
Registered: Jun 2004
Posts: 41 (0.01 al dì)
Location: Monza
Corso: Informatica
Anno: terzo
Time Online: 7:20:14 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

find / -type f -size +6 -size -10

per esempio ti trova i file da 6 a 10 blocchi (ovvero da 3kB a 5kb)
si possono mettere due -size ad ogni find. TESTATO

una peculiarità del find minix (in confronto al find linux) e' che accetta la login del user al parametro -user

find / -user ed -type f -size +10

trova i file dell'user che si loga con "ed" e che fanno piu di 5kb ... per linux avresti bisogno di trovare il UID (che e' un numero che trovi andando nel file /etc/passwd sotto minix ... se ti serve)

__________________
There is no way to happyness, happyness is the way. -Buddha-

19-07-2007 17:22
Click Here to See the Profile for Simaldeff Click here to Send Simaldeff a Private Message Visit Simaldeff's homepage! Find more posts by Simaldeff Add Simaldeff to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
All times are GMT. The time now is 22:45.    Post New Thread    Post A Reply
  Last Thread   Next Thread
Show Printable Version | Email this Page | Subscribe to this Thread | Add to Bookmarks

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is ON
 

Powered by: vBulletin v2.3.1 - Copyright ©2000 - 2002, Jelsoft Enterprises Limited
Mantained by dsy crew (email) | Collabora con noi | Segnalaci un bug | Archive | Regolamento | Licenze | Thanks | Syndacate
Pagina generata in 0.092 seconds (56.08% PHP - 43.92% MySQL) con 26 query.