[ubuntu-ar] echo, EOF y redirección
.: fernando mosquera :.
fernando at fermos.com.ar
Thu Jun 30 18:52:31 UTC 2011
El 30 de junio de 2011 15:47, Hugo M <ham1988 en gmail.com> escribió:
> Estoy haciendo un comando para crear virtual hosts y me surgió una duda
> filosófica. Cómo hago para que este echo, el output lo tire a un archivo?
> Intenté poniendo entre el echo y el << un "> miarchvodevirtualhost.txt" pero
> fallaba.
>
> echo << EOF
> <VirtualHost *:80>
> ServerAdmin webmaster en localhost
> ServerName $1
> ServerAlias www.$1
> DocumentRoot /var/www/$1
> <Directory />
> Options FollowSymLinks
> AllowOverride All
> Order allow, deny
> allow from all
> </Directory>
>
> ErrorLog /var/log/apache2/error.log
>
> # Possible values include: debug, info, notice, warn, error, crit,
> # alert, emerg.
> LogLevel warn
>
> CustomLog /var/log/apache2/access.log combined
> EOF
>
>
Desde ayer me salen mensajes asi:
Es posible que el remitente de este mensaje no sea: ham1988 en gmail.com Más
información<http://mail.google.com/support/bin/answer.py?hl=es&ctx=mail&answer=185812>
Denunciar suplantación de identidad
------------ pr?xima parte ------------
Se ha borrado un adjunto en formato HTML...
URL: <https://lists.ubuntu.com/archives/ubuntu-ar/attachments/20110630/1f030011/attachment.html>
More information about the Ubuntu-ar
mailing list