10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi Guys,
I am developing a script to monitor GUI based FileNet Component "Component Manager" which logs it's running status in a log file.
Log file is a huge file so in script I put last 300 lines of log file in seperate file and run script every 5 minutes.
I am searching the string... (2 Replies)
Discussion started by: dhirajdsharma
2 Replies
2. Shell Programming and Scripting
I have 2 date feilds
2011-05-13:18:45
2011-05-13:18:30
I need to compare them and say its OK/NOK
I tried this but dint work.
systime=2011-05-13:18:45
shubtime=2011-05-13:18:30
if
then
echo" OK"
else
echo "NOK"
fi
In this its not same so the o/p should be NOK (2 Replies)
Discussion started by: LavanyaP
2 Replies
3. Programming
Hi Folks,
I have a issue regards space in the records.
Example:
999207404 |sp818056|STEVEN |LAWRENCE |Mike.S.Lawrence@sprint.com |2003 S Data Sales Mgr 77 |SVC ... (5 Replies)
Discussion started by: Haque123
5 Replies
4. Shell Programming and Scripting
perl script:
my $logdir = '/smp/dyn/logfiles/fsm/mp/mp';
$logdir = $logdir ."/mp${toDate}*";
i tried to make it..as below .. but not working ..
date +%m%d%y
logdir = /smp/dyn/logfiles/fsm/mp/mp
logdir=$logdir/mp"$date"
but it was not working.....
can someone please help me out in... (1 Reply)
Discussion started by: mail2sant
1 Replies
5. UNIX for Dummies Questions & Answers
Hi All,
I have four different files in four different directories.
Each file contains exactly the same format
logincode Forename Surname TutGroup Mark
Basically i want to grab all the marks from each file and put them onto the end of one login code by using a shell script. I can grab all... (3 Replies)
Discussion started by: jazz8146
3 Replies
6. Solaris
Hi all,
i am phasing one problem yesterday.when i was login into sun server with my user id, i am trying to execute unix commands but the server responce is very slow. the command result will give after 5-10 min. i checked /var,/tmp and /export/home file system also.every thing is normal... (4 Replies)
Discussion started by: krishna176
4 Replies
7. Shell Programming and Scripting
Hi Folks. I am currently working on a script that has to spell check a file and print the output to the screen in 2 columns like this.
INCORRECT CORRECTION
whio who
weahter weather
The file will allow the user to override the ispell command and save any... (9 Replies)
Discussion started by: ccfc1986
9 Replies
8. UNIX for Dummies Questions & Answers
This is relating PGP:
I wrote a shell script to encrypt a file:
pgpe -r <key> (file)
Im looking to automate this but when I run my script it keeps running because it prompts:
WARNING: The above key is not trusted to belong to:
Do you want to use the key with this name?
It's... (1 Reply)
Discussion started by: queenie680
1 Replies
9. Shell Programming and Scripting
Hi ..please tell me how to modinfy an existing file in a directory, i need commands like to open edit and save n execute the file in BASH. please respond immediately (3 Replies)
Discussion started by: deepti.1104
3 Replies
10. UNIX for Advanced & Expert Users
what should i do if there's no response by executing volcheck.
Rgrds,
--NIkk (2 Replies)
Discussion started by: nikk
2 Replies