4 Aug
2003
4 Aug
'03
14:36
This is the command you said would work if i had a cvs file?
for i in $(cat ./the_file | awk -F, '{print $NUM}'); do useradd $NUM -G groupname; done
As it was just easier to copy all the usernames into a text file will the this same command work? If so what do I write for $NUM, as there are no columns to be defined? Is there an addgroup cammand that could also do the same thing or am I barking up the wrong tree? -- Andrew Nix St Pauls Catholic High School Firbank Road Newall Green Wythenshawe Manchester M23 2YS tel: 0161 4375841 ext 168 fax: 0161 4982030