IProgrammatori.it

Forum programmazione

Forum di supporto alla programmazione in generale e nei principali linguaggi.

It is currently Wed Mar 10, 2010 11:25 pm

All times are UTC + 2 hours




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: Variabile IFS
PostPosted: Mon Jan 18, 2010 12:28 pm 
Newbies
Joined: Mon Jan 18, 2010 12:23 pm
Posts: 1

Salve a tutti, sono da poco iscritto questo forum quindi scusatemi se "sbaglio in qualcosa" :D .
Vengo al dunque, mi servirebbe una mano nello svolgere il seguente esercizio, utilizzando tecniche non troppo avanzate e la variabile IFS:
Creare uno script che trovi tutti gli utenti registrati nel sistema che abbiano come shell i comandi "false" e "nologin". Comunicare a video la lista ottenuta, contenente i campi: <username> <uid>. La lista deve essere mostrata in ordine numerico crescente rispetto ai campi <uid>.
Per l'ordinamento usare il comando sort.
Ovviamnete so di chiedere tanto, quindi mi accontenterei anche di una breve spiegazione di come la variabile IFS dovrebbe essere utilizzata per tale scopo, grazie anticiatamente a tutti.


Offline
 Profile E-mail  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC + 2 hours


 Who is online

Users browsing this forum: No registered users and 1 guest


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 post attachments in this forum

Search for:
Jump to: