Talk:Serial Hack

From LinuxMCE
Revision as of 13:28, 20 September 2007 by Trout (Talk | contribs)

(diff) ←Older revision | view current revision (diff) | Newer revision→ (diff)
Jump to: navigation, search

Comments

If someone out there has a better way of doing this, please post it here! -AVJohn



How about:

cat >/usr/pluto/bin/ListSerialPorts.sh <<"EOF"
#!/bin/bash

tree -fi /dev | grep ttyS
tree -fi /dev | grep ttyUSB
EOF

That should overwrite the file in one go, without having to use vi. --Zaerc 04:53, 20 September 2007 (MST)