--On Tuesday, May 03, 2011 02:39:54 PM + Tim Dunphy
wrote:
># /bin/bash
To start off, your hash-bang is missing its bang:
#! /bin/bash
Devin
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
aurfal...@gmail.com wrote:
> On May 3, 2011, at 11:55 AM, Ljubomir Ljubojevic wrote:
>
>> Tim Dunphy wrote:
>>> hello list!
>>>
>>> I have a small shell script that I wrote that is meant to quickly
>>> bring down all of my xen instances in a quick and easy manner. Odd
>>> thing is, it does wor
Chris Geldenhuis wrote:
> Ljubomir Ljubojevic wrote:
>> Tim Dunphy wrote:
>>
>>> hello list!
>>>
>>> I have a small shell script that I wrote that is meant to quickly bring
>>> down all of my xen instances in a quick and easy manner. Odd thing is, it
>>> does work on the command line. But if I
Ljubomir Ljubojevic wrote:
> Tim Dunphy wrote:
>
>> hello list!
>>
>> I have a small shell script that I wrote that is meant to quickly bring down
>> all of my xen instances in a quick and easy manner. Odd thing is, it does
>> work on the command line. But if I put it into a script this happen
On May 3, 2011, at 11:55 AM, Ljubomir Ljubojevic wrote:
> Tim Dunphy wrote:
>> hello list!
>>
>> I have a small shell script that I wrote that is meant to quickly
>> bring down all of my xen instances in a quick and easy manner. Odd
>> thing is, it does work on the command line. But if I put i
Ljubomir Ljubojevic wrote:
> Tim Dunphy wrote:
>>
>> I have a small shell script that I wrote that is meant to quickly bring
>> down all of my xen instances in a quick and easy manner. Odd thing is,
>> it does work on the command line. But if I put it into a script this
>> happens:
>>
>>
>> [root@L
Tim Dunphy wrote:
> hello list!
>
> I have a small shell script that I wrote that is meant to quickly bring down
> all of my xen instances in a quick and easy manner. Odd thing is, it does
> work on the command line. But if I put it into a script this happens:
>
>
> [root@LCENT03:/home/bluethu
service xendomains stop ?
Kai
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
ing list"
Sent: Tuesday, May 3, 2011 1:33:14 PM
Subject: Re: [CentOS] virtdown script
On 05/03/2011 09:39 AM, Tim Dunphy wrote:
> virsh list | grep -v -e Id -e --- -e Domain-0 | awk '{print $1}'
Do you want the "ID Number" or the "Name" to pass in? That gives you
On 05/03/2011 09:39 AM, Tim Dunphy wrote:
> virsh list | grep -v -e Id -e --- -e Domain-0 | awk '{print $1}'
Do you want the "ID Number" or the "Name" to pass in? That gives you
the number, I think you want the name ... that would be $2 not $1.
signature.asc
Description: OpenPGP digital signat
hello list!
I have a small shell script that I wrote that is meant to quickly bring down
all of my xen instances in a quick and easy manner. Odd thing is, it does work
on the command line. But if I put it into a script this happens:
[root@LCENT03:/home/bluethundr/bin] #virtdown
>
it expects a
11 matches
Mail list logo