[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

RE: capturing output from an rpm -Uvvh into a text file



You can try the following:

script output.file
rpm -Uvvh file.rpm
exit


Donald E. Bodle, Jr.
Sr. Systems Integration Engineer
Platform Development
The Reynolds and Reynolds Co.
(937) 485-1954
 

-----Original Message-----
From: Robin Mordasiewicz [mailto:robin@primus.ca] 
Sent: Friday, March 07, 2003 12:19 PM
To: rpm-list@redhat.com
Subject: Re: capturing output from an rpm -Uvvh into a text file

None of these commands works for me
any suggestions appreciated.

--------------------
[localhost]# rpm -Uvvh file.rpm | tee text.txt
[localhost]# cat text.txt
Preparing...
##################################################
openssh
##################################################
Starting sshd:[  OK  ]
----------------------

[localhost]# rpm -Uvvh file.rpm > text.txt
[localhost]# cat text.txt
Preparing...
##################################################
openssh
##################################################
Starting sshd:[  OK  ]

------------------------------

[localhost]# rpm -Uvvh file.rpm > text 2>&1
Ambigous output redirect





_______________________________________________
Rpm-list mailing list
Rpm-list@redhat.com
https://listman.redhat.com/mailman/listinfo/rpm-list





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index] []