[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Criar arquivo...
From: |
danillofa |
Subject: |
Re: Criar arquivo... |
Date: |
Tue, 20 Apr 2004 14:39:31 -0000 |
User-agent: |
eGroups-EW/0.82 |
com ajuda de alguem da lista q pq eu nao sei mas respondeu em pvt deu
certo, ficando assim:
#!/bin/bash
conf=´#!/bin/bash\n
user="user"
dir_1=/home/user\n
´
if [ -e source.conf ]; then
echo "o arquivo existe"
exit
else
echo criando arquivo
tourch . source.conf
echo $conf > source.conf
fi
é isso ai valeu
t+