i want to provide the output of df -k to insert scirpt in oracle

Posted on 2007-11-25
Medium Priority
Last Modified: 2007-12-13
i want a script for output of df -k into oracle table. i need a scirpt for the df -k to generate insert script so that i can run in oracle some thing like .

insert into table aaaa values ('-------output of df -k-------');

Question by:rpmindtools
  • 2
LVL 48

Expert Comment

ID: 20346737
Do you want the output of dk -k in a single column or multiple columns?

Author Comment

ID: 20347008
Single Column
LVL 48

Accepted Solution

Tintin earned 2000 total points
ID: 20347847
Something like:


sqlplus -s / <<EOF
insert into table aaaa values `df -k`

Featured Post

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

This Windows batch file is useful for organizing image files from a digital camera or other source, but can have many other uses.  It simply renames the file(s) to match their create date.  For example, if you took a picture today at 1:40pm and the …
Utilizing an array to gracefully append to a list of EmailAddresses
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…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

597 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