On Thu, Nov 15, 2007 at 01:06:57PM -0500, Piet Slaghekke wrote: > Thanks Serge, > > When I do: while read uid; do userdel $uid; done < userlist.txt > I get: > > while: Expression Syntax.
The foregoing command was written in Bourne shell syntax. The error message you report suggests that you are using csh or tcsh, or at any rate, a shell that doesn't speak Bourne shell syntax. -b