Ciao a tutti,
mi chiedevo come faccio a cercare in una directory e sottodir tutti i file con estensione .php aventi come proprietario NON l'utente ROOT.
sto leggendo il man ma ho qualche difficiltà.
Grazie
Ciao a tutti,
mi chiedevo come faccio a cercare in una directory e sottodir tutti i file con estensione .php aventi come proprietario NON l'utente ROOT.
sto leggendo il man ma ho qualche difficiltà.
Grazie
When I was young I used to pray for a bike. Then I realized that God doesn't work that way. So I stole a bike and prayed for forgiveness.
ciaocodice:$ find $DIRECTORY -not -user root -name "*.php" -ls
slack? smack!
ciao.
Grazie mille.
avevo tamponato così
find $DIR -name "*.php" -group GRUPPO -type f -print
mi era sfuggita l'opzione not-user.
Grazie.
When I was young I used to pray for a bike. Then I realized that God doesn't work that way. So I stole a bike and prayed for forgiveness.