9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
I am new to scripting. I have a log file and need to fetch specific logs and copy to another file.
A copy of the log is like this:
===============================================================
= JOB : server123#jobs1.jobstream1
= USER : andyc
= Tue 08/01/17... (3 Replies)
Discussion started by: Prngp
3 Replies
2. Shell Programming and Scripting
Hi,
I have a file like...
$cat file1
+++++++++++++++++++ client1 +++++++++++++++++++++++++++++
col1 col2 col3
------ ----- -----
(0 rows affected)
=========================================================
+++++++++++++++++++ client1 +++++++++++++++++++++++++++++
col1 col2 col3... (6 Replies)
Discussion started by: sam05121988
6 Replies
3. Shell Programming and Scripting
Hello All,
I am working on a script where I need to fetch the value from a log file and log file creates with different name but few thing are common
DEV_INFOMGT161_MULTI_PTC_BLD01.Stage_All_to_stp2perf1.042312114644.log
STP_12_02_01_00_RC01.Stage_stp-domain_to_stp2perf2.042312041739.log
... (2 Replies)
Discussion started by: anuragpgtgerman
2 Replies
4. Shell Programming and Scripting
Hi Guys,
I have a file with around 1000 strings and i need to fetch the group to which each string belongs to from another file. Example is seen below.
File 1:
A
B
D
File 2:
START
A
B
C
END
START
M (5 Replies)
Discussion started by: jayadanabalan
5 Replies
5. Shell Programming and Scripting
Hi,
I want to modify a filename in AIX by attaching the last modified timestamp. I want the timestamp completely in numerical format (eg:200905081210. yr-2009, mnth - 05, date -08, hr - 12, mins - 10).
For example if the filename is a.log and it was modified on April 6th 2008 at 21.00. I... (16 Replies)
Discussion started by: Ruks
16 Replies
6. Shell Programming and Scripting
Hi guys,
Please help me out in this problem. I have two files
FILE1
abc-23 : 4529675
cde-42 : 9824532
dge-91 : 1245367
gre-45 : 9824532
fgr-76 : 4529675
FILE2
4529675 : Gal Glu house-2-be
9824532 : cat mouse
1245367 : sirf surf-2-beta
where FILE2 is a static file with fixed... (5 Replies)
Discussion started by: smriti_shridhar
5 Replies
7. UNIX and Linux Applications
A log file contains details for last one year .This file contains log for all dates . The log file for a particular day starts with a particular string and ends with the same string .
We need to make a new file out of this existing file containing data after a particular date. (2 Replies)
Discussion started by: chaitanyassk
2 Replies
8. UNIX for Dummies Questions & Answers
Made changes to a file using vi editor and saved those changes
now realised that the changes are not required
How can I get the previous version of the file.i.e the one which was there on which I had made changes (3 Replies)
Discussion started by: novice100
3 Replies
9. Programming
It sure sounds like a simple request....
I need some C code that will enable me to fetch the IP address of the tty attached to the current process.
In short:
char *myIPAddress(void)
{
// somebody help me fill in this part!!
}
-BL:confused: (4 Replies)
Discussion started by: brianleahy
4 Replies