Sponsored Content
Top Forums UNIX for Beginners Questions & Answers Accessing Isql command via VI editor Post 302975338 by Xworks on Saturday 11th of June 2016 08:16:25 AM
Old 06-11-2016
Thanks a lot! That worked perfectly. Smilie
however this time my script for monitoring DB file system utilization is the new problem. when i enter isql, i just simply paste the "long script" (when i do this manually) but this time it's not executing automatically. Seems vi is still reading it as Unix script whereas should be in isql.

any advise on this?

---------- Post updated at 08:16 PM ---------- Previous update was at 07:25 PM ----------

Hi RudiC

I solved my issue above, just echo the whole 'long script'. My problem is now solved.

Thank you so much for your help! Smilie
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

vi editor - ex Command help

:1,10 s/yes/no/g this ex command will substitute yes with no everytime it is found within the first 10 lines of the file. :s/yes/no/g this ex command will substitute yes with no everytime it is found for the line where the cursor is on my question is how could this substitution be... (4 Replies)
Discussion started by: theDirtiest
4 Replies

2. UNIX for Dummies Questions & Answers

editor command

I want to copy lines say from 2-5 to line after 20 in vi editor. Can I achieve this in a single command in vi editor. Thanks. (2 Replies)
Discussion started by: tselvanin
2 Replies

3. UNIX for Dummies Questions & Answers

running isql 'ace' report from command line

Hi, My systems manager wrote some reports using isql's 'ace' reporting program. He wants me to run these monthly from cron. Can this be done? can I run these reports from the command line(from a shell script)? Thanks! (0 Replies)
Discussion started by: pugsly62
0 Replies

4. Shell Programming and Scripting

passing database password to isql command in shell script

Hi, I need to connect to DB through my shell script. but I dont want to hardcode my db password in the script. Is there a way to do it? Thanks ---------- Post updated at 07:42 PM ---------- Previous update was at 04:54 PM ---------- :(Guys..please help me with this:( (1 Reply)
Discussion started by: agrawal.prachi
1 Replies

5. Red Hat

isql command not working in Linux 64bit

I am using Linux RHEL5 64 bit and installed oracle 11g. I want to check ODBC connection , i had modified odbc.ini file when i use this command -isql I am getting following error . bash: isql: command not found Kindly help (5 Replies)
Discussion started by: roopalidalvi231
5 Replies

6. Red Hat

Error while executing isql command on RHEL4

Hi, I am using RHEL4 and Oracle11g , my application requires odbc connection hence I modified ODBC.ini file and when I exceute isql commande I got the following error. isql: error while loading shared libraries: /opt/nastel/apwmq/odbc/lib/libodbc.so.1: requires glibc 2.5 or later dynamic... (1 Reply)
Discussion started by: roopalidalvi231
1 Replies

7. Red Hat

Error while executing isql command on RHEL4

Hi, I am using RHEL4 and Oracle11g , my application requires odbc connection hence I modified ODBC.ini file and when I exceute isql commande I got the following error. isql: error while loading shared libraries: /opt/nastel/apwmq/odbc/lib/libodbc.so.1: requires glibc 2.5 or later dynamic... (4 Replies)
Discussion started by: roopalidalvi231
4 Replies

8. AIX

FTP connection refused from text editor while accessing AIX server .

HI , I'm facing the FTP connection refused from text editor while accessing AIX server .It showing the messege "can't create ftp connection connectin refused".Though it is accessible from putty . i'm using aix version 6 . Can any one let me know the seetings needs to be made so that i... (2 Replies)
Discussion started by: rmkganesh
2 Replies

9. Shell Programming and Scripting

How to get the output of a ISQL command in a variable?

I am trying to run a query which returns a sum value(a number). I want to get it in a variable so that i can refer to that variable in different places. when i am running the following command variable=`isql -Uuser -Sserver -Ppassword 1> select sum(count(*)) from xyz..abc where clm_id... (2 Replies)
Discussion started by: Sharma331
2 Replies

10. Shell Programming and Scripting

How to handle NULL value output from ISQL command?

I am using ISQL command in ksh script. Suppose if i get NULL value from the query which i run,how can i handle it? I am getting a NULL result set and the following error is coming. ############### output of isql command for getting the sum of JEs ################ ----------- NULL... (4 Replies)
Discussion started by: Sharma331
4 Replies
DAILYSTRIPS-UPDATE(1)					      General Commands Manual					     DAILYSTRIPS-UPDATE(1)

NAME
dailystrips-update - download updated dailystrips definitions SYNOPSIS
dailystrips-update [OPTIONS] DAYS WARNING
This script is intended to use under the assumption that the development version of strips.def is the latest and best. Unfortunately, at the time of this writing (August, 2007) upstream development seems to have ceased, so using this script will likely result in a more out- of-date strips definiton than is included in the distribution. WARNING
Due to the above, as of November 2009, dailystrips-update has been neutered to exit immediately on execution, and it is expected that it will be removed in a future version of this package. DESCRIPTION
The dailystrips-update script is provided to automatically retrieve updated strip definitions from a central server, eliminating the need to manually download and install new versions of the entire program. It is recommened that the dailystrips-update script be run before each execution of the main dailystrips program. The dailystrips-update script has provisions to only check for updates if the current file has reached a certain age, which maximizes efficiency and should allow users to run the update script before each execution of dailystrips without overtaxing the update server. USAGE
Operation is straightforward. Simply execute dailystrips-update and the updated definitions will be saved to ~/.dailystrips-updates.def, which will automatically be loaded by the main dailystrips program. OPTIONS
-q, --quiet Turn off progress messages -v, --verbose Turn on extra progress information, overrides -q --proxy host:port Use specified HTTP proxy server (overrides environment proxy, if set) --proxyauth user:pass Set username and password for proxy server --noenvproxy Ignore the http_proxy environment variable, if set --retries NUM When downloading items, make NUM attempts instead of only once --updates FILE Save updates to FILE instead of ~/.dailystrips-updates.def --minage NUM Skip downloading updates if local file is less than NUM seconds old -V, --version Print version number -h, --help Show summary of options SEE ALSO
dailystrips(1) AUTHOR
This manual page was written by Rene Weber <rene_debmaint@public.e-mail.elvenlord.com>, for the Debian GNU/Linux system (but may be used by others). June 25, 2004 DAILYSTRIPS-UPDATE(1)
All times are GMT -4. The time now is 08:21 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy