10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Dear Unix gurus,
We have a config shell script file which has 30 variables which needs to be passed to master unix shell script that invokes oracle database sessions. So those 30 variables need to go through the database sessions (They are inputs) via a shell script. one of the variable name... (1 Reply)
Discussion started by: dba1981
1 Replies
2. UNIX for Dummies Questions & Answers
Dear Unix gurus,
We have a config shell script file which has 30 variables which needs to be passed to master unix shell script that invokes oracle database sessions. So those 30 variables need to go through the database sessions (They are inputs) via a shell script. one of the variable name... (1 Reply)
Discussion started by: dba1981
1 Replies
3. Shell Programming and Scripting
Hi All,
I have a date variable say dt="2014-01-06 07:18:38"
Now i need to use this variable to search a log and get the entries which occured after that time. (1 Reply)
Discussion started by: Girish19
1 Replies
4. UNIX for Dummies Questions & Answers
#!/bin/sh
b= SERVER
if ;
then
echo "hostname $a is same"
____________________________ (17 Replies)
Discussion started by: Nsharma3006
17 Replies
5. Shell Programming and Scripting
Hi,
I have 2 files as below
FILE1.dat
co1|co2|co3
abnd|45.56|AZ
dkny|30.2|PA
sam|.23|VA
FILE.CTL
FILENAME|FILE1.dat
NO OF RECORDS|3
CHECKSUM|75.99
Could you please help me to write a shell script to compare
1. TOTAL RECORDS from FILE1.dat with NO of RECORDS in FILE.CTL
2.... (8 Replies)
Discussion started by: dreamsportsteam
8 Replies
6. UNIX for Dummies Questions & Answers
Hi All,
I have files with a column which has values and ranges, for example
colA colB
ERD1 3456
ERD2
ERD3 4456
I want to have the following output
colA colB colC
ERD1 3456 3456
ERD2 526887 526890
ERD3 4456 4456
Being a newbie to... (2 Replies)
Discussion started by: alpesh
2 Replies
7. Shell Programming and Scripting
Hi all,
I got 2 file :
file1:
file2:
output:
But , must write out in C shell.Anybody can help solve? (6 Replies)
Discussion started by: proghack
6 Replies
8. Shell Programming and Scripting
hi experts
please help me to compare two files which are in different directory
file1<file will be master file>
(/home/rev/mas.txt}
ex x1
x2
file2 <will be in different folder>
(/home/rev/per/.....)
ex x3
x4
the filesinside per folder i need to compare with master file and the files... (2 Replies)
Discussion started by: revenna
2 Replies
9. UNIX for Dummies Questions & Answers
Hi,
how to read the 2 files and compare each other in shell script? i have 2 files test1 and test2, both files contains 20 character records.we have to compare file 1 records with file2, if exists then reject the record else we have to append it to test2 file. in file test1 around 100 single... (2 Replies)
Discussion started by: prashanth.spl
2 Replies
10. Shell Programming and Scripting
hello
how can i compare the content of two variables using the if or for loops.
I have 2 variables which was formed as result of commands pass into them but i want to now compare the 2 contents and echo where their is a match
for examples
variable1=`cat file2`
variable2=`cat file3`
if #... (5 Replies)
Discussion started by: sam4now
5 Replies