get serial number on linux
Posted to
tcl
by cjo at Sat Sep 09 20:54:00 GMT 2017
view raw
package
require tdom
dom parse [
exec
-ignorestderr sudo lshw -xml] doc
$doc
documentElement root
puts
[
$root
selectNodes {
string
(node/serial)}]
Recent Posts
tcl by Stu
37 mins ago
tcl by dandyn
1 days ago
tcl by Stu
4 days ago
tcl by philbr-t
9 days ago
tcl by arjen
11 days ago
tcl by brain
18 days ago
tcl by mjanssen
20 days ago
tcl by godotdot
20 days ago
tcl by Bradipo
20 days ago
tcl by Stu
23 days ago
Submit
New paste
Documentation
From Jabber