Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Sfida] Chi ha + roba installata?
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

Goto page Previous  1, 2, 3  
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
pelon's
n00b
n00b


Joined: 05 Sep 2003
Posts: 66
Location: CH -> TI

PostPosted: Wed May 26, 2004 8:59 am    Post subject: Reply with quote

Ed ecco i pc ... : del mio collaga :
Code:
# wc -l /var/cache/edb/world
80 /var/cache/edb/world

# qpkg -I | wc -l
376

# uptime
 10:56:45 up 112 days,  1:25,  5 users,  load average: 0.13, 0.18, 0.14


e il mio ...

Code:
# wc -l /var/cache/edb/world
173 /var/cache/edb/world

# qpkg -I | wc -l
521



:lol:
Back to top
View user's profile Send private message
Thrain
Guru
Guru


Joined: 01 Sep 2003
Posts: 380

PostPosted: Wed May 26, 2004 12:14 pm    Post subject: Reply with quote

NB: Sotto consiglio dei moderatori, sposto in questa reply il thread che
avevo aperto...

Eccomi qui,
che ne dite di espandere la sfida a "qualsiasi" cosa che sia presente sul
nostro pc :D ?

Della serie:
Chi ha più... nel suo pc?

Potete inserire l'output di qualsiasi programma in pipe con "wc -l" o simili...
e vediamo un po' quanta roba c'è sul nostro pc

Per quanto mi riguarda, ad esempio:

Code:

root@Arda emanuele # locate /* | wc -l              // File presenti su /
405345
root@Arda emanuele # locate /.* | wc -l             // File nascosti
16592


Il bello sta nel potere inserire quante regexp possiate inventarvi... il
numero di file html... il numero di eseguibili... fate voi... basta che sia un
numero grande :D

Vediamo un po' che sapete fare :D !

Ciao
_________________
Thrain

"...only astonishment knows..."
Back to top
View user's profile Send private message
flyinspirit001
Apprentice
Apprentice


Joined: 25 May 2004
Posts: 266
Location: localhost,localdomain

PostPosted: Wed May 26, 2004 1:20 pm    Post subject: Reply with quote

va qui ke popò di roba...e io che pensavo di aver installato solo ilm minimo indispensabile...8O

Code:

root@gentoo-redgs0# locate /* | wc -l             
410063
root@gentoo-redgs0 # locate /.* | wc -l             
3558
root@gentoo-redgs0 #qpkg -I |wc -l
298

_________________
"Ride the infinity, be your best. For you, for all"
Dungeon01 - linux registered user #362502
Back to top
View user's profile Send private message
gutter
Bodhisattva
Bodhisattva


Joined: 13 Mar 2004
Posts: 7162
Location: Aarau, Aargau, Switzerland

PostPosted: Wed May 26, 2004 9:22 pm    Post subject: Reply with quote

Code:

morpheus root # qpkg -I | wc -l
455

morpheus root # locate /.* | wc -l
5977

morpheus root # locate /* | wc -l
382225


_________________
Registered as User #281564 and Machines #163761
Back to top
View user's profile Send private message
.:deadhead:.
Advocate
Advocate


Joined: 25 Nov 2003
Posts: 2963
Location: Milano, Italy

PostPosted: Wed May 26, 2004 9:40 pm    Post subject: Reply with quote

Code:

root@INSPIRON8600 # qpkg -I |wc -l
363
root@INSPIRON8600 # locate /* | wc -l
333049
root@INSPIRON8600 # locate /.* | wc -l
11250

:wink:
_________________
Proudly member of the Gentoo Documentation Project: the Italian Conspiracy ! ;)
Back to top
View user's profile Send private message
MyZelF
Bodhisattva
Bodhisattva


Joined: 25 Feb 2003
Posts: 2010
Location: Venice, Italy

PostPosted: Thu May 27, 2004 8:16 am    Post subject: Reply with quote

Dopo presunte pulizie di primavera pre-webbit

