03-11-2009
My bad on the quotes... When I run it, it does what I expect, however my a_Overview2_New.xml file is now empty. I want that file to contain:
line 1
line 2
para 1
para 2
line 3
line 4
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
I need to write a shell script (ksh) to read contents starting at a specific location from one file and append the contents at specific location in another file. Please find below the contents of the source file that I need to read the contents from,
File 1
-----# more... (5 Replies)
Discussion started by: dnicky
5 Replies
2. UNIX for Dummies Questions & Answers
Hi,
I'm try to create an executable file to copy a file to a different location.
Help plz.
Thanx. (4 Replies)
Discussion started by: nazehcalil
4 Replies
3. Shell Programming and Scripting
Hello,
I have a solaris box and a windows server. The windows server runs cygwin for ssh service. I have an audit log in solaris box. When ever new records are added to the log file, this delta has to be trasported to a remote file in windows. I can do a ssh once in a while, but want the... (7 Replies)
Discussion started by: unori
7 Replies
4. UNIX for Dummies Questions & Answers
Hello every body,
Kindly support me to "copy a file without remove the contents of the target file"
Thanks in advance. :)
Ahmed Amer
Cairo,Egypt (2 Replies)
Discussion started by: ahmedamer12
2 Replies
5. Shell Programming and Scripting
Hi All,
I am very new to shell scripting .
In my current task i want to create .sh file that will rename the existing file with appending _bu in it. And then copy new file .
e.g if i have file linuxFirst.java then i want to rename it to linuxFirst_bu.java ..Then want replace with latest... (1 Reply)
Discussion started by: maheshkaranjkar
1 Replies
6. Shell Programming and Scripting
I have file file1.txt in location 'loc1'. Now i want a copy of this file in location 'loc2' with a new file called test.txt.
Please help me how to do this in shell script. (1 Reply)
Discussion started by: vel4ever
1 Replies
7. Shell Programming and Scripting
Hi
This is my third past and very impressed with previous post replies
Hoping the same for below query
How to find a existing file location and directory location in solaris box (1 Reply)
Discussion started by: buzzme
1 Replies
8. Shell Programming and Scripting
Hi All,
I want to transfer file from UNIX to shared locataion .
Shared location doesn't resides on my system.
Can somebody tell me is there any way i can transfer file from UNIX to shared location without using any tool WINSCP.
Thanks,
Amit (1 Reply)
Discussion started by: Amit786
1 Replies
9. Shell Programming and Scripting
Dear All,
I need to transfer all files present in one location to another but those files should be of specific extension like.
Find and copy all files of extension .xls, .pdf, .txt from location usr/tmp to location /per/Treat (6 Replies)
Discussion started by: yadavricky
6 Replies
10. Shell Programming and Scripting
Hello All,
Since i'm relatively new in shell script need your guidance.
I'm copying files manually based on a specific word in a file name and its extension and then moving it into some destination folder.
so if filename contains hyr word and it has .md and .db extension; it will move to TUM/HYR... (13 Replies)
Discussion started by: prajaktaraut
13 Replies
LEARN ABOUT DEBIAN
xt-customize-image
XT-CUSTOMIZE-IMAGE(8) Perl Programmers Reference Guide XT-CUSTOMIZE-IMAGE(8)
NAME
xt-customize-image - Customize a freshly installed copy of GNU/Linux
SYNOPSIS
xt-customize-image [options]
Help Options:
--help Show this scripts help information.
--manual Read this scripts manual.
--version Show the version number and exit.
Debugging Options:
--verbose Be verbose in our execution.
Mandatory Options:
--location The location of the new installation
--dist The name of the distribution which has been installed.
All other options from xen-create-image, such as the new IP address(es)
to give to the new instance, will be passed as environmental variables.
NOTES
This script is invoked by xen-create-image after it has created a
fresh installation of Linux withing a temporary location.
This script will be invoked with a full copy of the arguments from
xen-create-image in its environment, along with several command line
arguments.
The command line arguments which are mandatory are:
--location - The temporary installation root of the new install
--dist - The distribution which has been installed.
HOOK SCRIPTS
The distribution name is used to locate an appropriate collection
of scripts, or hooks, to execute to do the actual customisation.
The hooks will each be executed with a single parameter which is
the directory path to the new instance. This argument is taken from
the --location option.
For the distribution named 'foo' the scripts will be loaded and
executed from '/usr/lib/xen-tools/foo.d'. Each executable will
be loaded and executed in sorted order.
AUTHORS
Steve Kemp, http://www.steve.org.uk/
Axel Beckert, http://noone.org/abe/
StA~Xphane Jourdois
LICENSE
Copyright (c) 2005-2009 by Steve Kemp, (c) 2010 by The Xen-Tools Development Team. All rights reserved.
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. The LICENSE file contains the
full text of the license.
4.3.1 2012-06-30 XT-CUSTOMIZE-IMAGE(8)