8 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Appreciate help for the below issue.
Im using below code.....I dont want to attach the logs when I ran the perl twice...I just want to take backup with today date and generate new logs...What I need to do for the below scirpt..............
1)if logs exist it should move the logs with extention... (1 Reply)
Discussion started by: Sanjeev G
1 Replies
2. Shell Programming and Scripting
Experts,
I have a question. Where are the vi logs are being stored.
For example: any command used within vi editor using :! ,(ex: :! pwd ex: :! ls -l ), so where the vi writes the command logs , dont see in .sh_history file so wondering.
Shell: /usr/bin/ksh
Thanks, (7 Replies)
Discussion started by: rveri
7 Replies
3. UNIX for Dummies Questions & Answers
Hi experts,
I have some input like below,
TEST A function W
TEST A function X
TEST B function Y
TEST C function Z
TEST C function ZY
i would like to have below output,
TEST A function W&X
TEST B function Y
TEST C function Z&ZY
Please kindly help on this, i am cracking my head... (2 Replies)
Discussion started by: mingfatty
2 Replies
4. Shell Programming and Scripting
Hi,
I want to concatenate the texts in the file but there are different scenario's.
Ist Scenario.
The contents of file has id`language,sequence number,text,language
Here id`language is a key pair to identify the correct language.
Sequnce number is the order the text being inserted.
Text... (3 Replies)
Discussion started by: vanitham
3 Replies
5. Shell Programming and Scripting
Not a perl guru and need some help with a script I inherited. My perl script has a variable that is concatenated and works fine as is, but what I need is to remove a string in the output and input a files content. This is emailed as a html report and I can't get the file to output in the email... (5 Replies)
Discussion started by: numele
5 Replies
6. Shell Programming and Scripting
(I'm aware log rotation is a common subject, but I tried searching and couldn't find an answer)
For some time now, I've been using the Logfile::Rotate module to rotate logs in a log-monitoring script. So far, I haven't experienced any problems, and it works great because I can use it in Linux... (1 Reply)
Discussion started by: w1r3d
1 Replies
7. UNIX for Dummies Questions & Answers
Hi,
I am new to perl. I want to write a perl script to monitor logs. Where i want to monitor exceptions logged or any kind of error strings. I have a dir(On Solaris) with multiple log file which keeps rolling to .gz file after some time in that same dir. These logs files size keeps on... (1 Reply)
Discussion started by: solitare123
1 Replies
8. Shell Programming and Scripting
I have a shell script that will gzip/tar/archive application logs that are over 20 days old which works just fine, but I would like to convert to a Perl script. Problem is, I'm a beginner with Perl and all attempts so far have failed.
Basicaly I have a log dir /app/logs that contains several... (18 Replies)
Discussion started by: theninja
18 Replies