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

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

Re: [shell-script] Como usar o korn shell


From: Maicon Radeschi
Subject: Re: [shell-script] Como usar o korn shell
Date: Mon, 8 Oct 2012 09:51:37 -0400

Digita whereis ksh e ve se existe o ksh instalado e no path.

2012/10/8 kerosabber <address@hidden>

> **
>
>
> Bom dia pessoal.
>
> Estou lendo um livro, Dominando Unix Shell Scripting , onde a maioria dos
> scripts só
> funcionam no korn shell.
>
> Como faço para executar esses scripts no korn shell, sem ter que mudar de
> forma permanente o meu shell padrao, que é o bash.
>
> Já tentei isso:
>
> #! /bin/ksh
>
> comandos..
>
> mas retorna a mensagem:
> bad interpreter, arquivo ou diretorio nao encontrado.
>
> com o comando:
> cat /etc/shells
> retorna:
> # /etc/shells: valid login shells
> /bin/bash
> /bin/csh
> /bin/esh
> /bin/fish
> /bin/ksh
> /bin/sash
> /bin/sh
> /bin/tcsh
> /bin/zsh
>
> Isso significa que posso usar qualquer dos tipos de shell listados?
> Se sim como faço?
> Desde ja agradeço.
>
>  
>



-- 
--
Maicon Radeschi
address@hidden


[As partes desta mensagem que não continham texto foram removidas]



reply via email to

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