10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Dear all,
I have a log file to be analysed. this log file contains vaiours lines of code starting with date timestamp.
if my search string is exception then that resepective log statement starting from the date is required.
example:
2014/10/01 16:14:44.459|>=|E|X|19202496|2832|... (5 Replies)
Discussion started by: shravee
5 Replies
2. Shell Programming and Scripting
Hi,
I am trying to capture the output of the an open pipe in perl. but I am not sure how to do this. can some one please help me do that?
Below is the script I am using (2 Replies)
Discussion started by: ahmedwaseem2000
2 Replies
3. Shell Programming and Scripting
Dear All
From below mention input file I want op file as mention. Kindly help.
IP file:
"BSCGNR4_IPA17_C" 329 140119 0717 RXOCF-105 KJO001_BASC_NG AC FAULTY DG ON DOOR OPEN
Needed OP:
140119 0717 KJO001_BASC_NG AC FAULTY DG ON DOOR OPEN
Note that string mark in red as variable in... (3 Replies)
Discussion started by: jaydeep_sadaria
3 Replies
4. Shell Programming and Scripting
Hi all,
My file :test.txt just like this:
...........................
From: 333:123<sip:88888888888@bbbb.com
To: <sip:123456@aaaaa.com
.........................
I want a script to capture the string between sip: & @
Expect output:
88888888888
123456
Please help! (4 Replies)
Discussion started by: Alex Li
4 Replies
5. Shell Programming and Scripting
I want to capture the debug for the below command in output file .
i tried like this but its not working:
sh -xv <scriptname> >> output.log
i want the output in a log file.
Anyone plz help in this (2 Replies)
Discussion started by: chakkaravarthy
2 Replies
6. Shell Programming and Scripting
Hi
I have a requirement to write a script to capture all errors in a Logfile and send the file in email.
If there is any error occurred the subject of email will be ERROR , If there are no error occurred the subject of email will be SUCCESS.
So I created a Log file and put the Appropriate... (2 Replies)
Discussion started by: dgmm
2 Replies
7. Shell Programming and Scripting
Hi,
I wanted to know how i could accomplish this in a script using ksh.
Lets say there is a file called test.dat and it has a certain input like below :
.
.
Hi = 56
Hi = 67
.
.
1 record(s) selected
Now i need to capture the numbers after the = sign and store them in a... (3 Replies)
Discussion started by: Siddarth
3 Replies
8. Shell Programming and Scripting
Hi
I have a script that will run multiple unix & sql commands. I want to see the output as well as capture it to a log file for further analysis. Is there an easy way to do that instead of adding "tee -a logfile" on everyline or even on the execute line (i.e. script | tee -s logfile).
Thanks (1 Reply)
Discussion started by: nimo
1 Replies
9. Shell Programming and Scripting
Hi,
I am running a shell script called dbProcess.sh which performs shutdown and startup of various Oracle instances we have.At the time of execution the script produces the following output to the command line window
$./dbProcess.sh stop
#### Run Details ######
Hostname : server-hop-1... (4 Replies)
Discussion started by: rajan_san
4 Replies
10. UNIX for Advanced & Expert Users
Hi All :
I wanted a unix command by which I could be able to print the output to a file and at the same time to a printer. Any help will be greatly appreciated.
Regards,
Ramamurthy Dasari (1 Reply)
Discussion started by: rdasari
1 Replies