Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

How to connect ORACLE and unix

Posted on 1998-11-17
3
Medium Priority
?
386 Views
Last Modified: 2010-04-21
please tell me how to create file that is the search result of
sql(oracle) in shell.
and how to use awk and sed to reedit it ??

thank you!
0
Comment
Question by:alcatelld
3 Comments
 

Author Comment

by:alcatelld
ID: 2007905
Edited text of question
0
 
LVL 2

Expert Comment

by:seedy
ID: 2007906
Use the SQL*Plus commands
spool <filename>  - to start spooling
spool off  - to stop spooling.
Use this file with awk and sed!
0
 
LVL 3

Accepted Solution

by:
braveheart earned 100 total points
ID: 2007907
Then see the man pages for nawk because they are far more understandable than those for awk. The sed man pages are not too helpful so why not visit the seder's grab bag at http://www.wollery.demon.co.uk/. nawk is likely to be more use for table output, though.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Let's say you need to move the data of a file system from one partition to another. This generally involves dismounting the file system, backing it up to tapes, and restoring it to a new partition. You may also copy the file system from one place to…
In tuning file systems on the Solaris Operating System, changing some parameters of a file system usually destroys the data on it. For instance, changing the cache segment block size in the volume of a T3 requires that you delete the existing volu…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Suggested Courses
Course of the Month9 days, 10 hours left to enroll

879 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question