shell-script-pt
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Inserindo comandos via echo


From: Gustavo Filgueiras
Subject: Inserindo comandos via echo
Date: Wed, 22 Jan 2014 20:07:03 -0200

Caros, boa noite !

 Estou tentando inserir uma linha de comando via shell, mas ao invés dele inserir a linha no arquivo, ele esta executando...

 Tentei escapar de algumas formas, \ " e não consegui...

 echo -e "listaArquivos=($(xe vdi-list |grep uuid |grep -v sr-uuid |awk {'print $5'}  | sed 's/ /^/g'))" >> "/etc/rc.local"

Att,
Gustavo Filgueiras

reply via email to

[Prev in Thread] Current Thread [Next in Thread]