Thanks Paul On 1/24/06, Paul Howarth <paul@xxxxxxxxxxxx> wrote: > Kaushal Shriyan 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@bdc31096e root]# > > [root@bdc31096e root]# cat list > > sylpheed-1.0.0-3.i386.rpm > > dmidecode-2.5-2.i586.rpm > > [root@bdc31096e root]# > > > > I want to use this method only since there are lots of rpm package > > You are using the wrong sort of quote marks. Instead of: > > 'cat list' > > You should have: > > `cat list` > > or (more clear in bash): > > $(cat list) > > Paul. > > -- > fedora-list mailing list > fedora-list@xxxxxxxxxx > To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list >