LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-21-2013, 11:45 PM   #1
Pushpakjunnare
LQ Newbie
 
Registered: Jun 2013
Posts: 1

Rep: Reputation: Disabled
Script to change the IP address and restart network services in Linux 5.3


Hi,

I am new to Linux, I would to know which file format is use to write a script in Linux (.bat in windows).
I want a script which help me to change the IP address and restart network services in Linux 5.3.
Actually i an setting in SOC and it not possible to go in data-center again and again when i need to change the ip address, so I want a script which, I can run remotely on the Linux server to change the IP address and restart the network services.
 
Old 06-22-2013, 01:02 AM   #2
nijinashok00
LQ Newbie
 
Registered: Sep 2012
Posts: 28

Rep: Reputation: Disabled
In Linux there is no value for file formats. The file doesn't shows different behavior if you change the file format. For creating scripts in Linux you can either use bash, python or php scripts.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] how to restart network services in Ubuntu jayantjpr Linux - Server 1 08-08-2011 10:20 AM
restart network services automatically nightmare49 Linux - Networking 1 03-19-2009 07:00 PM
Script to restart services, if they are down. sabarishks Linux - Server 2 10-30-2008 07:29 PM
Which Services Restart Network? cmnorton Linux - General 4 03-09-2008 08:35 AM
Script to restart application services on remote systems vinayhr Programming 3 09-04-2006 12:37 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:54 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration