On Fri, 25 Oct 2002, Nick Wilson wrote:

> Hi everyone, 
> 
> If I need to make 100 directories named 1,2,3...100 how might I do this?
> I looked at some references on 'for loops' but just didn't get it ;-)

there is a handy command, "seq", which will generate sequences
of numbers that you can then plug into any command, as in 

$ mkdir $(seq 1 100)

rday



-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@;redhat.com?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to