09-04-2008
when i do this it gives me output as
128 BES-Exchange
144 BES-SVR
176 BES AD
i want only BES and things
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Say I write something like the following:
var1=1
var2=2
for int in 1 2
do
echo "\$var$int"
done
I want the output to be:
1
2
Instead I get something like:
$var1
$var2 (2 Replies)
Discussion started by: Awanka
2 Replies
2. Shell Programming and Scripting
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
3. Shell Programming and Scripting
Hi
I am nebie to Unix
I have a prameter file which has semicolon seperated values which has the field
STATUS_CODE;9000;1;1200;2000
The values are dynamic ie. it can be 1,2,3...any number
How do i get all the values of this parameter into a variable
Please if anyone can help me out on... (2 Replies)
Discussion started by: theeights
2 Replies
4. UNIX for Dummies Questions & Answers
hi
I have a shell script say primary.sh . There is a file called params
my scenario is
primary.sh should read all the values and echo it
for example
i should pass like
$primary.sh params
output would be
Abc
... (2 Replies)
Discussion started by: ssuresh1999
2 Replies
5. Shell Programming and Scripting
I have a variable that contains the number of a positional parameter. There is no way of knowing what number this may be, although it is guaranteed to correspond with a valid parameter.
In BASH I could just use ${@} to extract that argument. But in a Bourne shell the best I can come up with is... (3 Replies)
Discussion started by: mij
3 Replies
6. Shell Programming and Scripting
Hi
I am looking for a unix command or a small shell script which can takes one parameter and then searches for the passed in the parameter in any or all files under say /home/dev/
Can anyone please help me on this? (3 Replies)
Discussion started by: pankaj80
3 Replies
7. Shell Programming and Scripting
i am passing input parameter 'one_two' to the script , the script output should display the result as below
one_1two
one_2two
one_3two
if
then
echo " Usage : <$0> <DATABASE> "
exit 0
else
for DB in 1 2 3
do
DBname=`$DATABASE | awk -F "_" '{print $1_${DB}_$2}`
done
fi (5 Replies)
Discussion started by: only4satish
5 Replies
8. Shell Programming and Scripting
hi all,
i have a parameter file of following format, i want a method which can get the value of specific parameter.
parameter file format:
<Parameter Name="FileLocationWindows">
<Description>
The directory location of the logger file.
... (1 Reply)
Discussion started by: laxmikant.hcl
1 Replies
9. Shell Programming and Scripting
Hi.
How do I achieve this
sh /EDWH-DMT02/script/MISC/exec_sql.sh "@/EDWH-DMT02/script/others/CSM_CKC/Complete_List.sql ${file_name}" Complete_List.txt
The /EDWH-DMT02/script/MISC/exec_sql.sh has two parameters and it's working fine with this
sh /EDWH-DMT02/script/MISC/exec_sql.sh... (7 Replies)
Discussion started by: aimy
7 Replies
10. Shell Programming and Scripting
Hi Team,
In our project we have written below 2 scripts like
Script1:
Shell script start & END
Begin Audit process - uses teradata bteq
END Audit Process
Script 2: Environemtal variable file different
Now Client ask to change this requirement and need below files:
Script1:... (1 Reply)
Discussion started by: tusharzaware1
1 Replies
LEARN ABOUT DEBIAN
vmware2libvirt
VMWARE2LIBVIRT:(1) System Administration Utilities VMWARE2LIBVIRT:(1)
NAME
vmware2libvirt - vmware vmx to libvirt xml converter
SYNOPSIS
vmware2libvirt [-q] -f FILE
DESCRIPTION
This program outputs a libvirt xml file based on an existing vmware vmx file
OPTIONS
--version
show program's version number and exit
-h, --help
show this help message and exit
-q, --qemu
use qemu instead of kvm
-f FILE, --file=FILE
vmware vmx file to convert
USAGE
To start using a pre-existing vmware image with libvirt, you simply copy the vmware .vmx file and .vmdk file to a new directory. Then do:
vmware2libvirt -f ./file.vmx > file.xml
virsh -c qemu:///system define file.xml
At this point, your vmware image should be available to libvirt.
CAVEATS
vmware2libvirt currently will use the first scsi disk if found, otherwise the first ide disk. It will also use the first ethernet interface
found.
SEE ALSO
virsh(1), kvm(1), qemu(1)
AUTHOR
vmware2libvirt is (C) 2008, Canonical Ltd.
This manual page was originally written by Jamie Strandboge <jamie@canonical.com>
vmware2libvirt: 0.1 February 2008 VMWARE2LIBVIRT:(1)