Sounds like you want to use "expect" which can be used to automate all
kinds of things that have prompts and responses.
man expect for an intro
and I believe there is an entire O'Reilly book about it.
HTH,
Dave
> Date: Sun, 02 Jul 2000 18:27:35 -0400
> From: Fred Whipple <[EMAIL PROTECTED]>
>
> All,
>
> Here's a neat variation - how can you edit a quota through a
> non-interactive script? I.e., what if I want to write a script that
> takes in a number of MB's and a username and sets the quota
> automagically? I notice that 'edquota' isn't a script.
>
> TIA.
>
> -Fred
>
> John Aldrich wrote:
> >
> > On Sat, 01 Jul 2000, [EMAIL PROTECTED] wrote:
> > > Hi
> > >
> > > I would like to implement user disk quota
> > > setting a limit of 5 MB per user
> > >
> > > Kindly give me a hint where to look
> > >
> > man quota
> > John
--
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.