write a script

Go down

write a script Empty write a script

Post  Admin on Mon Aug 11, 2008 12:31 pm

you have to write a script to give the user login on the system in alphabetically sorted order? Very Happy

Admin
Admin

Posts : 39
Join date : 2008-08-03

https://computerclub09mnnit.forumotion.net

Back to top Go down

write a script Empty Re: write a script

Post  ankurgutpa on Mon Aug 11, 2008 1:43 pm

who | awk '{print $1}' | sort -u cheers
ankurgutpa
ankurgutpa

Posts : 44
Join date : 2008-08-10
Age : 32
Location : Tandon 72

Back to top Go down

write a script Empty Re: write a script

Post  ankitgr8 on Thu Aug 14, 2008 7:19 am

who|cut -f 1 -d " " |sort -u

ankitgr8

Posts : 6
Join date : 2008-08-11

Back to top Go down

write a script Empty Re: write a script

Post  Sponsored content


Sponsored content


Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum