-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Sat, 31 Jul 2004 08:18:59 -0500
Hoyt Bailey <[EMAIL PROTECTED]> wrote:

>On Saturday 31 July 2004 07:37, Hoyt Bailey wrote:
>> On Saturday 31 July 2004 05:28, Frank wrote:
>> > OK. A favour for a favour, ( I hope? )
>> >
>> > # rpm -qa
>> >
>> > Thats the command, now what do I add to the end of it to
>> > successfully pipe it to a text file?
>> >
>> > Regards
>> >
>> > Frank
>>
>> <snip>
>> rpm -qa (filename) | tee (file where you want the answer)
>Forgot something.
>rpm -qa | sort | tee (file where you want the answer).
>-- 
>Regards;
>Hoyt
>
>
Try this,
It came from this list a year ago or so and I made it an
alias....

alias lrpm='rpm -qa | sort >
/home/ricks/rpmlist-`date +%d%m%y_%I%M`.txt'

it will add the date to the file list.

HTH
RickS 
+------------------------------------------------------+
MandrakeLinux 10.0 official -  2.6.3-15mdk-i686-up-4GB
gpg --recv-keys --keyserver www.keyserver.net 0x24AABE61
+------------------------------------------------------+
You can't take it with you -- especially when crossing a state line.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFBDQB8Jo/ckCSqvmERAn7LAKCOZmTb3U8IMQGxapgi0ZY8v4+LBwCeKGSp
tS39Q2I/koEs7hKjVSeLQto=
=5FMy
-----END PGP SIGNATURE-----

____________________________________________________
Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com
____________________________________________________

Reply via email to