Easy automated editing of /etc/files with Augeas


 
Thread Tools Search this Thread
Special Forums News, Links, Events and Announcements UNIX and Linux RSS News Easy automated editing of /etc/files with Augeas
# 1  
Old 06-12-2008
Easy automated editing of /etc/files with Augeas

Thu, 12 Jun 2008 15:00:00 GMT
The days of parsing configuration files with awk and making quick changes to configuration files with ad-hoc scripts may finally be at an end. With Augeas you can forget about the parsing and focus completely on what settings must be changed. So if the configuration file moves a piece of data to the fourth column, you don't need to care; Augeas will still show it to you as it did before.


Source...
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Bash script deleting my files, and editing files in subdirectories question

#!/bin/bash # name=$1 type=$2 number=1 for file in ./** do if then filenumber=00$number elif then filenumber=0$number fi tempname="$name""$filenumber"."$type" if (4 Replies)
Discussion started by: TheGreatGizmo
4 Replies

2. Shell Programming and Scripting

Automated script to look for files in FTP Server location.

suppose one file comes in one sever location on MOnday.we have to write a script to automatically get that files and put it in different server location. ---------- Post updated at 10:28 AM ---------- Previous update was at 10:27 AM ---------- Please help me on this (2 Replies)
Discussion started by: sonam273
2 Replies

3. Shell Programming and Scripting

Editing files to add some thing in all the files in a folder

Hi All, I have a folder that contains 100's of files and each file have a similar content like the following format: ((STBJa:200.0,((STBTz:200.0,(STSwe:200.0,(STDUw:200.0,(ST4Bu:200.0,STL2b:200.0):127.0):86.0):80.0):120.0, STAHr:200.0):134.0):200.0,STuNg:200.0);What I need is to do is add "#1"... (2 Replies)
Discussion started by: Lucky Ali
2 Replies

4. UNIX for Dummies Questions & Answers

Need help on installing an EASY to use and easy to install command line text editor

Hi again. Sorry if it seems like I'm spamming the boards a bit, but I figured I might as well ask all the questions I need answers to at once, and hopefully at least get some. I have installed Solaris 10 on a server. The default text editors are there (vi, ex, ed, maybe others, I know emacs is... (4 Replies)
Discussion started by: EugeneG
4 Replies

5. Shell Programming and Scripting

Automated script to delete the OLD Files

Hi, I need a automated script to delete the OLD Files. The requirement is to keep Latest 7 days files. Other then the 7 days files it has to delete automatically. Please provide me the script. (1 Reply)
Discussion started by: laknar
1 Replies

6. IP Networking

Automated ftp for Multiple files

I have seen the script posted yesterday for automated ftp Can we do some thing like ftp ing multiple files in one script Example input.txt has all files names to be ftped input.txt ------ a.tar b.ccp c.perl i need to ftp all the files present in input.txt i tried something like... (0 Replies)
Discussion started by: pbsrinivas
0 Replies

7. UNIX for Advanced & Expert Users

automated ftp script from unix -date range of files

Hi , I need some help to finish my ftp script and i need to find the last one weeks of fles updated in the sepecific directory and see those end with Z and ftp them to my backup server. Any help is appreciated. Thanks, Ravi :) (1 Reply)
Discussion started by: koduri0475
1 Replies

8. Programming

automated ftp script from unix -date range of files

Hi , I need some help to finish my ftp script and i need to find the last one weeks of fles updated in the sepecific directory and see those end with Z and ftp them to my backup server. Any help is appreciated. Thanks, Ravi :) (1 Reply)
Discussion started by: koduri0475
1 Replies

9. Shell Programming and Scripting

automated ftp script from unix -date range of files

Hi , I need some help to finish my ftp script and i need to find the last one weeks of fles updated in the sepecific directory and see those end with Z and ftp them to my backup server. Any help is appreciated. Thanks, Ravi :) (1 Reply)
Discussion started by: koduri0475
1 Replies

10. UNIX for Dummies Questions & Answers

Easy way to mass rename files?

Hi. What is the easiest way to rename a bunch of files? For example taking all files ending in ".php3" and rename them to end in ".php" I could write a script to do this, but there is probably an easier way... Thanks! (17 Replies)
Discussion started by: Thermopylae
17 Replies
Login or Register to Ask a Question
condor_config_bind(1)					      General Commands Manual					     condor_config_bind(1)

Name
       condor_config_bind bind - together a set of configuration files

Synopsis
       condor_config_bind -help

       condor_config_bind-o outputfileconfigfile1configfile2[configfile3...]

Description
       condor_config_binddynamically binds two or more Condor configuration files through the use of a new configuration file. The purpose of this
       tool is to allow the user to dynamically bind a local configuration file into an already created,  and  possible  immutable,  configuration
       file. This is particularly useful when the user wants to modify a configuration but cannot actually make any changes to the global configu-
       ration file (even to change the list of local configuration files). This program does not modify the given configuration files. Rather,	it
       creates a new configuration file that specifies the given configuration files as local configuration files.

       Condor  evaluates  each	of  the configuration files in the given command-line order (left to right). A value defined in two or more of the
       configuration files results in the last one evaluated defining the value. It overrides any others. To bind a new local configuration into a
       global configuration, specify the local configuration second within the command-line ordering.

Options
       configfile1

	  First configuration file to bind.

       configfile2

	  Second configuration file to bind.

       configfile3...

	  An optional list of other configuration files to bind.

       -help

	  Display brief usage information and exit

       -o output_file

	  Specifies the file name where this program should output the binding configuration.

Exit Status
       condor_config_bindwill exit with a status value of 0 (zero) upon success, and non-zero on error.

Author
       Condor Team, University of Wisconsin-Madison

Copyright
       Copyright  (C)  1990-2012  Condor  Team,  Computer  Sciences Department, University of Wisconsin-Madison, Madison, WI. All Rights Reserved.
       Licensed under the Apache License, Version 2.0.

       See the Condor Version 7.8.2 Manualor http://www.condorproject.org/licensefor additional notices. condor-admin@cs.wisc.edu

								  September 2012					     condor_config_bind(1)