Sponsored Content
Top Forums Shell Programming and Scripting Connect to Oracle in Windows XP from Linux HOST Post 302506028 by pravin27 on Friday 18th of March 2011 09:59:16 AM
Old 03-18-2011
Try like this,
Code:
#!/bin/sh

res=`sqlplus $user_name/$password@SID <<ENDOFSQL
     set feed off
     set head off
     set pages 0
     set verify off
     select sysdate from dual;
     exit
ENDOFSQL`

 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

How do I connect windows xp to Linux Red hat unix

I just bought a new pc and my unix software is installed on my old computer. I want to take the hard disk outta my old pc and then install it on my new pc so my new pc has 2 hard drives. now, after my pc new has 2 hard drives, one being unix the other being windows xp, i want to be able to... (7 Replies)
Discussion started by: TRUEST
7 Replies

2. Windows & DOS: Issues & Discussions

How to connect SFTP(Linux) from Windows DOS

I need to write a batch script for file transfer from SFTP to Windows system. SFTP is on Linux system. I kept this code in batch file and executing it.. but not working.. Even i tried from Command prompt like this "open sftp.host.com" but getting error. Can anyone help with the code and tell me how... (15 Replies)
Discussion started by: mohantmk
15 Replies

3. Shell Programming and Scripting

Edit .profile to connect to Oracle- Linux 2.6.9-89

Hi, I want to connect to sqlplus through unix. I got the command to do it. But I was getting error: ./executeSQL.ksh: sqlplus: not found Then when I googled I found that we have to include Oracle Client path in .profile file. I don't know how to do it. Also I don't have permissions to... (2 Replies)
Discussion started by: dips_ag
2 Replies

4. UNIX for Dummies Questions & Answers

Add Linux host to Windows domain

Hi, I want to know the commands for adding a linux host to windows active directory domain. Request you to please help. Thanks & Regards Arun (1 Reply)
Discussion started by: Arun.Kakarla
1 Replies

5. Emergency UNIX and Linux Support

Unable to connect to oracle in red hat linux

Hi Gurus, I have installed the oracle xpress 10g edition in my red hat linux and saw the message that it has been installed successfully ,but after that I started the database by going through application->database->start database and after that i open the sql prumt but when i tried to connect... (18 Replies)
Discussion started by: sanjay.login
18 Replies

6. UNIX and Linux Applications

Trying to connect to Oracle on Windows server

Hi, I am a newbie to Linux and still trying to learn. Here is my situation. I have a windows server where I installed Oracle DB. On the same Windows server, I have a VM running linux. I can ping Windows server IP successfully from linux. I installed sqlplus on linux and trying to access... (4 Replies)
Discussion started by: rach0701
4 Replies

7. Linux

Help!! trying to connect to linux SSH from windows putty client

Hi, i am trying to connect my Putty session on a windows box to a linux SSH, i have generated private and public key pairs using puttygen, i have set the public one to be in an OPENSSH format... and have put this in my authorized_keys file in linux, when i connect i get the following errors: ... (1 Reply)
Discussion started by: Jtyreman
1 Replies

8. Ubuntu

Steps to connect linux (Ubuntu) machine from windows 7

Hi, Can anyone give me the steps to connect ubuntu from windows7? Thanks (1 Reply)
Discussion started by: diehard
1 Replies

9. Shell Programming and Scripting

Connect to Windows from Linux using NetCat

Hi Need help to connect from Ubuntu to Windows using NetCat nc I can not get my script to send new-line Her is what I have tried(sleep 2 ; echo user ; sleep 1; echo pass; sleep 2; echo netstat) | nc -t 10.10.10.34 23 gives this outputÿý%ÿûÿûÿý'ÿýÿýÿûWelcome to Microsoft Telnet Service ... (1 Reply)
Discussion started by: Jotne
1 Replies

10. Windows & DOS: Issues & Discussions

Connect to Windows server from Linux

Hi, We are running Linux server and are required to connect to Windows server and fetch the files from windows server. How can i connect to Windows server from Linux? I have to do this with a automated shell script on Linux I appreciate your response. (4 Replies)
Discussion started by: reachmexyz
4 Replies
ZIPROXY(1)							      ZIPROXY								ZIPROXY(1)

NAME
ziproxy - a compressing HTTP proxy server SYNOPSIS
ziproxy <-d|-i|-k> [-c config_file] [-u user_name] [-g group_name] [-p pid_filename] [-h] DESCRIPTION
ziproxy is a forwarding, non-caching and compressing HTTP proxy server. Basically it squeezes images by converting them to lower quality JPEGs and compresses (gzip) HTML and other text-like data. OPTIONS
These programs follow the usual GNU command line syntax, with long options starting with two dashes (`-'). A summary of options is included below. -d, --daemon-mode Used when running in standalone mode. -i, --inetd-mode Used when running from inetd or xinetd. -k, --stop-daemon Stops daemon. -c, --config-file config_file Full path to ziproxy.conf file (instead of default one). -u, --user user_name Run daemon as the specified user. If unspecified and user_name is specified, uses user_name's group. -g, --group group_name Run daemon as the specified group. -p, --pid-file pid_filename Use the specified PID file for daemon control. -h, --help Display summarized help. SEE ALSO
ziproxylogtool(1) AUTHOR
ziproxy was written by Juraj Variny and Daniel Mealha Cabrita. This manual page was written by Marcos Talau <marcostalau@gmail.com>. ZIPROXY
April 17, 2010 ZIPROXY(1)
All times are GMT -4. The time now is 04:13 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy