How To Get Ubuntu System Facts With Facter

Want to support HowtoForge? Become a subscriber!
 
Submitted by gg234 (Contact Author) (Forums) on Fri, 2008-03-14 13:01. :: Ubuntu

How To Get Ubuntu System Facts With Facter

Author:- http://www.ubuntugeek.com

Facter is a cross-platform Ruby library for retrieving facts from operating systems. It supports multiple resolution mechanisms, any of which can be restricted to working only on certain operating systems or environments. Facter is especially useful for retrieving things like operating system names, IP addresses, MAC addresses, and SSH keys. It is easy to extend Facter to include your own custom facts or to include additional mechanisms for retrieving facts.

 

Install Facter On Ubuntu

sudo apt-get install facter

This will complete the installation.

 

Using Facter

If you want to view your system facts just type the following command from your terminal:

facter

Output looks like below:


Please do not use the comment function to ask for help! If you need help, please use our forum.
Comments will be published after administrator approval.