rpm installing using for loop

Kaushal Shriyan kaushalshriyan at gmail.com
Tue Jan 24 11:34:20 UTC 2006


Thanks Fabio

Regards

Kaushal

On 1/24/06, Fabio Comolli <fabio.comolli at gmail.com> wrote:
> You have to use `cat list` instead of 'cat list'
>
> ` is ALT+096
>
> Bye.
> Fabio
>
>
>
>
> On 1/24/06, Kaushal Shriyan <kaushalshriyan at gmail.com> wrote:
> > Hi All
> >
> > I am stuck with installing rpm using for loop
> >
> > I tried the below
> >
> > #for i in 'cat list'; do rpm -ivh $i ; done
> >
> > It gives me the below error
> >
> > error: open of cat failed: No such file or directory
> > error: list cannot be installed
> > [root at bdc31096e root]#
> > [root at bdc31096e root]# cat list
> > sylpheed-1.0.0-3.i386.rpm
> > dmidecode-2.5-2.i586.rpm
> > [root at bdc31096e root]#
> >
> > I want to use this method only since there are lots of rpm package
> >
> > Thanks in Advance
> >
> > Regards
> >
> > Kaushal
> >
> > --
> > fedora-list mailing list
> > fedora-list at redhat.com
> > To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
> >
>
> --
> fedora-list mailing list
> fedora-list at redhat.com
> To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
>




More information about the fedora-list mailing list