Sponsored Content
Full Discussion: bash and its config file
Operating Systems Solaris bash and its config file Post 302069120 by reborg on Wednesday 22nd of March 2006 06:43:47 PM
Old 03-22-2006
Most often it's .bashrc, but it you look at the man pge it gives you the exact order in which the files are read.
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Extracting data from text file based on configuration set in config file

Hi , a:) i have configuration file with pattren <Range start no>,<Range end no>,<type of records to be extracted from the data file>,<name of the file to store output> eg: myfile.confg 9899000000,9899999999,DATA,b.dat 9899000000,9899999999,SMS,a.dat b:) Stucture of my data file is... (3 Replies)
Discussion started by: suparnbector
3 Replies

2. UNIX for Dummies Questions & Answers

bash: cron-config: command not found - PLEASE HELP ME!!

Hello All, I have installed Cygwin on Windows XP and working with some Shell scripting work, I have needed to schedule my script using the cornetab and whatever commands such as "cron", "cron-config" are not working in my cygwin shell, I re-installed the Cygwin but the same problem is with... (2 Replies)
Discussion started by: sriya
2 Replies

3. Web Development

bash script editing my apache config files

okay i'm going to try to say this uber-simple: I use dropbox (file-sync service). in order for dropbox sync files, they must be its children eg. somewhere under /home/jzacsh/Dropbox]. I want to now use it to keep my development files in sync across my machines: easy: just move my dev. files... (2 Replies)
Discussion started by: jzacsh
2 Replies

4. Shell Programming and Scripting

parsing config file to create new config files

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

5. Shell Programming and Scripting

Shell script that will compare two config files and produce 2 outputs 1)actual config file 2)report

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

6. Shell Programming and Scripting

Bash parameter expansion from a config file

Hi - I am trying to do a simple config file with known variable names in it, e.g.: contents of config file a.conf: -a -b $work -c $host simplified contents of bash script file: work='trunk' host='alaska' opts=$(tr '\n' ' ' < a.conf) opts="$opts $*" mycommand $opts arg1 arg2 The... (3 Replies)
Discussion started by: mrengert
3 Replies

7. Shell Programming and Scripting

parsing a config file using bash

Hi , I have a config _file that has 3 columns (Id Name Value ) with many rows . In my bash script i want to be able to parse the file and do a mapping of any Id value so if i have Id of say brand1 then i can use the name (server5X) and Value (CCCC) and so on ... Id Name ... (2 Replies)
Discussion started by: nano2
2 Replies

8. Shell Programming and Scripting

bash script config file

hi all config.sh : dhcp="0" setip="1" telnet="1" ping="1" main.sh function dhcp { } function setip { } (1 Reply)
Discussion started by: sadosan83
1 Replies

9. Red Hat

Apache virtual host config vs global config problem

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

10. UNIX for Beginners Questions & Answers

Pass config file to bash script

I just want to make sure I am understanding how to pass a config file to a bash script . In the below I pass to arguments to a script, then define them in the script as id and config. I then source config using ., if I understand correctly the variables in the config file can now be used by the... (11 Replies)
Discussion started by: cmccabe
11 Replies
GAMGI(1)							 GAMGI Manual Page							  GAMGI(1)

NAME
gamgi - general atomistic modelling graphic interface SYNOPSIS
gamgi [file_1.xml] ... [file_n.xml] DESCRIPTION
gamgi is a computer package to construct, view and analyse atomic structures. OPTIONS
file_n.xml is a fullname such as: ../dat/molecule/flavors/garlic.xml ~/gamgi/dat/molecule/flavors/garlic.xml http://www.gamgi.org/dat/molecule/flavors/garlic.xml ftp://ftp.gamgi.org/gamgi/dat/molecule/flavors/garlic.xml Object and config data can be mixed, so file_1.xml might be a preferences file, loaded before the other object files. To automate the pro- cedure, just add a line as this to ~/.bashrc: alias gamgi='gamgi ~/gamgi/my_defaults.xml' ENVIRONMENT
GAMGI_HELP Set this variable to let GAMGI know where the Help documentation files are. For example, add a line as this to ~/.bashrc : GAMGI_HELP=~/gamgi/gamgi/doc; export GAMGI_HELP GAMGI_TEXT Set this variable to let GAMGI know where are the .ttf DejaVu files, to render solid fonts. For example, add a line as this to ~/.bashrc: GAMGI_TEXT=~/gamgi/gamgi/src/io/fonts; export GAMGI_TEXT BROWSER Set this variable to let GAMGI know which browser to launch, in case this is chosen to read Help. For example, add a line as this to ~/.bashrc: BROWSER=firefox; export BROWSER HELP
Read introductory information with Help->Start. Browse the documentation at http://www.gamgi.org/ or its local copy at gamgi/doc/. Use the help mechanisms reunited under the Help button. Subscribe the mailling list <gamgi-users@gamgi.org>. Contact the author at <jcgp07@gmail.com>. Throughout all interfaces and formats, lengths are in angstrom, angles in degrees and decimal numbers are represented with dots. Every parameter that can be defined in an interface can be also defined in a file and vice-versa. INTERFACES
Rotate, move, scale the selected object pressing the left, middle, right mouse button. Export the selected object choosing File->Export. The statusbar shows the selected object (left) and layer (right). To select an object, choose Object->Select and press over the object. Or choose the object class on the menu above, with the middle button, before pressing on the object. Or press twice Layer, Window or GAMGI on the menu above. When the object has no visual representation, press the mouse over the graphic area, to pop up a menu. To select a layer, choose Layer->Select and press the mouse over the graphic area, to pop up a menu. Or choose the layer class on the menu above, with the middle button, before pressing the mouse over the graphic area, to pop up a menu. Solid objects usually require lights with diffuse and specular components to be properly represented in 3D space, otherwise they look flat. Wired objects do not have a 3D representation, so diffuse and specular lights are not reflected, becoming poorly visible when using lights, unless a significant ambient component is used. Often it is worth to draw solid and wired objects in different layers, with and without lights. When a task dialog is open, to learn how it works, just select Help->Current and another dialog will pop up, explaining the meaning of all the parameters in the task dialog. To see detailed explanations of GAMGI interfaces, consult the reference manual at http://www.gamgi.org/interfaces/reference.html, doc/interfaces/reference.html or Help->Topic->Interfaces. FORMATS
GAMGI can import files in .xyz and .xml native format, selected automatically by the file extension. GAMGI can export files in .ps, .ppm, .jp[e]g, .png, .tif[f], .x3d and native .xml formats, selected automatically by the file extension. In GAMGI native XML format, a water molecule can be described as: <gml> <molecule> <atom element="O" x="0.000" y="0.000" z="0.000" id="O1"/> <atom element="H" x="0.776" y="0.540" z="0.000" id="H1"/> <atom element="H" x="-0.776" y="0.540" z="0.000" id="H2"/> <bond parent1="O1" parent2="H1"/> <bond parent1="O1" parent2="H2"/> </molecule> </gml> To see detailed explanations of GAMGI formats, consult the reference manual at http://www.gamgi.org/formats/reference.html, doc/formats/reference.html or Help->Topic->Formats. EXAMPLES
Choose Help->Tutorials to get a list of fully described procedures, exemplifying most aspects of the work with GAMGI. SEE ALSO
http://www.gamgi.org/ AUTHOR
Written by Carlos Pereira <jcgp07@gmail.com>, helped by Steffen Moeller <moeller@debian.org> and Daniel Leidert <daniel.leidert@wgdd.de>, from the Debian project. 0.14.3 November 30 2009 GAMGI(1)
All times are GMT -4. The time now is 01:39 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy