RE: Scripts y C

Eduardo Sánchez M. <[email protected]>
Newsgroups gmane.org.user-groups.linux.gulcr
Message-ID <[email protected]>
> 1. Los scripts no se ejecutan de manera directa (con directo 
> quiero decir solo escribiendo el nombre del script) a pesar 
> de tener permisos de ejecucion y la ruta #!/bin/bash al 
> inicio del script es correcta. Asi que para ejecutarlo tengo 
> que hacer 
> 
> $bash "nombre del script" y entonces si funciona.
> 

¿puedes intentar con?:

	 ./<nombre_del_script>

si te funciona asi podrias agregar el directorio . a tu variable
$PATH:

export PATH=$PATH:.

saludos,
  -eduardo s.m.


-- 
Desuscripción: escriba a [email protected], tema 'unsubscribe'
Problemas a: [email protected].  http://gulcr.org/ListasDeCorreo
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.