Dear members,
I have a text file with several lines of output as below.
Each header line has HEADER number and word PRINT.
I will need to grep the first word in the line with the keyword PRINT i.e HEADER1, HEADER2 and basically prefix as column1 in each line underneath. Should do this until...
Hi,
I would like to take a file, grep blocks of lines between spaces and spool them to a different file . Suppose that the file name is a.txt, I'd like to create a1.txt, a2.txt depending on the number of text blocks between spaces. Will appreciate if anyone can suggest me how to do this...
Hello All,
I have two tables each with 100 fields in it. The first table is Employee and the second is Employee_Journal.
Whenever a change is made to a field in employee table, the field value is updated. A corresponding record is entered in the journal table. The journal table is like a...
Hello All,
I have two tables each with 100 fields in it. The first table is Employee and the second is Employee_Journal.
Whenever a change is made to a field in employee table, the field value is updated. A corresponding record is entered in the journal table. The journal table is like a...
Hello All,
I have two tables each with 100 fields in it. The first table is Employee and the second is Employee_Journal.
Whenever a change is made to a field in employee table, the field value is updated. A corresponding record is entered in the journal table. The journal table is like a...
Hello all
I have created two tables with the following format.
Table 1
StudentId InstructorId
1000 2000
1001 2000
1002 2001
1003 2001
.... ....
Table 2
StudentId MathMarks PhysicsMarks
1000 90 80
1001 85 75
.... ...
Hello!!
I am relatively new to shell scripting.
I have a cgi which is a shell script: proj_web_apps.cgi
#!/usr/bin/ksh
. ../config/PROJ_ENV
# Limit the CPU time allowed for the process
ulimit -t $ULIMIT_CPU > /dev/null
$AWA_/bin/proj_web_apps
I would like to monitor who invoke this cgi and...
Hello!!
I have a cgi which is a shell script: proj_web_apps.cgi
#!/usr/bin/ksh
. ../config/PROJ_ENV
# Limit the CPU time allowed for the process
ulimit -t $ULIMIT_CPU > /dev/null
$AWA_/bin/proj_web_apps
I would like to monitor who invoke this cgi and at what time. The user name and the ip...
Hello All!
I am very new to perl.
I want to write a script that reads a log file and outputs the result
A snippet of log file is as shown below. 333.333.333.333 is the ip address. ip addresses are always preceded by the word AAD@.
----------------------------------------
10:54:11...
Hello all!!
Can we write a shell script that monitors an executable and counts how many times it is invoked? The script should output the current number of invocations and also how many times it has been invoked so far.
Thanks!
Hello All!
I am very new to shell scripting.
I want to write a script that reads a log file and outputs the result
A snippet of log file is as shown below. 333.333.333.333 is the ip address. ip addresses are always preceded by the word AAD@.
------------------
10:54:11...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.