Como puedo saber programas esta instalados ?

Hello
I am new to linux, I'm doing an inventory software and hardware in a PC version is a Red-Hat and Fedora.
How do I can do to know what programs are installed on machines and technical characteristics of the PC (how many gb is the hard disk, amount of RAM and processor)?.
From the console.

Thanks for your help

�Hola!

Per our Rules, all posts have to be in English. While a rudimentary translation service is provided as a courtesy to non-native speakers, it won't be applied to non-english posts. Please change your post accordingly or repost.