[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [K12OSN] deleting a 1000 users



chobbs silvervalley k12 ca us wrote:
> cat delstu6.txt | xargs -n 1 userdel -r

jam mcquil com wrote:
>   cat delstu6.txt | while read x
>   do
>     userdel -r $x
>   done

Glenn Arnold wrote:
> Jim's method keeps saying that the user did not
> exist just like my webmin batch process.  Chris method worked.

That's odd. I'd've expected each to act the same, unless
.... Take a close look at delstu6.txt. I'll bet that there
are carriage returns (^M) or other whitespace at the end of 
some lines.
-- 
	Mike Wescott
	Wescott_Mike EMC COM




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]