01-06-2012
I dont want to sound stupid with this question, but where do you want me to set it in the code that I posted?
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
hi,
I am trying to automate the compilation of procedures stored in .sql files in Unix. Is there any way in which we can sho err if there errors are raised in the compilation?
I am using the following code to connect to the sqlplus
sqlplus ${SQL_USER}/${SQL_PASSWORD} (5 Replies)
Discussion started by: silas.john
5 Replies
2. Shell Programming and Scripting
All,
I have a shell script which parses the /var/adm/messages file for errors every 15 minutes as a cron job. The script runs at 01, 16, 31, and 46 minutes every hour. The problem is if the error is encountered any time during the beginning of hour I can get paged three times. I would like to... (2 Replies)
Discussion started by: bubba112557
2 Replies
3. Shell Programming and Scripting
hey watsup guys
i am new in the shell script world. so i need help fom you guys, i have written these two codes and they both give the same errors( expr : syntax error).
Code 1 :
#! /bin/sh
# count1 appends an increment to a file 200 times
# note that a file called numbers must be... (5 Replies)
Discussion started by: surubi_abada
5 Replies
4. Shell Programming and Scripting
Hello, I was hoping for a second pair of eyes or a little bit of help figuring out what my error is in a script. I did some searching in the forums and didn't find anything so please forgive me if it a similar problem has been discussed before.
My script accepts normal user arguments; however,... (2 Replies)
Discussion started by: Jackinthemox
2 Replies
5. Shell Programming and Scripting
Hi,
I have a bash script which calls a few "make". I would like to know whether the makefile failed with any errors. How do I do that in the script?
Thanks,
S (2 Replies)
Discussion started by: suryaemlinux
2 Replies
6. Emergency UNIX and Linux Support
I want to delete archivelog files that has been archived and applied from primary database
to standby database. This piece of script is working in Linux server. However, I copy it to
Unix server with tiny modification. It won't work and generate the error message. I have checked
code carefullt... (8 Replies)
Discussion started by: duke0001
8 Replies
7. UNIX for Dummies Questions & Answers
The script below fails with the following error messages:
gzip: invalid option -- 'w'
Try `gzip --help' for more information.
mysqldump: Got errno 32 on write
cp: invalid option -- 'w'
Try `cp --help' for more information.
rm: invalid option -- 'w'
Try `rm --help' for more information.
... (1 Reply)
Discussion started by: ANNACTION
1 Replies
8. UNIX for Dummies Questions & Answers
Hi All,
I am calling a series of shell scripts via CRON so everything is running as root. However, in my error log file I am seeing the following errors. Please can anyone offer any advise as to the possible causes and solution to prevent the errors from appearing.
The Error 1227 seems to... (2 Replies)
Discussion started by: daveu7
2 Replies
9. Shell Programming and Scripting
I have a shell script which select total count from a table and use its value in a if condition like below
connect_string="username/password@tnsname"
tot=`sqlplus -s $connect_string << EOF
set echo off
set feedback off
set head off
select count(*) from test_table;
EOF
`
if
then
echo... (2 Replies)
Discussion started by: vel4ever
2 Replies
10. Shell Programming and Scripting
Hello All,
i am facing difficulty in validating the values,
kindly help me in resolving the issue.
Thanks a lot in advance.
-Chandra
Script:Test.sh
#! /bin/sh
# ***************************************************************************
# Function to display help
function usage()... (1 Reply)
Discussion started by: duddukuri
1 Replies
LEARN ABOUT OPENSOLARIS
gnome-sound-recorder
gnome-sound-recorder(1) User Commands gnome-sound-recorder(1)
NAME
gnome-sound-recorder - record and play back soundtracks
SYNOPSIS
gnome-sound-recorder [--file=filename] [--play=filename] [--record=filename] [--version]
DESCRIPTION
gnome-sound-recorder provides a graphical user interface to record soundtracks and play these back on your computer. You can use the Pref-
erences dialog to configure several recording options. For more details, press the F1 key to display the online help.
You can also launch an audio mixer using the File menu. The mixer used in GNOME for the Solaris operating environment is sdtaudiocon-
trol(1).
gnome-sound-recorder also uses sox(1) to play back the recorded soundtrack.
OPTIONS
The following options are supported:
--file=filename Open the specified audio file. You must click on the Play button to start playing the audio file. You can also use -f to
specify this option.
--play=filename Open the specified audio file and start playing the file. You can also use -p to specify this option.
--record=filenamSave the sound being played on your computer into the specified file. You can also use -r to specify this option.
--version Display the version number.
EXAMPLES
Example 1: Opening a File With gnome-sound-recorder
example% gnome-sound-recorder -f filename.wav
Example 2: Saving the Recorded Sound to a File
example% gnome-sound-recorder -r filename.wav
ENVIRONMENT VARIABLES
See environ(5) for descriptions of the following environment variables:
HOME User's home directory.
EXIT STATUS
The following exit values are returned:
0 Application exited successfully
>0 Application exited with failure
FILES
The following files are used by this application:
/usr/bin/gnome-sound-recTheecommand-line executable for the application.
/usr/dt/bin/sdtaudiocontThe command-line executable for the mixer used in GNOME for the Solaris operating environment.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWgnome-sound-recorder |
+-----------------------------+-----------------------------+
|Interface stability |External |
+-----------------------------+-----------------------------+
SEE ALSO
sdtaudiocontrol(1), sox(1), gst-std-options(5)
Latest version of the GNOME Desktop User Guide for your platform.
NOTES
Written by Ghee Teo, Sun Microsystems Inc., 2003, 2004.
SunOS 5.10 31 Aug 2004 gnome-sound-recorder(1)