Code:
$ qpkg -I | wc -l
305
$ locate /.* | wc -l
6323
$ locate /* | wc -l
341180


:roll:
_________________
"Larry the Cow was a bit frustrated at the current state of Linux Distributions..."
Back to top
View user's profile Send private message
il_guru
Tux's lil' helper
Tux's lil' helper


Joined: 23 Jan 2004
Posts: 83

PostPosted: Thu May 27, 2004 8:26 am    Post subject: Reply with quote

Code:
root@torre ilguru # qpkg -I | wc -l
302




non troppi ma devo migliorare... pulizia!!!!!!!!!
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30964
Location: here

PostPosted: Thu May 27, 2004 8:32 am    Post subject: Reply with quote

Mi sa che e' ora di fare pulizia anche per me :D
Code:
# qpkg -I | wc -l
410
# locate /.* | wc -l
14893
# locate /* | wc -l
401665

_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
RockSteady
Guru
Guru


Joined: 28 Jun 2003
Posts: 432
Location: mestre - venice -italy

PostPosted: Thu May 27, 2004 1:06 pm    Post subject: Reply with quote

Code:
# qpkg -I | wc -l
439
wc -l /var/cache/edb/world
73 /var/cache/edb/world

# locate /.* | wc -l
18137

# locate /* | wc -l
433875

_________________
Linux yoyo 2.6.5 #2 SMP Sat May 22 10:52:10 Local time zone must be set--see zic i686 mobile AMD Athlon(tm) XP 2600+ AuthenticAMD GNU/Linux
Back to top
View user's profile Send private message
koma
Advocate
Advocate


Joined: 06 Jun 2003
Posts: 2702
Location: Italy

PostPosted: Thu May 27, 2004 1:16 pm    Post subject: Reply with quote

Code:
# qpkg -I | wc -l
765
Non aggiungo altro
_________________
http://www.youtube.com/watch?v=_yoJI-Tl94g GLORY GLORY HYPNOTOAD
Back to top
View user's profile Send private message
Thrain
Guru
Guru


Joined: 01 Sep 2003
Posts: 380

PostPosted: Thu May 27, 2004 1:49 pm    Post subject: Reply with quote

Suvvia un po' di fantasia :D

Code:

// Dimenticatolo:
emanuele@Arda emanuele $ qpkg -v -I | wc -l
353

// File html (della serie... quanta documentazione ho installato????)
emanuele@Arda emanuele $ locate *.html | wc -l
35500

// Non uso p2p... ma qualcosa lo scarico...
emanuele@Arda emanuele $ locate *.tar.* *.zip | wc -l
506

// Quanti file fanno parte dei pacchetti installati con emerge (impiega un po')... e forse non è corretto...
emanuele@Arda emanuele $ qpkg -l | sort -u | wc -l
188797


Eccetera...

PS: per masochisti, il comando:
EDIT: qui avevo scritto "locate bin" invece di "locate /*" ... le reply successive son dovute a quell'errore :roll:

Code:

for i in `locate /*` ; do file $i ; done | grep executable | wc -l

dovrebbe indicarvi quanti file eseguibili son presenti sul pc... ma occhio che impiega mooooooolto tempo...
_________________
Thrain

"...only astonishment knows..."


Last edited by Thrain on Thu May 27, 2004 3:02 pm; edited 1 time in total
Back to top
View user's profile Send private message
randomaze
Bodhisattva
Bodhisattva


Joined: 21 Oct 2003
Posts: 9985

PostPosted: Thu May 27, 2004 2:00 pm    Post subject: Reply with quote

Thrain wrote:

Code:

for i in `locate bin` ; do file $i ; done | grep executable | wc -l

dovrebbe indicarvi quanti file eseguibili son presenti sul pc... ma occhio che impiega mooooooolto tempo...


Forse così é più rapido:

Code:

for i in `locate bin` ; [ -x $i ] && echo $i ; done | wc -l


e comunque si é sbagliato, non conta gli eseguibili fuori dalle directory (s)bin e conta anche il file /home/pippo/binario_ferroviario.jpg
_________________
Ciao da me!
Back to top
View user's profile Send private message
flyinspirit001
Apprentice
Apprentice


Joined: 25 May 2004
Posts: 266
Location: localhost,localdomain

PostPosted: Thu May 27, 2004 2:09 pm    Post subject: ehm.. Reply with quote

randomaze..utilizzando il tuo codice rivisitato da syntax error near unexpected token '['
mentre quello di thrain a me da 0...

dove sto sbagliando? 8O
_________________
"Ride the infinity, be your best. For you, for all"
Dungeon01 - linux registered user #362502
Back to top
View user's profile Send private message
randomaze
Bodhisattva
Bodhisattva


Joined: 21 Oct 2003
Posts: 9985

PostPosted: Thu May 27, 2004 2:15 pm    Post subject: Re: ehm.. Reply with quote

flyinspirit001 wrote:
randomaze..utilizzando il tuo codice rivisitato da syntax error near unexpected token '['


L'ho scritto alla cieca :roll: e ho perso un "do". Riprova così:

Code:

for i in `locate bin` ; do [ -x $i ] && echo $i ; done | wc -l

_________________
Ciao da me!
Back to top
View user's profile Send private message
Thrain
Guru
Guru


Joined: 01 Sep 2003
Posts: 380

PostPosted: Thu May 27, 2004 2:19 pm    Post subject: Reply with quote

Randomaze il tuo comando cerca solo all'interno delle cartelle bin... per
esempio gli eseguibili in etc non li conta... comunque alla fine mi pare
che il soldo non valga la candela :D ...
_________________
Thrain

"...only astonishment knows..."
Back to top
View user's profile Send private message
randomaze
Bodhisattva
Bodhisattva


Joined: 21 Oct 2003
Posts: 9985

PostPosted: Thu May 27, 2004 2:40 pm    Post subject: Reply with quote

Thrain wrote:
Randomaze il tuo comando cerca solo all'interno delle cartelle bin... per
esempio gli eseguibili in etc non li conta... comunque alla fine mi pare
che il soldo non valga la candela :D ...


Lo so, lo avevo fatto come commento a quello postato da te:

randomaze wrote:

e comunque si é sbagliato, non conta gli eseguibili fuori dalle directory (s)bin e conta anche il file /home/pippo/binario_ferroviario.jpg


se vuoi farlo su tutto devi usare locate /* (come da post precedenti...)
_________________
Ciao da me!
Back to top
View user's profile Send private message
Thrain
Guru
Guru


Joined: 01 Sep 2003
Posts: 380

PostPosted: Thu May 27, 2004 3:00 pm    Post subject: Reply with quote

Ops! Scusami avevo pastato nella mia reply il comando sbagliato... volevo
scrivere "locate /*" non "locate bin" :oops:

Sorry :roll: ora correggo
_________________
Thrain

"...only astonishment knows..."
Back to top
View user's profile Send private message
kaosone
Guru
Guru


Joined: 01 Feb 2004
Posts: 446

PostPosted: Thu May 27, 2004 10:24 pm    Post subject: Reply with quote

Code:

[kaosone@nazgul][~$]qpkg -I | wc -l
921
[kaosone@nazgul][~$]ls | wc -l
853
[kaosone@nazgul][~$]locate /.* | wc -l
37821

e proprio rieri ho formattato l'hd da 160 giga senno immaginate voi :roll:
Back to top
View user's profile Send private message
toro
Tux's lil' helper
Tux's lil' helper


Joined: 15 Oct 2003
Posts: 80

PostPosted: Thu May 27, 2004 10:35 pm    Post subject: Reply with quote

non c'e' niente da fare... sto diventando sempre piu' scarso :)

Code:

# qpkg -I -v | wc -l
193


Code:

# locate /* | wc -l
258879


Code:

# locate /.* | wc -l
1929


qualcuno mi consiglierebbe qualche porcata da installare?!? :P 8)
Back to top
View user's profile Send private message
kaosone
Guru
Guru


Joined: 01 Feb 2004
Posts: 446

PostPosted: Thu May 27, 2004 10:39 pm    Post subject: Reply with quote

aggiungo
Code:

[kaosone@nazgul][~$]ps aux | wc -l
145
[kaosone@nazgul][~$]locate /* | wc -l
(va da 20 minuti e non accenna a smettere, quando e pronto edito :asd: )
ha finito
[kaosone@nazgul][~$]locate /* | wc -l
986698

Back to top
View user's profile Send private message
xchris
Advocate
Advocate


Joined: 10 Jul 2003
Posts: 2824

PostPosted: Thu May 27, 2004 11:04 pm    Post subject: Reply with quote

tempo di pulizie?

Code:

# qpkg -I  | wc -l
658


ciao
_________________
while True:Gentoo()
Back to top
View user's profile Send private message
Danilo
l33t
l33t


Joined: 05 Feb 2004
Posts: 747
Location: Italy

PostPosted: Thu May 27, 2004 11:22 pm    Post subject: Reply with quote

Quote:

qualcuno mi consiglierebbe qualche porcata da installare?!?

Se vuoi proprio una porcata: Windows XP? Comprensiva di patch ovvio... ;-)


Ed ecco i miei ...
Code:

# locate /* | wc -l
830513

qpkg -I -v | wc -l
545

locate /.* | wc -l
21329


Mi sto tenendo stretto vista la cronica mancanza di spazio (prima o poi mi decidero' x un hd da 80/120)
Back to top
View user's profile Send private message
idonda
Tux's lil' helper
Tux's lil' helper


Joined: 28 Apr 2004
Posts: 134

PostPosted: Fri May 28, 2004 7:41 am    Post subject: Reply with quote

Code:
bash-2.05b# qpkg -I | wc -l
503
Back to top
View user's profile Send private message
zioponics
n00b
n00b


Joined: 20 Nov 2003
Posts: 65
Location: ClockLand

PostPosted: Fri May 28, 2004 9:41 am    Post subject: Reply with quote

sul desktop, in quanto a cazzate installate non scherzo...

Code:

salieri root # qpkg -I |wc -l             
626
salieri root # locate /*|wc -l
1197112
salieri root # locate /.*|wc -l
29304


e questo invece é il mio server :
Code:

bigdog root # qpkg -I |wc -l
179
bigdog root # locate /*|wc -l
927050
bigdog root # locate /.*|wc -l
13425


cmq, ho un pacco di file xché ho un paio di filesystems per gli UML :wink:
_________________
Linux n8Ob that actually 8O RTFM
Back to top
View user's profile Send private message
darkimage
n00b
n00b


Joined: 22 Feb 2004
Posts: 51

PostPosted: Sat May 29, 2004 7:42 pm    Post subject: Reply with quote

Code:

darkimage@alpha darkimage $ qpkg -I | wc -l
324

evvabè
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) All times are GMT
Goto page Previous  1, 2, 3
Page 3 of 3

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum