Hi Markman,
I want to archive the subdirectories having images called myimage.jpg only. I don't need any other files in those subdirectories if some exists.
--Sethu
Hi Gurus,
I need your help badly. I want to do this.
Have a directory called IMAGES and under that several sub directories. These subdirectories have images in it with .jpg format. I need to achieve this.
Search for a file named myimage.jpg (same file exist in many sub directories)from the...
Hi Souper
-------------------------------------------------------
# This script will execute on 1 st of every month as cron
#!/bin/ksh
# This is Script2
DATE_DAY=`date +"%a"`
if [ $DATE_DAT = Fri ]
then
exit 0
else
Call Script1
fi...
Hi,
I have many cron jobs running on my Solaris 7 box. There are no failures in these jobs. The problem I have is I am getting a lot of mails eventhough the cron job was successful. I want to do two things.
1. How to supress mails which are comming even after successful completion of job? I...
I have scheduled a job with at command which runs every hour in my Solaris 7 box. The command didn't run from yesterday. It failed and the jobs were not found in /var/spool/cron/atjobs. I tried to run it again and there was a message too old. I removed the atjobs directory and recreated it as...
Hi AWK gurus,
I need to write to a file from a log file after the script finds a particular word. The file which I read is a log file.
Let me give an example. The three lines are like this
02 20 2001
There are errors in file.
Test was failure.
We will serach for a word Test and I need to...
Quest has a lot of problems creating core dumps and crashing the database. We stopped using it recently and they admit that lots of values like buffer cache hit ratio and all are wrong. The best tool is OEM by all means.
--Sethu
I am getting a lot of ORA-7445 Errors in the Alert files.
"ORA-07445: exception encountered: core dump [kpcxk2u()+64] [SIGSEGV] [Address not mapped to object] [4294901852] [] []"
A corresponding trace file also is created.
Version of Oracle 8.1.6.3
O/S Solaris 8
OPS with MTS
Do any...
Hi Solaris Gurus
I have a Solaris 7 system which I inherited. I want to delete some users and create new ones. But after login as root when I try to delete or add users I am getting this error.
UX: userdel: ERROR: Cannot update system files - login cannot be deleted.
OR
UX: useradd: ERROR...
Hi Gurus,
I need a help with NAWK script. The functionality I am trying to achieve is this. I have a log file from which I want to do a search on a word say 'TEST-SUCCESS' and email a user when it finds it. Your immediate response is highly appreciated.
Hi,
Your command will remove all files beyond that date which we give with mtime. I need to remove some files on a date basis for example yesterday's OR day before's. Can you help on that?
I have a directory in my sun solaris 7 machine which grows so rapidly. I want to remove some log files on a daily basis acoording to the date. What command can I use for that (selecting files according to date). Example I need to remove some files which has extension .log and created yesterday...
Hi,
I have many objects in my database in INVALID status and I recompiled them. Is there any way to recompile materialised views which has an object type as UNDEFINED?
--Sethu
Hi,
My NAWK script is giving me an error. In my script there is a line like this
"basename " filename | getline base
I am getting an error like this
nawk: basename "/u01/metar/people/data/Source/test.mst" makes too many open files
Can anybody help me?
Sethu
Given a file with several lines and then a line of "----------------------------", how would I print everything until the end of the file? In other words I need to use a UNIX script to print everything below the "----------------------------":
Working file: build/postinstall...
Hi Experts,
I am very new to AWK. The task for me is to do the following.
1. The input file looks like this
"NAME1" "/dir1/dir2/dirA/file1_name"
"NAME2" "/dir1/dir2/dirB/file2_name"
"NAME3"...
Hi,
I am vey new to awk. I need somebody either write or give a tip how to write a script. The script should do the following. It reads a text file which has entries like this
"val1" "val2"
"val3" "val4"
and so on....
the val1...
Hi,
I am using Oracle's Intermedia for text searches in my database. This is one of the important functionality as far as the application is concerned. My application accesses the database thru JDBC. I have many questions regarding the time taken for a particular search.
The PL/SQL procedure...
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.