01-27-2009
Double posting. Thread closed.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi guys
I have a shell script that executes sql statemets and sends the output to a file.the script takes in parameters executes sql and sends the result to an output file.
#!/bin/sh
echo " $2 $3 $4 $5 $6 $7
isql -w400 -U$2 -S$5 -P$3 << xxx
use $4
go
print"**Changes to the table... (0 Replies)
Discussion started by: magikminox
0 Replies
2. Shell Programming and Scripting
Hi,
Am very new to scripting and yet to start learning... I need a help to create a script which should run in my unix boxes to acheive the following...
1. Need to copy the hosts file and save it as hostDDMMYYY
2. Should comment a line which matches the string cmpd
3. Should add a new... (5 Replies)
Discussion started by: sarav
5 Replies
3. Shell Programming and Scripting
Hi everybody :( :confused: :D,
I need someone to help me! I have a file with 4 colunms and I would like to transform only the 4th colunm by multiplying this by a constant value (i.e 0.3047). I'm a new one using/creating basic scripts and I'm using linux redhat.
The file has the following... (1 Reply)
Discussion started by: Estanislau
1 Replies
4. Shell Programming and Scripting
Hi,
I am new to shell scripting and need help for below.
I would like to create the script which will stop service and copy the files and untar it in particular folder and again start the service.
But I want to know how can I create script which will copy the files till service start and... (2 Replies)
Discussion started by: manoj.solaris
2 Replies
5. Shell Programming and Scripting
say i have a script that says
cat > resultofsample.sh
#!/bin/bash
codes
but how can i exit it from here and save it? (8 Replies)
Discussion started by: garfish
8 Replies
6. Homework & Coursework Questions
first off let me introduce myself. My name is Eric and I am new to linux, I am taking an advanced linux administration class and we are tasked with creating a script to add new users that anyone can run, has to check for the existence of a directory. if the directory does not exist then it has... (12 Replies)
Discussion started by: pbhound
12 Replies
7. Shell Programming and Scripting
I am currently running 2 scripts to gather data for a 3rd script and would like to combine the 2 scripts into one. Having issues with the final output format.
Note cannot post URL so replaced the http stuff with (name) in the examples
All scripts contain #!/bin/ksh OS = Red Hat Enterprise... (0 Replies)
Discussion started by: pcpinkerton
0 Replies
8. Shell Programming and Scripting
I need to write a bash script that will generate another bash script. Furthermore, the child script is required to be hard-coded into the parent script. The parent script is not allowed to import the child script from an external file at run time. If you have a better solution than the... (3 Replies)
Discussion started by: LessNux
3 Replies
9. Programming
Hi
I have a bash script which takes parameters
sh /tmp/gdg.sh -b BASE-NAME -n 1 -s /source/data -p /dest/data/archive -m ARC
gdg.sh will scan the /source/data and will move the contents to /dest/data/archive after passing through some filters. Its working superb from bash
I have... (0 Replies)
Discussion started by: rakeshkumar
0 Replies
10. Shell Programming and Scripting
Hi All,
I have a script which intends to create as many variables at runtime, as the number of parameters passed to it. The script needs to save these parameter values in the variables created and print them
abc.sh
----------
export Numbr_Parms=$#
export a=1
while
do
export... (3 Replies)
Discussion started by: dev.devil.1983
3 Replies
LEARN ABOUT DEBIAN
jazipconfig
JAZIPCONFIG(8) System Manager's Manual JAZIPCONFIG(8)
NAME
jazipconfig - jazip(1) configuration tool.
SYNOPSIS
jazipconfig [--non-interactive]
DESCRIPTION
The jazipconfig script is a tool to easily build the /etc/jazip.conf file for the configuration of jazip(1)
OPTIONS
The optional --non-interactive command line parameter instructs jazipconfig to do what it can to build a /etc/jazip.conf file without
prompting the user. On Debian systems, the command is invoked this way by the jazip package post-installation script.
In this non-interactive mode, the script looks through /proc/scsi/scsi for detected Zip or Jaz devices. If it find any, it looks up
/etc/fstab to see if it can find already specified mount points for them. If (and only if) it finds mount points, it writes the device and
mount point to /etc/jazip.conf
INTERACTIVE USE
If no command line options are provided, jazipconfig runs interactively. In this case, it also looks through /proc/scsi/scsi for detected
Zip or Jaz devices. If it find any, it looks up /etc/fstab to see if it can find already specified mount points for them. Then it creates
a user menu which you can use to create the /etc/jazip.conf file.
NOTES
The first entry listed in /etc/jazip.conf is the default device used when jazip is called without an argument.
SEE ALSO
jazip(1), jazip.conf(5)
AUTHOR
Copyright (c) 1999 Peter S Galbraith <psg@debian.org>
This manual page by Peter S Galbraith <psg@debian.org> for the Debian GNU/Linux system (but may be used by others).
JAZIPCONFIG(8)