On Wednesday, Nov 8th 2006 at 18:36 +0530, quoth Lis Maria Thomas: =>Hi => =>Are there any options to pass a file name as command line option when we =>run the rpm -ivh command. The file which I pass is not part of the rpm.I =>did some googling but couldn't find any. => =>Thanks & Regards => =>Lis I'm not sure I understand what you're asking, but if I do get your drift, look at the xargs command. For example, content of file foo is xxx yyy zzz xargs echo < foo will print xxx yyy zzz If you want it to execute a seperate command for each argument then just use -n. e.g. xargs -n 1 < foo In your case, something like xargs rpm -ivh will get you started. -- Time flies like the wind. Fruit flies like a banana. Stranger things have .0. happened but none stranger than this. Does your driver's license say Organ ..0 Donor?Black holes are where God divided by zero. Listen to me! We are all- 000 individuals! What if this weren't a hypothetical question? steveo at syslang.net _______________________________________________ Rpm-list mailing list Rpm-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/rpm-list