LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   commads in tcl/tk to find out the hardware details (https://www.linuxquestions.org/questions/linux-hardware-18/commads-in-tcl-tk-to-find-out-the-hardware-details-281500/)

lexersrp 01-24-2005 02:14 AM

commads in tcl/tk to find out the hardware details
 
hi,

i wanna know abt the following

tcl/tk command in linux which will get the hardrware information present in the system

tcl/tk command in linux which will get the software information present in the system

Wim Sturkenboom 01-24-2005 04:35 AM

man tclvars might be of help (depending of the amount of info that you need). tcl_platformcan give you OS and processor-info

lexersrp 01-24-2005 04:48 AM

thanks wim,

can u suggest some commands to retrieve software information from the computer.if u can alos tell me some good sites regarding tcl/tk

Wim Sturkenboom 01-24-2005 10:16 AM

Read the given man page; example
Code:

puts $tcl_platform(os)
should display your OS.

http://www.tcl.tk/scripting/
http://www.tcl.tk/scripting/lesson1.html (some examples)
http://www.bitd.clrc.ac.uk/Publications/Cookbook/ (cookbook for text editor)

Those are the sites that I used to teach myself. Later I bought/borrowed Practical Programming in Tcl and Tk and Tcl and the Tk Toolkit


All times are GMT -5. The time now is 01:06 PM.