Search Results

Search: Posts Made By: zippyzip
1,735
Posted By zippyzip
Thanks Ravinder gives me something to work with...
Thanks Ravinder gives me something to work with...
1,735
Posted By zippyzip
Shell script to convert IP range csv into a list of single IP's
Hi All,

I am looking for some help to convert a csv with IP ranges in.. in the format e.g.


1.1.1.2, 1.1.1.5
2.1.1.10, 2.1.1.20

and would be looking to output as follows:
1.1.1.2
1.1.1.3...
17,050
Posted By zippyzip
Hi Pamu, Tried the following in...
Hi Pamu,

Tried the following in /etc/cron.minutely

#!/bin/bash CONNECTED=$(ps -ef | grep -c APP1) while [ "$CONNECTED" -gt 1 ]; do echo -n p >/dev/ttyS1; echo $CONNECTED CONNECTED=$(ps...
17,050
Posted By zippyzip
Hi pamu Thanks for your help so far....
Hi pamu

Thanks for your help so far. Essentially if program A is running i want to continually send serial keepalives to the serial port..(something is scooping this output up fine) if the program...
17,050
Posted By zippyzip
Hi I have kind of modified things to change for...
Hi I have kind of modified things to change for an application..
#!/bin/bash
CONNECTED=$(ps -ef | grep -c APP1)
while [ "$CONNECTED" -gt 1 ]; do
echo -n p >/dev/ttyS1;
echo $CONNECTED
...
17,050
Posted By zippyzip
thanks for the quick reply.. on the road right...
thanks for the quick reply.. on the road right now but will check later

---------- Post updated 10-09-12 at 02:53 AM ---------- Previous update was 10-08-12 at 11:18 AM ----------

works a treat...
17,050
Posted By zippyzip
simple while loop script to check a connection
Hi,

I am completely new to shell scripting. Basically I am wanting to create a simple while loop script to check if a network connection is available from 'netstat -a' and if its present then...
Showing results 1 to 7 of 7

 
All times are GMT -4. The time now is 08:35 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy