LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-28-2015, 07:36 AM   #1
mahendra13
LQ Newbie
 
Registered: Jun 2015
Posts: 4

Rep: Reputation: Disabled
Thumbs up how to connect to sqlplus from my linux box in my windows 7 using bash script??


hello folks

can any one help me please , i had windows7 on my mechine with installations of both linux box and sqlplus in my mechine . i want to connect to my sqlplus and insert some records using bash scripting,so how how i can do that

any replys should be appriciated


thanks in advance
mahi...
 
Old 07-29-2015, 07:02 AM   #2
grail
LQ Guru
 
Registered: Sep 2009
Location: Perth
Distribution: Manjaro
Posts: 10,007

Rep: Reputation: 3191Reputation: 3191Reputation: 3191Reputation: 3191Reputation: 3191Reputation: 3191Reputation: 3191Reputation: 3191Reputation: 3191Reputation: 3191Reputation: 3191
I think maybe we need a little further information?

1. Is sqlplus installed on windows 7 or linux?

2. Is linux in a virtual machine?

3. Where is the database you are connecting to? (ie. on one of the machines already mentioned or on a server?)

After answering some of these, you would then need to show what you have done in an attempt to solve this problem and where you are stuck?
 
Old 07-29-2015, 08:17 AM   #3
mahendra13
LQ Newbie
 
Registered: Jun 2015
Posts: 4

Original Poster
Rep: Reputation: Disabled
hello grail

sqlplus installed on windows 7 and linux is a virtual machine on windows7
both sqlplus and linux virtual machines are installed on windows7 in the same machine

thanks
mahi
 
Old 07-29-2015, 09:26 AM   #4
grail
LQ Guru
 
Registered: Sep 2009
Location: Perth
Distribution: Manjaro
Posts: 10,007

Rep: Reputation: 3191Reputation: 3191Reputation: 3191Reputation: 3191Reputation: 3191Reputation: 3191Reputation: 3191Reputation: 3191Reputation: 3191Reputation: 3191Reputation: 3191
You still did not advise where the database is you are connecting to.

Also, if no sqlplus on the linux machine then the bash script would not be able to use it.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Bash script to insert into SQLPlus ampapa Programming 2 11-20-2014 09:30 AM
Need to connect to linux box from windows using Putty sneakyimp Linux - Newbie 2 01-14-2013 01:11 PM
Can't connect to Linux box from one windows machine keimdf Linux - Networking 1 01-04-2007 09:10 PM
Cannot Connect from windows xp to linux slackware box swatward Linux - Networking 0 11-07-2005 06:01 PM
Linux box calling a batch script on a windows box to run? Is it possible? joelhop Programming 8 05-17-2004 04:49 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:56 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration