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 > Esame di laboratorio (Giugno 2007) - Domande Thread Rating: 3 votes, 5.00 average.
Pages (39): « First ... « 33 34 35 36 [37] 38 39 »   Last Thread   Next Thread
Author
Thread    Expand all | Contract all    Post New Thread    Post A Reply
Collapse
uLori
.illuminato.

User info:
Registered: Feb 2010
Posts: 159 (0.03 al dì)
Location: Milano
Corso: Informatica
Anno: IV
Time Online: 15:19:53 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

era la domanda di un esercizio di monga?? aspetto anche io la soluzione :)

13-01-2011 14:50
Click Here to See the Profile for uLori Click here to Send uLori a Private Message Find more posts by uLori Add uLori to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
Lion
.fedelissimo.

User info:
Registered: Jul 2009
Posts: 40 (0.01 al dì)
Location:
Corso: info
Anno: 2
Time Online: 10:48:06: [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

si, e' una domanda di monga.

io farei così :
find /usr/man -type f | xargs wc -l

tu non hai nessuna idea?
a proposito dei file link il grep con "\@$" mi va in errore!

13-01-2011 15:03
Click Here to See the Profile for Lion Click here to Send Lion a Private Message Find more posts by Lion Add Lion to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
uLori
.illuminato.

User info:
Registered: Feb 2010
Posts: 159 (0.03 al dì)
Location: Milano
Corso: Informatica
Anno: IV
Time Online: 15:19:53 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

ciao, allora stavo facendo prove anche io e pure a me è venuto da fare find /usr/man -type f | xargs wc -l
però teoricamente questo ci restituisce le linee contenute in ogni file...non la quantita di file della cartella...


per i trovari i link simbolici i metodi sono 2:

1- find / -type l
2- find / -type f | xargs ls -F | grep "\@$"

a me facendo questi 2 comandi esce lo stesso risultato..che è un file solo: /var/log

13-01-2011 15:10
Click Here to See the Profile for uLori Click here to Send uLori a Private Message Find more posts by uLori Add uLori to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
Lion
.fedelissimo.

User info:
Registered: Jul 2009
Posts: 40 (0.01 al dì)
Location:
Corso: info
Anno: 2
Time Online: 10:48:06: [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

ciao,
grazie per i file simbolici.
io mi incasinavo con tr e non veniva fuori nulla!

per il resto boh.. io domani ho la prova di laboratorio quindi... speriamo in una domanda facile.

13-01-2011 15:31
Click Here to See the Profile for Lion Click here to Send Lion a Private Message Find more posts by Lion Add Lion to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
uLori
.illuminato.

User info:
Registered: Feb 2010
Posts: 159 (0.03 al dì)
Location: Milano
Corso: Informatica
Anno: IV
Time Online: 15:19:53 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

già pure io ci sarò domani, speriamo!! a te che link simbolici escono??

quella di contare i file in una cartella proprio non saprei come fare..

13-01-2011 15:33
Click Here to See the Profile for uLori Click here to Send uLori a Private Message Find more posts by uLori Add uLori to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
Lion
.fedelissimo.

User info:
Registered: Jul 2009
Posts: 40 (0.01 al dì)
Location:
Corso: info
Anno: 2
Time Online: 10:48:06: [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

io ho appena provato ma con:
find / -type l ho:
/usr/local/bin/slogin
/usr/local/bin/screen
/usr/local/man/cat1/slogin.1
/home/symlnfile2
/var/log

con :
find / -type f | xargs ls -lF | grep "\@$"
il sistema si impalla completamente, nn mi da nemmeno il prompt #


... rimani in linea che vedo come fare l'latro e ti scrivo.
ciao

13-01-2011 15:40
Click Here to See the Profile for Lion Click here to Send Lion a Private Message Find more posts by Lion Add Lion to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
uLori
.illuminato.

User info:
Registered: Feb 2010
Posts: 159 (0.03 al dì)
Location: Milano
Corso: Informatica
Anno: IV
Time Online: 15:19:53 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

allora usiamo find / -type l :) comunque fare ls -F mette alla fine delle directory \ alla fine degli eseguibili * e alla fine dei link simbolici @

così infatti se devi cercare gli eseguibili fai ls -F | grep "\*$"


su internet ho trovato il modo anche se contorto e mai visto prima, di contare i file dentro una cartella:

find /usr/man | ls -l . | egrep -c '^-'

13-01-2011 15:44
Click Here to See the Profile for uLori Click here to Send uLori a Private Message Find more posts by uLori Add uLori to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
Lion
.fedelissimo.

User info:
Registered: Jul 2009
Posts: 40 (0.01 al dì)
Location:
Corso: info
Anno: 2
Time Online: 10:48:06: [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

cavoli contorto davvero..

hai provato a farlo?

ti da lo stesso rislutato di find /usr/man -type f | xargs wc -l ?

13-01-2011 15:59
Click Here to See the Profile for Lion Click here to Send Lion a Private Message Find more posts by Lion Add Lion to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
uLori
.illuminato.

User info:
Registered: Feb 2010
Posts: 159 (0.03 al dì)
Location: Milano
Corso: Informatica
Anno: IV
Time Online: 15:19:53 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

nono fare wc -l restituisce per ogni file della cartella la quantità di linee..invece l'altro funzione..restituisce un numero solo che è la quantità di file della cartella...

13-01-2011 16:02
Click Here to See the Profile for uLori Click here to Send uLori a Private Message Find more posts by uLori Add uLori to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
uLori
.illuminato.

User info:
Registered: Feb 2010
Posts: 159 (0.03 al dì)
Location: Milano
Corso: Informatica
Anno: IV
Time Online: 15:19:53 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

un altro esercizio che non sono mai riuscito a fare è: trovare tutti i file che hanno il nome composto da numero di caratteri pari.

13-01-2011 16:09
Click Here to See the Profile for uLori Click here to Send uLori a Private Message Find more posts by uLori Add uLori to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
Lion
.fedelissimo.

User info:
Registered: Jul 2009
Posts: 40 (0.01 al dì)
Location:
Corso: info
Anno: 2
Time Online: 10:48:06: [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

uLori, scusa ma mi si sta fondendo quel poco di cervello che mi rimane e non che ne avessi tanto...
ci provo e se scopro qualcosa ti scrivo.
ciao

13-01-2011 16:57
Click Here to See the Profile for Lion Click here to Send Lion a Private Message Find more posts by Lion Add Lion to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
Lion
.fedelissimo.

User info:
Registered: Jul 2009
Posts: 40 (0.01 al dì)
Location:
Corso: info
Anno: 2
Time Online: 10:48:06: [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

una domanda tecnica...
mi dite dove e' il laboratorio della prova di domani?

13-01-2011 17:14
Click Here to See the Profile for Lion Click here to Send Lion a Private Message Find more posts by Lion Add Lion to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
uLori
.illuminato.

User info:
Registered: Feb 2010
Posts: 159 (0.03 al dì)
Location: Milano
Corso: Informatica
Anno: IV
Time Online: 15:19:53 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

comelico...di fronte alla segreteria dall altra parte del cortile scendi c'è la porta aperta appena entrato nell edificio...sembre di scendere in uno scantinato

13-01-2011 17:29
Click Here to See the Profile for uLori Click here to Send uLori a Private Message Find more posts by uLori Add uLori to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
Lion
.fedelissimo.

User info:
Registered: Jul 2009
Posts: 40 (0.01 al dì)
Location:
Corso: info
Anno: 2
Time Online: 10:48:06: [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

chi ha fatto oggi la prova di laboratorio e' cosi' gentile da postare le domande.

14-01-2011 12:38
Click Here to See the Profile for Lion Click here to Send Lion a Private Message Find more posts by Lion Add Lion to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
uLori
.illuminato.

User info:
Registered: Feb 2010
Posts: 159 (0.03 al dì)
Location: Milano
Corso: Informatica
Anno: IV
Time Online: 15:19:53 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

passato finalmente!

la mia era: trovare l'occupazione di memoria totale dei processi con pid dispari

14-01-2011 16:04
Click Here to See the Profile for uLori Click here to Send uLori a Private Message Find more posts by uLori Add uLori to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
All times are GMT. The time now is 23:51.    Post New Thread    Post A Reply
Pages (39): « First ... « 33 34 35 36 [37] 38 39 »   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.130 seconds (38.09% PHP - 61.91% MySQL) con 25 query.