LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 01-24-2005, 02:14 AM   #1
lexersrp
LQ Newbie
 
Registered: Jan 2005
Posts: 8

Rep: Reputation: 0
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
 
Old 01-24-2005, 04:35 AM   #2
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Ubuntu 12.04, Antix19.3
Posts: 3,794

Rep: Reputation: 282Reputation: 282Reputation: 282
man tclvars might be of help (depending of the amount of info that you need). tcl_platformcan give you OS and processor-info
 
Old 01-24-2005, 04:48 AM   #3
lexersrp
LQ Newbie
 
Registered: Jan 2005
Posts: 8

Original Poster
Rep: Reputation: 0
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
 
Old 01-24-2005, 10:16 AM   #4
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Ubuntu 12.04, Antix19.3
Posts: 3,794

Rep: Reputation: 282Reputation: 282Reputation: 282
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
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Tuxracer can't find Tcl Napalm Llama Linux - Games 6 05-31-2007 12:51 AM
hardware details are not showing properly in hwconfig naveen.surisetty Linux - General 3 06-22-2005 09:12 AM
hardware details on RHEL 3.0 AS sjsowmya Linux - Hardware 0 01-27-2005 02:50 AM
Where to find the Folder Preferences Details joeyBig Linux - General 5 08-06-2004 09:00 AM
hardware details noir911 *BSD 5 08-05-2004 02:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 02:29 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration