yes you are totaly right, I was editing part of the script...and i missed out something...so the egrep is like below...its looking for a word called NBU at end of each line...if there is one then it obviously greps it...i will edit the original post as well...thanks...
Quote:
Originally Posted by Don Cragun
I'm missing something here. You have:
which means that you are asking egrep to look for the string "/etc/oratab" (matching uppercase or lowercase letters) from lines it reads from standard input. What input are you feeding into this script?
If instead you are grepping /etc/oratab and just didn't show us the ERE your looking for in /etc/oratab, please tell us what the ERE is and show us the contents of /etc/oratab.
---------- Post updated at 01:57 PM ---------- Previous update was at 01:53 PM ----------
here is output of /etc/oratab
Last edited by Corona688; 09-25-2012 at 04:04 PM..
Hi folks.
I'm just starting to teach myself shell scripting and am having some trouble with an if statement. I am working with a directory where only one file will reside at a time and need to evaluate if this file is compressed to determine subsequent steps. I'm using echo for testing purposes.... (2 Replies)
Hi,
I found this strange behaviour while using one of the makefiles.
Here is the snippet of the unix.mak that is necessary for this context
SO = SvSocket.o SvStmt.o SvOdbcWrapper.o \
OdbcCallReader.o MgrCalls.o OdbcSvProxy.o \
OdbcSvApp.o... (4 Replies)
Hey all. I am trying to find a process that is running and appending it to a file. The comman I am using is
ps -eaf |grep tctl.
The problem is, it returns the tctl process as well as the grep process that I just ran. Is there a flag that will prevent the command from returning itself?
... (2 Replies)
hello everybody and a happy new year!
i am trying the client-server model...i have no problem with sockets etc...
especially for server:there is a father who is listening for TCP connections from clients,the later send commands which parent shares to his children.
then children execute... (1 Reply)
I have a script which will look for a test folder under the parent directory. If the folder contains test folder then create the same directory structure in other remote machine.
Once the directories are created then transfer all the contents of that test folder.
this is what i am doing :-
... (2 Replies)
I'm running an arp -an on a Solaris 10 box. We're using IPMP. One of the systems is not able to see a host on the same network. The only difference between the two systems (one is having a problem, the other isn't) at least so far is the output of arp:
# arp -an | grep 224.55
e1000g5... (1 Reply)
Hi,
I have two different scripts sap_ftp.sh and sap_ftp_dd.sh which are running continously in background. I am using another script called start.sh to launch these two scripts.
Either one script will process files at a time . During that time other script will sleep.. Each script will... (1 Reply)
Hi there,
I need your help in understanding the below Solaris 10 ifconfig output;
athnetspns02>ifconfig -a
lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
inet 127.0.0.1 netmask ff000000
e1000g0:... (2 Replies)
Discussion started by: wthomas
2 Replies
LEARN ABOUT DEBIAN
storebackupcheckbackup
STOREBACKUPCHECKBACKUP(1) User Contributed Perl Documentation STOREBACKUPCHECKBACKUP(1)NAME
storeBackupCheckBackup.pl - checks if a file in the backup is missing or corrupted
SYNOPSIS
storeBackupCheckBackup.pl -c backupDir [-v level] [-p number] [-i]
DESCRIPTION
This program calculates md5 sums from the files in the backup and compares them with md5 sums stored by storeBackup.pl. It so will
recognize, if a file in the backup is missing or currupted. It only checks plain files, not special files or symbolic links.
OPTIONS --print
print configuration parameters and stop
--checkDir, -c
backup or top of backups to check
--backupRoot, -b
root of storeBackup tree, normally not needed
--verbose, -v
generate statistics
--parJobs, -p
number of parallel jobs, default = chosen automatically
-i, <--includeRenamedBackups>
include renamed backups into the check
renamed backups must follow the convention <backupDir>-<something>
COPYRIGHT
Copyright (c) 2008-2012 by Heinz-Josef Claes (see README) Published under the GNU General Public License v3 or any later version
perl v5.14.2 2012-03-03 STOREBACKUPCHECKBACKUP(1)