LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Output rpm cmd listing onto a CD? (https://www.linuxquestions.org/questions/linux-newbie-8/output-rpm-cmd-listing-onto-a-cd-703919/)

flasun 02-11-2009 11:35 AM

Output rpm cmd listing onto a CD?
 
I need to do a listing of software on several Redhat Linux boxes. The easiest way I know how is the rpm -qa command. Is there a way to output the data to a file and then download to a CD? Is there a switch I can attach to this command or will I have to do a copy and paste the output? And if this is the case, how do I know that everything that's showing on the screen is the entire output.
Any suggestions will be appreciated.
Thanks

jstephens84 02-11-2009 11:41 AM

Code:

rpm -qa > installedApplications.log
this will create a log file with all the information in it. You can then transfer this to a central location or use the lpr command to print it out.

flasun 02-12-2009 06:57 AM

Thanks!!!


All times are GMT -5. The time now is 05:44 AM.