.dsy:it.
Show 150 posts per page

.dsy:it. (http://www.dsy.it/forum/)
- Sistemi operativi I (http://www.dsy.it/forum/forumdisplay.php?forumid=269)
-- Trovare file eseguibili (http://www.dsy.it/forum/showthread.php?threadid=32066)


Posted by 1v4n on 25-09-2007 11:03:

Trovare file eseguibili

Ciao a tutti...non riesco a fare un pipe per trovare in una directory tutti i file eseguibili in minix...

Se sapete darmi una mano...

Grazieee ciaoo ciaoo..


Posted by mostrielo on 25-09-2007 18:15:

find / -type f \( -perm -u=x -o -perm -g=x -o -perm -o=x \)

__________________
Testing shows the presence, not the absence of bugs. EWD


Posted by 1v4n on 26-09-2007 16:24:

In minix non mi funziona... ho trovato però un'altra soluzione :
find / -type f -perm 111

ciaoo ciaoo....


Posted by plafo on 27-09-2007 09:04:

Originally posted by 1v4n
In minix non mi funziona... ho trovato però un'altra soluzione :
find / -type f -perm 111

ciaoo ciaoo....




se guardi nel post in rilievo c'è un'altra soluzione ancora....utilizzando ls -lF ritorna la lista dei file con * finale per i file eseguibili, dopo ti basta fare una grep per recuperare solo quelli


Posted by mostrielo on 27-09-2007 10:14:

Verifica gli spazi:

find / -type f \( -perm -u=x -o -perm -g=x -o -perm -o=x \)

__________________
Testing shows the presence, not the absence of bugs. EWD


All times are GMT. The time now is 21:52.
Show all 5 posts from this thread on one page

Powered by: vBulletin Version 2.3.1
Copyright © Jelsoft Enterprises Limited 2000 - 2002.