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 > come trovo solo i file di testo di un utente?
  Last Thread   Next Thread
Author
Thread    Expand all | Contract all    Post New Thread    Post A Reply
Collapse
francescoo
.primate.

User info:
Registered: Feb 2008
Posts: 75 (0.01 al dì)
Location: novara
Corso: informatica
Anno: secondo
Time Online: 20:29:29 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged
come trovo solo i file di testo di un utente?

ciao a tutti..
come faccio a trovare solo i file di testo di un determinato utente??
io sapevo ke nella find facevo -name *.txt
ma cosi al prof non va bene..
qualcuno mi da una risposta??
aspetto grazie mille

07-01-2009 08:12
Click Here to See the Profile for francescoo Click here to Send francescoo a Private Message Find more posts by francescoo Add francescoo to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
wizard
.artista.

User info:
Registered: Jan 2007
Posts: 18 (0.00 al dì)
Location:
Corso: Informatica
Anno: 3
Time Online: 4:02:39 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Di sicuro devi aggiungere:
-user UID

dove l'UID è l'identificativo dell'utente che ti interessa.
L'informazione sugli UID degli utenti si trova nel file /etc/passwd. Forse è reperibile anche in altro modo.

Per quanto riguarda la tipologia del file di testo non ci giurerei sul: -name *.txt
Le estensioni infatti non esistono in questi tipi di S.O.
Il suffisso ".txt" è una convenzione.

08-01-2009 13:02
Click Here to See the Profile for wizard Click here to Send wizard a Private Message Find more posts by wizard Add wizard to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
darkshadow
Are You From The Past?

User info:
Registered: Jul 2007
Posts: 485 (0.07 al dì)
Location: Milano
Corso: Informatica Magistrale
Anno: 1
Time Online: 13 Days, 13:38:56 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

 
ciao fra.

per trovare i soli file di testo una soluzione (non troppo elegante) che dovrebbe funzionare è quella di usare il comando file in pipe con il grep.
Infatti se fai file nome_file ti dice ke tipo di file è nome_file e se guardi bene solo sugli exe ti dice una cosa del tipo minix32 executable.... quindi a questo punto usi in pipe la grep filtrandola con quel messaggio e cosi dovreste ottenere i file di testo.


ciao


DS

__________________
by Ð@rk§h@ÐØw

08-01-2009 13:16
Click Here to See the Profile for darkshadow Click here to Send darkshadow a Private Message Find more posts by darkshadow Add darkshadow to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
All times are GMT. The time now is 12:25.    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.063 seconds (52.75% PHP - 47.25% MySQL) con 26 query.