I have put in Yazu's code, tested and works. I had a programmer at work explain the finder points of your script. I have never used "read" before.
Final code:
Once again, thank you for taking the time to look at this issue. It will be a big help to our organisations rolling backup regime.
Last edited by Franklin52; 09-12-2011 at 08:28 AM..
Reason: Please use code tags for code and data samples, thank you
I have following information in one file.
ObjID: 004ee4e4-0d92-71dd-1512-9887a1f10000
Address: 152.135.0.61
PingState: Ping Responding
----------------Management Address---------------------
++++++++++++++++Interface+++++++++++++++++++++
IFName: dall00r1.mis.amat.com ]
ObjID:... (3 Replies)
Hi,
Can someone help me with this small piece of code.
DIRNAME=$(dirname $0)
BASENAME=$(basename $0)
DATA="${DIRNAME}/${BASENAME}.data"
&& . $DATA
whats is meant by && . $DATA here...
Regards,
Abhishek (2 Replies)
Hello,
I have this script running on cron every 20 minutes.
By 12pm daily, our system is expecting all input files to be uploaded by the script.
After this cutoff time, the script would still be running though, but i need some kind of alerts/logs to know which input files weren't received for... (1 Reply)
I have four years of shell scripting experience in AIX and HP-UX and have worked in perl scripts as well, the good part is i love scripting and so far i have been getting job offers as well.
The bad part is , shell scripting is all i know , so the kind of jobs i am getting is mostly production... (2 Replies)
Dear friends,
Before putting my questions forward, I would like to put some data infront of you, hope you will help me at the end.
This website
Cray-Cyber - Welcome
provides free access to many supercomputers and mainframe computers. When you login through ssh, they provide you with a screen,... (0 Replies)
Dear friends,
Before putting my questions forward, I would like to put some data infront of you, hope you will help me at the end.
This website
Cray-Cyber - Welcome
provides free access to many supercomputers and mainframe computers. When you login through ssh, they provide you with a screen,... (5 Replies)
:eek:i hav a shell script in my linux server, i want to execute it everyday once automatically without using cron tabs as i dont hav permission to create one.
So wht sld i do??:confused: (1 Reply)
Hi,
I need shell script for getting the date in format from below text output
IP IS 10.238.52.65
pun-ras-bng-mhs-01#show conf port 2/4
Building configuration...
Current configuration:
!
card ge3-4-port 2
!
port ethernet 2/4
no shutdown
encapsulation dot1q (7 Replies)