10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have two files. One is consisting of one line, with data separated by spaces and each number appearing only once.
The other is consisting of one column and multiple lines which can have some numbers appearing more than once.
It looks something like this:
file 1:
20 700 15 30
file2:
10... (10 Replies)
Discussion started by: maya3
10 Replies
2. Shell Programming and Scripting
I have a file with contents like
host1.domain.com:9090,host2.domain.com:9090,host3.domain.com:9090
I am looking for such an operation so that, the output should be
host1.domain.com:9090
host2.domain.com:9090
host3.domain.com:9090
And also, if the number of entries are more, the... (1 Reply)
Discussion started by: anil510
1 Replies
3. Shell Programming and Scripting
Hi,
Can anyone help me that, How to see the table fields in Oracle database through shell script(ksh).
I have tried with the following:
sqlplus -s $user/$passwd@$sid << SQL >> session.log
select * from Testtab.sql
I'm not able to see anything..
Thanks (4 Replies)
Discussion started by: zxcjggu708
4 Replies
4. Shell Programming and Scripting
Hi,
I have been working on a punch of codes and I got to a problem I hope to get help on. I have some files that I want to work with but the folder has other files in it. For example: The folder contains these files:
path to files: /home/distribution/
ls:
b.10; b.11; b.12; b.20; b.222;... (2 Replies)
Discussion started by: iconig
2 Replies
5. Shell Programming and Scripting
Hi Team,
I am searching through log file using
grep -i '<search_key>' <file_name>|awk '{print $18}'
example outputs are
I would like to select the data between and no other as I am getting some junk characters sometimes which chaging the o/p display format.
Kindly assist.... (8 Replies)
Discussion started by: sanjaydubey2006
8 Replies
6. Shell Programming and Scripting
Hi! I've a file as shown below
1 hello
2 how
5 are
3 you
4 hello
5 world
Every statement consists of line numbers at the beginning which are not in sequence.
Now I want to select all the line numbers which are present between the line numbers specified by the user..
For example... (1 Reply)
Discussion started by: abk07
1 Replies
7. UNIX for Dummies Questions & Answers
Hi,
I would like to get the specific line from the file taking specific coloumn as reference.
Thanks and Regards (1 Reply)
Discussion started by: kkarthik_kaja
1 Replies
8. Shell Programming and Scripting
Hello ,
i got text file like that'
C:\Users\Public\Pictures\Sample Pictures\aa.jpg
C:\Users\Public\Pictures\Sample Pictures\thumb.jpg
C:\Users\Public\Pictures\vv\cc.jpg
C:\Users\Public\Pictures\Sample Pictures\ee.jpg
C:\Users\Public\aa\Sample Pictures\cvswsr.jpg... (1 Reply)
Discussion started by: davidkhan
1 Replies
9. UNIX for Dummies Questions & Answers
:confused:
Good Day,
I have this script that gets the archive names and the time it applies based on the alert log. The application of archives are of daily basis and usually many so having this script helps my job become easier.
My problem is that when i get all the time stamps and... (1 Reply)
Discussion started by: ownins
1 Replies
10. Shell Programming and Scripting
hi..i have a file like the following
Application handle = 2604
Application status = UOW Waiting
Application handle = 2384
Application status = UOW Waiting
Application handle ... (6 Replies)
Discussion started by: dareman123
6 Replies