Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. wlerner

    Using TCL/TK to change files under Linux

    Hi, Thanks for the reply. I have a BASH script that will use SED to change the IP address of a host system by editing the /etc/sysconfig/networking/devices/ifcfg-eth0 file. The script merely removes the IPADDR='xx.xx.xx.xx' line and replaces it with whatever the user has input. So really, I...
  2. wlerner

    Using TCL/TK to change files under Linux

    Are you asking me how to accomplish this in BASH or are you being sarcastic? While it is possible to use BASH to do this, and I do have a script that calls SED and makes the change, I need this to run in a TK widget. I need the output directed into the widget after an .entry box is used to get...
  3. wlerner

    Using TCL/TK to change files under Linux

    I would like to use TCL/TK to create a GUI that I can use to change the Hostname, IP Address, and MAC address of a Linux based system. Does anyone have any code to share that would help me do this? Thanks!
  4. wlerner

    Execute a shell script with output to Tk widget

    First, thank you for the quick responses! I appreciate it! Sorry about being vauge.. the problem has been solved. I had no problem displaying the BASH shell script in the Tk widdow when I changed the following.. #!/bin/csh to #!/bin/sh It seems that the C-Shell has some different...
  5. wlerner

    Execute a shell script with output to Tk widget

    Here is a small example of my code.. function tar () { tar czvf foo.bar /foobar } so on...
  6. wlerner

    Execute a shell script with output to Tk widget

    I have a Tk menu based installer I am working on. When a user selects a widget, I want the widget to execute a bash/csh shell script. I want the output from the shell script to be seen in a new Tk window. For some reason, the exec command does not want to execute my shell script. It is...

Part and Inventory Search

Back
Top