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...
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...
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!
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...
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.