[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



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







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