H.I. Hardware Information - A Bash script to install and run inxi with default options!

H.I. Hardware Information - A Bash script to install and run inxi with default options! For anyone that has never used inxi, here is what it looks like when run in hi. (This works in openSUSE 12.2 & 12.3)

http://thumbnails60.imagebam.com/16251/b168a7162502965.jpg](http://www.imagebam.com/image/b168a7162502965)

inxi is one of those programs you thought was kind of neat, but later, you just can not remember its name or how you even got it. So, I wrote a bash script I call hi, which when run will run inxi -F by default (which you can change) and looks like the picture posted above.

If inxi is not installed, it will be installed for you. You must have the complete Packman repository added to YaST in order for this utility to be found. For openSUSE 12.2 go to YaST / Software / Software Repositories and add the repository URL “http://packman.inode.at/suse/openSUSE_12.2/” and for 12.1 add “http://packman.inode.at/suse/openSUSE_12.1/”, excluding the quotes.

If you run hi -h, inxi help will be displayed, but inside of the terminal text viewer called less. Just enter a Q to Quit less. All inxi commands are supported, shown in help and will be passed to inxi when hi is ran. hi will by default create a Desktop icon for you, if it does not exist, that is useful when running KDE. hi is an attempt to get you using inxi by installing it for you and providing a script name that is easy to remember.

The latest version of hi is too large to be posted into a forum message here and so I am still using a new openSUSE forum feature called SUSE Paste. Open Up the following Link into a new tab and pick Download (in the top right Corner) and open with kwrite or other text editor. Then in the text editor do a File / Save As hi in your /home/username/bin folder (~/bin/hi).

H.I. Hardware Information - A Bash script to install and run inxi with default options!

It is possible to directly download hi using the following terminal command (You must delete or rename the old version first):

rm ~/bin/hi
wget -nc http://paste.opensuse.org/view/download/27608571 -O ~/bin/hi

Once saved, use the following terminal command to make it executable:

chmod +x ~/bin/hi

It is even possible to string all three of these commands together as one. Copy the following command, open up a terminal session, paste it in and press enter:

rm ~/bin/hi ; wget -nc http://paste.opensuse.org/view/download/27608571 -O ~/bin/hi ; chmod +x ~/bin/hi

To use hi the very first time, just open up a terminal session and type:

hi

If you use KDE, after you have run hi once, a desktop icon (called** INXI**) should be present you can use with the default inxi command -F anytime you want. Please let me know if you have any issues using the hi bash script file. hi has been fully tested with openSUSE 12.1.

Thank You,

Blogs: asroot : Bash : Packet Filter : C.F.U. : GPU’s : fewrup : F.S.M. : H.I. : nVIDIA : LNVHW : N.S.F. : S.A.K.C. : MMCHECK
S.A.S.I. : S.C.L.U. : S.G.T.B. : S.K.I.M. : S.L.A.V.E. : S.L.R.C. : S.T.A.R.T. : S.U.F.F. : SYSEdit : systemd : YaST Power