Hi,
I need to put this command in a batch shell.
sqlplus -s user/password @test.sql
and in the test.sql I have this command
select * from pbempl where pebempl_id = $1;
How I can pass the variable $1 from the batch shell???
Thanks (2 Replies)
How do I execute a batch command from a script, which "waits" with the next command until the first one has finished?
=======
A piece of my script looks like this:
#!/bin/sh
(...)
# run a long batch job:
./run_calculation.sh
# then rename resulting file:
mv output.dat backup.dat
(...)
... (7 Replies)
Hi friends!
I am having some simple shell script files to build postgresql database and all. Now i want to convert those scripts to dos batch scripts(to run on windows XP/2000/NT) because there is no need of unix emulation for latest release of postgresql. Please somebody help me. (1 Reply)
Here is the situation. We are a company that has been using a professional publishing system, the software is called "ProType". It runs on Solaris 2.4, however it is no longer supported and we are forced to move on to Adobe Indesign. We must convert all our documents (thousands) to InDesign format.... (4 Replies)
Hi,
When I run the below script in UNIX it's throwing syntax errors. Actually it's a windows batch script. Could anyone change the below Windows Batch script to UNIX shell script...
Script:
REM :: File Name : Refresh_OTL.bat
REM :: Parameters : %1 - Region
REM :: : %2 - Cube Type
REM ::... (5 Replies)
Hello everyone. I am new to shell scripting and i am required to create a shell script, the purpose of which i will explain below.
I am on a solaris server btw.
Before delving into the requirements, i will give youse an overview of what is currently in place and its purpose.
... (2 Replies)
Can anyone help me with a dos batch script to execute a shell script residing in an unix server. I am not able to use ssh.
Thanks in advance (2 Replies)
Hi,
This is my DOS Batch file.
@echo off
echo "Program Name :" %0
rem echo "Next param :" %1
echo "Next param :" "Username/Password"
echo "User Id :" %2
echo "User Name :" %3
echo "Request ID ... (4 Replies)
Hi team,
My requirement is to transfer pdf files from windows machine to unix server and then from that unix server we should sftp to another server.
I have completed the first part i.e From windows to using to unix server with the help of psftp.exe
code:
psftp user@host -pw password <... (1 Reply)
Hi All,
I have a small tool which is currently configured in batch scripts only. But my need is to run it on Linux platform, so I have been trying to convert a batch script to shell script.
below is the batch script:
@echo off
IF "%1"== "" GOTO ARGERR
REM UPDATE THESE PROPERTIES TO... (2 Replies)
Discussion started by: sukhdip
2 Replies
LEARN ABOUT DEBIAN
soundconverter
SOUNDCONVERTER(1) GNOME User's Manual SOUNDCONVERTER(1)NAME
soundconverter - convert sound files to other formats
SYNOPSIS
soundconverter [options] [file...]
DESCRIPTION
soundconverter is a simple tool for converting sound files to other formats. It can work from the command line, but is really meant for
interactive use in the GNOME environment.
OPTIONS -h, --help
Print out a usage summary.
-b, --batch
Convert in batch mode, from command line, without a graphical user interface. You can use this from, say, shell scripts.
-m, --mime-type arg
Set the output MIME type for batch mode. The default is audio/x-vorbis. Note that you probably want to set the output suffix as
well.
-q, --quiet
Be quiet. Don't write normal output, only errors.
-d, --debug
Print additional debug information.
-s, --suffix arg
Set the output filename suffix for batch mode. The default is .ogg. Note that the suffix does not affect the output MIME type.
-t, --tags
Show tags for input files instead of converting them. This indicates command line batch mode and disables the graphical user inter-
face.
-j, --jobs=
Force number of concurent conversions. Default is one per present CPU.
AUTHOR
Lars Wirzenius (liw@iki.fi). Gautier Portet (kassoulet@gmail.com) Uwe Bugla (uwe.bugla@gmx.de).
GNOME 2009-06-10 SOUNDCONVERTER(1)