Tool

David L Austin's picture
tool
Reads:

3235

Score:
0
0
 
Comments:

0

System Information

license: 
GPL

This tool is for any products running Linux. It was written on a workstation running SUSE Linux Professional 9.3. Helpful for Newbies (such as I).

This tool was written to easily collect the basic system information that I might need to be able to reinstall my system. Also, it was an exercise in writing a shell script. You must "chown root:root ./sysinfo.sh" the file and then run it as root since it accesses files that only root has access to.

Save the file to your home folder, open a console window, "su -" to root, "cd" to your home directory, type "./sysinfo.sh" .

It will collect information from your HOSTNAME, hosts, fstab, mtab and /etc/samba/smb.conf files. Also, it gathers your ifconfig settings.

If you would like to add, delete or change any of the information collected, open ./sysinfo.sh in your favorite text editor and hack away.

All collected data is output to the file ./systeminformation.txt . You might want to add a line in the file for it to "cat ./systeminformation.txt" to see the settings on screen, or "cat ./systeminformation.txt > lpr" to keep a printed copy of your settings.

AllegatoDimensione
sysinfo.zip434 bytes




User Comments

© 2013 Novell