[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]
- Como usar o korn shell, kerosabber, 2012/10/08
- Re: [shell-script] Como usar o korn shell,
Maicon Radeschi <=
- Re: [shell-script] Como usar o korn shell, Tiago Peczenyj, 2012/10/08
- Re: [shell-script] Como usar o korn shell, Flavio Steimacher, 2012/10/08
- Re: Como usar o korn shell, kerosabber, 2012/10/09
- Re: [shell-script] Re: Como usar o korn shell, Julio C. Neves, 2012/10/09
- Re: Como usar o korn shell, kerosabber, 2012/10/11
- RES: [shell-script] Re: Como usar o korn shell, Emerson Domingues Souto - H2M, 2012/10/11
- Re: [shell-script] Re: Como usar o korn shell, Julio C. Neves, 2012/10/11
- Re: [shell-script] Re: Como usar o korn shell, Petterson Faria, 2012/10/11
- Re: [shell-script] Re: Como usar o korn shell, Julio C. Neves, 2012/10/11
- Re: [shell-script] Re: Como usar o korn shell, Julio C. Neves, 2012/10/09