Sponsored Content
Top Forums Shell Programming and Scripting Script to detect dynamic ip change and update to config file Post 302748645 by Shaan_Shaan on Wednesday 26th of December 2012 12:26:19 PM
Old 12-26-2012
CentOS 5.5

Thank you.
Shaan
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

I wanted to update a script, more dynamic (just say no to hard coding)...

currently it has the following: bdumpN=`ll /home/apps/oracle/admin/DBprod/bdump/DBprod_j* | grep "$Cdate" | wc -l` If I pass the DBname, I would not have to hardcode it in the script... I can capture the database name by adding the following: DBname=$1 The problem is, I have been unable... (2 Replies)
Discussion started by: mr_manny
2 Replies

2. UNIX and Linux Applications

Autosys Config file update on a read-only filer

Hi To All Genius out there, We are running autosys application on solaris 10. In autosys we have a configuration file that contains an Autosys instance configuration data and is located on a NFS filer on which we have a read-only access. Our Autosys environment is on a dual server... (0 Replies)
Discussion started by: whn_chips_r_dwn
0 Replies

3. Solaris

Autosys Config file update on a read-only filer

Hi To All Genius out there, We are running autosys application on solaris 10. In autosys we have a configuration file that contains an Autosys instance configuration data and is located on a NFS filer on which we have a read-only access. Our Autosys environment is on a dual server mode(Active... (0 Replies)
Discussion started by: whn_chips_r_dwn
0 Replies

4. Shell Programming and Scripting

AWK script to detect webpages from file

Hi guys I'm very new to unix and I have to create an awk script that detects webpage addresses from a file/webpage and outputs how many times each webpage was detected.e.g. if my file was: (Note: The symbol " was added to stop them being created into links) "www.google.com"... (1 Reply)
Discussion started by: ROFL
1 Replies

5. Shell Programming and Scripting

AWK script to detect webpages from file

Hi guys I'm very new to unix and I have to create an awk script that detects webpage addresses from a file/webpage and outputs how many times each webpage was detected.e.g. if my file was: www.google.com www.facebook.com www.google.com the output should be: www.google.com x2... (2 Replies)
Discussion started by: ROFL
2 Replies

6. Shell Programming and Scripting

Shell script that will compare two config files and produce 2 outputs 1)actual config file 2)report

Hi I am new to shell scripting. There is a requirement to write a shell script to meet follwing needs.Prompt reply shall be highly appreciated. script that will compare two config files and produce 2 outputs - actual config file and a report indicating changes made. OS :Susi linux ver 10.3. ... (4 Replies)
Discussion started by: muraliinfy04
4 Replies

7. Linux

issue on dynamic config script

I have one issue with my existing code.Actually i want to write parameter's at the end of the section not begin of section.please find my code snapshots... while read cfgfilename sectionname parameter do case "$cfgfilename" in cfgfilename) FILE=$HOME/config/$parameter unset... (1 Reply)
Discussion started by: suryanarayan
1 Replies

8. Windows & DOS: Issues & Discussions

script to change widows update permissions

I want to allow windows update when ordinary users are logged on, I'm pretty sure that adjusting the permissions registry entry HEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Windows/CurrentVersion/WindowsUpdate to allow acces to all domins users does the trick. I already have a logon.bat that runs at... (0 Replies)
Discussion started by: barrydocks
0 Replies

9. Shell Programming and Scripting

ksh; Change file permissions, update file, change permissions back?

Hi, I am creating a ksh script to search for a string of text inside files within a directory tree. Some of these file are going to be read/execute only. I know to use chmod to change the permissions of the file, but I want to preserve the original permissions after writing to the file. How can I... (3 Replies)
Discussion started by: right_coaster
3 Replies

10. Shell Programming and Scripting

Update config file using shell script in Solaris 5.10

hi I need to update the value in config.txt value using shell script example: lets say a value in config.txt file is as SEQUENCE=1 after some iteration as the loop ends , the SEQUENCE should get update in the config.txt file with a new value of SEQUENCE=2. also , can anyone please help me... (7 Replies)
Discussion started by: ravidwivedi2288
7 Replies
EZ-IPUPDATE(8)							Dynamic DNS client						    EZ-IPUPDATE(8)

NAME
ez-ipupdate - dynamic DNS client SYNOPSIS
ez-ipupdate [options] DESCRIPTION
This manual page documents briefly the ez-ipupdate dynamic DNS client. OPTIONS
ez-ipupdate follows the usual GNU command line syntax, with long options starting with two dashes (`-'). -a, --address <ip address> string to send as your ip address -b, --cache-file <file> file to use for caching the ipaddress -c, --config-file <file> configuration file, almost all arguments can be given with: <name>[=<value>] to see a list of possible config commands try "echo help | ez-ipupdate -c -" -d, --daemon run as a daemon periodicly updating if necessary -e, --execute <command> shell command to execute after a successful update -f, --foreground when running as a daemon run in the foreground -F, --pidfile <file> use <file> as a pid file -g, --request-uri <uri> URI to send updates to -h, --host <host> string to send as host parameter -i, --interface <iface> which interface to use -L, --cloak_title <host> some stupid thing for DHS only -m, --mx <mail exchange> string to send as your mail exchange -M, --max-interval <# of sec> max time in between updates -N, --notify-email <email> address to send mail to if bad things happen -o, --offline set to off line mode -p, --resolv-period <sec> period to check IP if it can't be resolved -P, --period <# of sec> period to check IP in daemon mode (default: 1800 seconds) -q, --quiet be quiet -r, --retrys <num> number of trys (default: 1) -R, --run-as-user <user> change to <user> for running, be ware that this can cause problems with handeling SIGHUP properly if that user can't read the config file. also it can't write it's pid file to a root directory -Q, --run-as-euser <user> change to effective <user> for running, this is NOT secure but it does solve the problems with run-as-user and config files and pid files. -s, --server <server[:port]> the server to connect to -S, --service-type <server> the type of service that you are using try one of: null ezip pgpow dhs dyndns dyndns-static dyndns-custom ods tzo easydns easydns- partner gnudip justlinux dyns hn zoneedit heipv6tb -t, --timeout <sec.millisec> the amount of time to wait on I/O -T, --connection-type <num> number sent to TZO as your connection type (default: 1) -U, --url <url> string to send as the url parameter -u, --user <user[:passwd]> user ID and password, if either is left blank they will be prompted for -w, --wildcard set your domain to have a wildcard alias -z, --partner <partner> specify easyDNS partner (for easydns-partner services) --help display this help and exit --version output version information and exit --credits print the credits and exit --signalhelp print help about signals AUTHOR
This manual page was written by Sam Hocevar <sam@zoy.org> for the Debian GNU/Linux system (but may be used by others). ez-ipupdate - 3.0.11b7 February 2003 EZ-IPUPDATE(8)
All times are GMT -4. The time now is 07:04 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy