10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I want to make a config file which contain all the paths.
i want to read the config file line by line and pass as an argument on my below function.
Replace all the path with reading config path line by line and pass in respective functions.
how can i achieve that?
Kindly guide.
... (6 Replies)
Discussion started by: sadique.manzar
6 Replies
2. Shell Programming and Scripting
Dear Unix gurus,
We have a config shell script file which has 30 variables which needs to be passed to master unix shell script that invokes oracle database sessions. So those 30 variables need to go through the database sessions (They are inputs) via a shell script. one of the variable name... (1 Reply)
Discussion started by: dba1981
1 Replies
3. UNIX for Dummies Questions & Answers
Dear Unix gurus,
We have a config shell script file which has 30 variables which needs to be passed to master unix shell script that invokes oracle database sessions. So those 30 variables need to go through the database sessions (They are inputs) via a shell script. one of the variable name... (1 Reply)
Discussion started by: dba1981
1 Replies
4. Shell Programming and Scripting
hi
I need to update the value in config.txt value using shell script
example:
lets say a value in config.txt file is as SEQUENCE=1
after some iteration as the loop ends , the SEQUENCE should get update in the config.txt file with a new value of SEQUENCE=2.
also , can anyone please help me... (7 Replies)
Discussion started by: ravidwivedi2288
7 Replies
5. Shell Programming and Scripting
Hello,
You might help a newbie like me, I am trying to run a .sh inside my shell script. After running that I need to execute below commands. Here's how my scripts looks like. Hope you can help:
#!/bin/sh
cd $ORACLE_HOME/owb/bin/unix
./OMBPlus.sh ---> goes to OMB+> directory
cd... (10 Replies)
Discussion started by: aderamos12
10 Replies
6. Shell Programming and Scripting
Hi
I am calling a PLSQL procedure inside a shell scipt.
How to access out paramters of this procedure inside the mail shell script.
I am using below peiece of code.
echo " inside PKG validation"
`sqlplus -s login/password@database <<EOF
set heading off
set... (6 Replies)
Discussion started by: karnatis
6 Replies
7. Shell Programming and Scripting
Hi I am new to shell scripting. There is a requirement to write a shell script to meet follwing needs.Prompt reply shall be highly appreciated.
script that will compare two config files and produce 2 outputs - actual config file and a report indicating changes made.
OS :Susi linux ver 10.3.
... (4 Replies)
Discussion started by: muraliinfy04
4 Replies
8. Shell Programming and Scripting
I need to edit a config file using shell script. i.e., Search with the 'key' string and edit the 'value'.
For eg: below is what I have in the config file "configfile.cfg".
Key1=OldValue1
Key2=OldValue2
I want to search for "Key1" and change "OldValue1" to "NewValue1"
Thanks for your... (7 Replies)
Discussion started by: rajeshomallur
7 Replies
9. Shell Programming and Scripting
How do i use a config.txt to recursively pass a set of variables to a shell script
eg my config.txt looks like this :
path=c://dataset/set1
v1= a.bin
v2= b.bin
path=c://dataset/set2
v1= xy.bin
v2= abc.bin
..................
and so on .
and my testscript : (2 Replies)
Discussion started by: pradsh
2 Replies
10. Shell Programming and Scripting
hi
I wanted to access the C program variables in shell script.
This script is called from the same C program.
What are the ways in which i can access variables
thankx (3 Replies)
Discussion started by: bhakti
3 Replies
SCHROOT-SCRIPT-CONFIG(5) Debian sbuild SCHROOT-SCRIPT-CONFIG(5)
NAME
schroot-script-config - schroot chroot setup script configuration
DESCRIPTION
schroot uses scripts to set up and then clean up the chroot environment. These scripts may be customised using the script-config key in
/etc/schroot/schroot.conf. This key specifies a file which the setup scripts will source when they are run. The file is a Bourne shell
script, and in consequence may contain any valid shell code, in addition to simple variable assignments. This will, for example, allow be-
haviour to be customised according to the specific chroot type or name.
This file is deprecated, but is still used if present; it will be obsoleted and removed in a future release. All the settings in this file
are now settable using configuration keys in schroot.conf, as detailed below. Existing configuration should be modified to use these keys
in place of this file.
ENVIRONMENT
The environment is the same as for all setup scripts, described in schroot-setup(5).
VARIABLES
The following variables may be set to configure setup script behaviour. Note that new variables may be added in future releases. Third-
party extensions to schroot which add their own setup scripts may add additional variables which are not documented here; consult the
extension documentation for further details.
SETUP_COPYFILES
A file containing a list of files to copy into the chroot (one file per line). The file will have the same absolute location inside
the chroot. Note that this is settable using the setup.copyfiles key.
SETUP_FSTAB
The filesystem table file to be used to mount filesystems within the chroot. The format of this file is the same as for /etc/fstab,
documented in fstab(5). The only difference is that the mountpoint path fs_dir is relative to the chroot, rather than the root.
Note that this is settable using the setup.fstab key. Also note that mountpoints are canonicalised on the host, which will ensure
that absolute symlinks point inside the chroot, but complex paths containing multiple symlinks may be resolved incorrectly; it is
advised to not use nested symlinks as mountpoints.
SETUP_NSSDATABASES
A file listing the system databases to copy into the chroot. The default databases are 'passwd', 'shadow', 'group', 'services',
'protocols', 'networks', and 'hosts'. 'gshadow' is not yet copied by default, due to not being supported by all but the most recent
version of the GNU C library. The databases are copied using getent(1) so all database sources listed in /etc/nsswitch.conf will be
used for each database. Note that this is settable using the setup.nssdatabases key.
AUTHORS
Roger Leigh.
COPYRIGHT
Copyright (C) 2005-2012 Roger Leigh <rleigh@debian.org>
schroot is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the
Free Software Foundation, either version 3 of the License, or (at your option) any later version.
SEE ALSO
sbuild(1), schroot(1), sh(1), schroot.conf(5), schroot-setup(5).
Version 1.6.4 27 Oct 2012 SCHROOT-SCRIPT-CONFIG(5)