Well, since everybody else had a different way to do it, here's mine too =) for x in `ls /home`; do echo $x@domain.com >> /tmp/addresses.txt; done Cheers, Caleb On Thu, 2002-01-03 at 04:03, dani@cyber.ro wrote: > My problem: i have a homedir for around 800 users.I need to get all of > them in a text file,each one on each line,with @domain.com after their > username.. something like > > dscfde@domain.com > 3424.324r2@domain.com > 4fdr3r@domain.com > .. > > how can i do that,with sed,or.. > thanks > Dani. > > .signature not found at work place > > > -- > To UNSUBSCRIBE, email to debian-user-request@lists.debian.org > with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Attachment:
signature.asc
Description: This is a digitally signed message part