03-29-2012
Add a set -x at the start of the script and redirect/save the output to some text file. Then search for "=104" and "=1700". Maybe there is an incorrect substitution or some syntax error - whatever, you will find it. If you get no idea of the lines where the error is found, post them using code tags of course.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi All,
When I am trying to execute the below shell script I got this error message.
script
==========
#!/bin/bash
/usr/java/jdk1.5.0_10/bin/java - classpath /var/lib/asterisk/agi-bin/mysql-connector-java-3.0.15-ga-bin.jar/:
/var/lib/asterisk/agi-bin/jarfiles:... (4 Replies)
Discussion started by: ajayyaduwanshi
4 Replies
2. Shell Programming and Scripting
Hi,
I have a piece of shell script which will connect to mysql database and execute a load statement(which will load datas in a file to the database table).The code is working and the data is in the tables.
Now my requirement is, i need to grab the output from the load statement... (4 Replies)
Discussion started by: DILEEP410
4 Replies
3. Shell Programming and Scripting
Hi,
I have written a shell script for oracle on unix that does a df for specific files, and then will display the size, Avail, % used and the difference from yesterday to today.
I have been asked to place it on some MySql databases that run onn unix and linux also, but when I try to run them I... (2 Replies)
Discussion started by: cat55
2 Replies
4. Shell Programming and Scripting
Hi Gurus,
I've a find command that gets the list of files from a source directory where the extension is not html, xml, jsp, shtml or htaccess. The below find command runs fine from the command prompt or in a shell script. I need to eventually run it in a PERL script and am getting the... (5 Replies)
Discussion started by: voorkey
5 Replies
5. Shell Programming and Scripting
Hi,
I have following shell script code :
------------------------------------------------------------------
#!/bin/bash
SCRIPTS_DIR="/scriptsDir1"
# tables login/password
APIL_USER="uname/pswd"
I2_USER="uname/pswd"
# Database
DB="db1"
cd "$SCRIPTS_DIR/scriptsDir2"
sqlplus... (2 Replies)
Discussion started by: Chaitrali
2 Replies
6. Linux
Hi,
I have following shell script code :
------------------------------------------------------------------
#!/bin/bash
SCRIPTS_DIR="/scriptsDir1"
# tables login/password
APIL_USER="uname/pswd"
I2_USER="uname/pswd"
# Database
DB="db1"
cd "$SCRIPTS_DIR/scriptsDir2"
sqlplus... (1 Reply)
Discussion started by: Chaitrali
1 Replies
7. Shell Programming and Scripting
Hi to all guyz ,
As i'm new to Shell scripting i was been working out to write a shell script for mysql Replication for multiple slave master architecture.i have done the process up with a script of 200 lines but still there are some things which can make my script more effective so i want your... (5 Replies)
Discussion started by: kgrvamsi
5 Replies
8. Shell Programming and Scripting
Hi,
Is there any debugging tool for Unix Shell Script like we have gdb in C/C++?
Also please let me know how to close the thread is it automatic or we have to close it manually.
Thanks and Regards (1 Reply)
Discussion started by: diehard
1 Replies
9. Shell Programming and Scripting
Guys,
when i am executing the following script I am getting following error.
-bash: test.sh: command not found
$ test.sh -- script name
#! /bin/bash
echo " Job started........"
CURRENTDIR=`pwd`
exit 0
thanks
Please view this link: How to use ... tags (2 Replies)
Discussion started by: skatpally
2 Replies
10. Shell Programming and Scripting
Hi Gurus,
The following script fails with the error 'command not found' while trying to execute. As the error indicates, the script fails at ROW#30 where the EOF is defined for SQL statement.
It appears that the script is trying execute the lines in the SQL output written to ta spool file.... (7 Replies)
Discussion started by: svajhala
7 Replies
LEARN ABOUT DEBIAN
notmuch-dump
NOTMUCH-DUMP(1) General Commands Manual NOTMUCH-DUMP(1)
NAME
notmuch-dump - Creates a plain-text dump of the tags of each message.
SYNOPSIS
notmuch dump [ <filename> ] [--] [ <search-term>...]
DESCRIPTION
Dump tags for messages matching the given search terms.
Output is to the given filename, if any, or to stdout. Note that using the filename argument is deprecated.
These tags are the only data in the notmuch database that can't be recreated from the messages themselves. The output of notmuch dump is
therefore the only critical thing to backup (and much more friendly to incremental backup than the native database files.)
With no search terms, a dump of all messages in the database will be generated. A "--" argument instructs notmuch that the remaining argu-
ments are search terms.
See notmuch-search-terms(7) for details of the supported syntax for <search-terms>.
SEE ALSO
notmuch(1), notmuch-config(1), notmuch-count(1), notmuch-hooks(5), notmuch-new(1), notmuch-reply(1), notmuch-restore(1), notmuch-search(1),
notmuch-search-terms(7), notmuch-show(1), notmuch-tag(1)
Notmuch 0.13.2 2012-06-01 NOTMUCH-DUMP(1)