LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   how to read ip from database and assign it to eth0 (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-read-ip-from-database-and-assign-it-to-eth0-4175418739/)

Owais.Ahmad 07-26-2012 04:35 AM

how to read ip from database and assign it to eth0
 
Hi,

I have a database which has ip address, i want to read it and assign it to eth0....

Regards,

Owais

Owais.Ahmad 07-26-2012 04:57 AM

i want it to be done using shell script

chrism01 07-26-2012 08:05 PM

Which DB?
What have you tried so far?
What is the table structure; show example rows


Help us to help you...

piyush.sharma 07-27-2012 12:27 AM

Sir, Is it possible to interact with database (mysql) via shell script ?

chrism01 07-29-2012 06:13 PM

Try starting here http://www.cyberciti.biz/faq/using-m...shell-scripts/ and https://dev.mysql.com/doc/refman/5.1/en/


All times are GMT -5. The time now is 01:57 AM.