Sponsored Content
Top Forums Shell Programming and Scripting using /etc/foo.config in shell script Post 302301141 by rikxik on Thursday 26th of March 2009 03:48:40 AM
Old 03-26-2009
I suggest you use a sample config file with only one parameter. Focus on finalizing the design with that. That will give you enough understanding to proceed.
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Find directories not containing foo, and copy foo to them

Hello all, I have a situation where I have a web root directory with a few thousand users spread out into 100 subdirectories in a 00/firstname.lastname, 01/firstname.lastname, etc. hierarchy. I suddenly need to make sure that each of these user directories contains a default index.html file... (6 Replies)
Discussion started by: dkaplowitz
6 Replies

2. Shell Programming and Scripting

How to parse config variables from external file to shell script

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

3. Shell Programming and Scripting

Edit a config file using shell script

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

4. Shell Programming and Scripting

how to access variables in a config file inside a shell script

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

Need help with a shell script:Config Transparent Proxy using Shell

I want to config Transparent Proxy using Shell Script. I have more questions<exercise of me :D>: + Check that the squid is installed or not install and version is installed +Allows users to choose to run a transparent proxy or not +Perform configuration and turn on service in accordance... (0 Replies)
Discussion started by: kaka287
0 Replies

6. 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

7. Shell Programming and Scripting

Update config file using shell script in Solaris 5.10

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

8. UNIX for Dummies Questions & Answers

How to write Config shell script to pass variables in master shell script?

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

9. Shell Programming and Scripting

How to write config shell script to pass variables in master shell script?

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

10. Shell Programming and Scripting

Shell script to pass the config file lines as variable on the respective called function on a script

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
DVTM(1) 						      General Commands Manual							   DVTM(1)

NAME
dvtm - dynamic virtual terminal manager SYNOPSIS
dvtm [-v] [-m mod] [-s status-fifo] [cmd...] DESCRIPTION
dvtm is a dynamic tiling window manager for the console. As a console window manager it tries to make it easy to work with multiple con- sole based applications. OPTIONS
-v prints version information to standard output, then exits. -m mod set default modifier at runtime. -d escdelay set the delay ncurses waits before deciding if a character that might be part of an escape sequence is actually part of an escape sequence. -h nnn set the scrollback history buffer size at runtime. -s status-fifo if status-fifo is a named pipe it's content is read and displayed. See the dvtm-status script for an usage example. [cmd...] Execute cmd after dvtm is started. USAGE
Keyboard commands Mod Each keybinding begins with Mod which defaults to ^g but can be changed in config.h or with the -m command line option. Mod-c Create a new shell window. Mod-x Close focused window. Mod-l Increases the master area width about 5% (all except grid and fullscreen layout). Mod-h Decreases the master area width about 5% (all except grid and fullscreen layout). Mod-j Focus next window. Mod-k Focus previous window. Mod-[1..n] Focus the nth window. Mod-. Toggle minimization of current window. Mod-u Focus next non minimized window. Mod-i Focus prev non minimized window. Mod-m Maximize current window (change to fullscreen layout). Mod-PageUp Scroll up. Mod-PageDown Scroll down. Mod-Space Toggle between defined layouts (affects all windows). Mod-Enter Zooms/cycles current window to/from master area. Mod-t Change to vertical stack tiling layout. Mod-b Change to bottom stack tiling layout. Mod-g Change to grid layout. Mod-s Shows/hides the status bar. Mod-r Redraw whole screen. Mod-G Escape the next typed key. Mod-a Toggle keyboard multiplexing mode, if activated keypresses are sent to all non minimized windows. Mod-X Lock screen. Mod-B Toggle bell (off by default). Mod-M Toggle dvtm mouse grabbing. Mod-q Quit dvtm. Mouse commands Copy and Paste By default dvtm captures mouse events to provide the actions listed below. Unfortunately this interferes with the standard X copy and paste mechanism. To work around this you need to hold down SHIFT while selecting or pasting text. Alternatively you can disable mouse support at compile time, or use Mod-M to toggle mouse support dynamically. Button1 click Select window. Button1 double click Select window and toggle maximization. Button2 click Zooms/cycles current window to/from master area. Button3 click Toggle minimization of current window. EXAMPLE
See the dvtm-status script as an example. CUSTOMIZATION
dvtm is customized by creating a custom config.h and (re)compiling the source code. This keeps it fast, secure and simple. AUTHOR
dvtm is written by Marc Andre Tanner <mat at brain-dump.org> dvtm-0.6 DVTM(1)
All times are GMT -4. The time now is 06:38 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy