🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: es.comp.os.linux.programacion
Article #14103

Bourne-Shell y C-Shell

#14103
From: vigo11
Date: Mon, 11 Dec 2000 19:58
18 lines
1636 bytes
Hola a ver si me podeis echar un cable, con dos dudas que tengo:

Tengo instalada la Red Hat 6.0 y

1. Cuando creo un Script en Bourne Shell y lo quiero ejecutar tengo que
invocar siempre al shell, es decir tengo que escribir "sh nomb_script". Ya
he probado a ponerle permiso de ejecuci�n y nada "chmod +700 nomb_script".
En un libro que tengo de linux hablan de ejecutar los scripts directamente y
ademas, donde trabajo tengo un servidor de Unix y funcionan perfectamente,
�qu� estoy haciendo mal? �porqu� no los puedo ejecutar directamente?

2. En el sistema Unix utilizo dos lenguajes (shells) para la programaci�n
Bourne Shell que en Linux va bien y C-Shell. Este �ltimo shell me funciona
bien pero los Scripts en C-Shell no pitan, �sabeis porqu�?

Bueno muchas gracias de antemano.
Javier
cortizo@yahoo.com
Technical Details
Message-ID: <913atl$f14$1@diana.bcn.ttd.net>
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!sn-xit-03!supernews.com!newsfeed.gamma.ru!Gamma.RU!newsfeed.rt.ru!news-sto.telia.net!newsfeed.bcn.ttd.net!news.bcn.ttd.net!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: SPANISH,ASCII
X-Google-Thread: f86c8,1d27ee0799b6a077,start
X-Google-Attributes: gidf86c8,public
X-Google-ArrivalTime: 2000-12-11 11:49:05 PST
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!sn-xit-03!supernews.com!newsfeed.gamma.ru!Gamma.RU!newsfeed.rt.ru!news-sto.telia.net!newsfeed.bcn.ttd.net!news.bcn.ttd.net!not-for-mail
From: "vigo11" <vigo11@alphacom.es>
Newsgroups: es.comp.os.linux.programacion
Subject: Bourne-Shell y C-Shell
Date: Mon, 11 Dec 2000 20:58:05 +0100
Organization: Telefonica Transmision de Datos
Lines: 22
Message-ID: <913atl$f14$1@diana.bcn.ttd.net>
NNTP-Posting-Host: 194.224.201.151
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2615.200
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200