11-02-2010
I hope Oracle is well coded enough not to be disturbed by the order in which parameters appear in the initSID.ora !
10 More Discussions You Might Find Interesting
1. 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
2. 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
3. Shell Programming and Scripting
Hello Lads!
Climbing the shell scripting learning curve, i am faced with yet another obstacle! Here's the challenge in front of me :
1) I have 15 servers in a cluster,all of them have the same config files by name : /home/apps/xrm/App_B.cfg
2) The developers change the entries in the... (5 Replies)
Discussion started by: rdlover
5 Replies
4. Shell Programming and Scripting
I'm writing a shell script. I want to put the variables in a separate config files and use those inside my script.
e.g. the config file (temp.conf)will have the values like
mapping=123
file_name=xyz.txt
I want to access these variables in temp.conf(i.e. mapping and file_name) from inside the... (7 Replies)
Discussion started by: badrimohanty
7 Replies
5. Shell Programming and Scripting
Hi,
I want to use a config file as the base file and parse over the values of country and city parameters in the config file and generate separate config files as explained below.
I will be using the config file as mentioned below:
(config.txt)
country:a,b
city:1,2
type:b1... (1 Reply)
Discussion started by: clazzic
1 Replies
6. Shell Programming and Scripting
sh script file1 filea fileb filec ................filez. >>output1 & output2 &output3
file1
z10 1873 1920 z_number1_E59
z10 2042 2090 z_number2_E59
Z22 2476 2560 z_number3_E59
Z22 2838 2915 z_number4_E59
z1 1873 1920 z_number1_E60
z1 ... (9 Replies)
Discussion started by: stateperl
9 Replies
7. Red Hat
Hi folks,
I am trying to configure Apache webserver and also a virtual host inside this webserver.
For Global server config: /var/www/html/index.html
For virtual host config: /var/www/virtual/index.html
Both client10 & www10 are pointing to 192.168.122.10 IP address.
BUT, MY... (1 Reply)
Discussion started by: freebird8z
1 Replies
8. 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
9. Windows & DOS: Issues & Discussions
Hi Team,
My new build configuration always looking for the files from the build where i copied from.
please help me to resolve this.
I am using Visual studio 2008.It has Qt 4.8. plugins,qml,C++ development
I created new debug_new build configuration with additional preprocessor from the... (1 Reply)
Discussion started by: SA_Palani
1 Replies
10. 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
LEARN ABOUT LINUX
apt-config
APT-CONFIG(8) APT APT-CONFIG(8)
NAME
apt-config - APT Configuration Query program
SYNOPSIS
apt-config [-hv] [-o=config string] [-c=file] {[shell] | [dump]}
DESCRIPTION
apt-config is an internal program used by various portions of the APT suite to provide consistent configurability. It accesses the main
configuration file /etc/apt/apt.conf in a manner that is easy to use by scripted applications.
Unless the -h, or --help option is given one of the commands below must be present.
shell
shell is used to access the configuration information from a shell script. It is given pairs of arguments, the first being a shell
variable and the second the configuration value to query. As output it lists a series of shell assignments commands for each present
value. In a shell script it should be used like:
OPTS="-f"
RES=`apt-config shell OPTS MyApp::options`
eval $RES
This will set the shell environment variable $OPTS to the value of MyApp::options with a default of -f.
The configuration item may be postfixed with a /[fdbi]. f returns file names, d returns directories, b returns true or false and i
returns an integer. Each of the returns is normalized and verified internally.
dump
Just show the contents of the configuration space.
OPTIONS
All command line options may be set using the configuration file, the descriptions indicate the configuration option to set. For boolean
options you can override the config file by using something like -f-,--no-f, -f=no or several other variations.
-h, --help
Show a short usage summary.
-v, --version
Show the program version.
-c, --config-file
Configuration File; Specify a configuration file to use. The program will read the default configuration file and then this
configuration file. If configuration settings need to be set before the default configuration files are parsed specify a file with the
APT_CONFIG environment variable. See apt.conf(5) for syntax information.
-o, --option
Set a Configuration Option; This will set an arbitrary configuration option. The syntax is -o Foo::Bar=bar. -o and --option can be
used multiple times to set different options.
SEE ALSO
apt.conf(5)
DIAGNOSTICS
apt-config returns zero on normal operation, decimal 100 on error.
BUGS
APT bug page[1]. If you wish to report a bug in APT, please see /usr/share/doc/debian/bug-reporting.txt or the reportbug(1) command.
AUTHORS
Jason Gunthorpe
APT team
NOTES
1. APT bug page
http://bugs.debian.org/src:apt
Linux 29 February 2004 APT-CONFIG(8)