Skip to Content.
Sympa Menu

baslinux - Re: [BL] shell scripting

baslinux AT lists.ibiblio.org

Subject: Baslinux mailing list

List archive

Chronological Thread  
  • From: 3aoo-cvfd AT dea.spamcon.org
  • To: baslinux AT lists.ibiblio.org
  • Subject: Re: [BL] shell scripting
  • Date: Sat, 8 Jan 2005 08:10:42 +1300

sindi keesan wrote:
>
> On a BL3 laptop 486 I just installed bash and tcsh
> packages from SW4.0 for use in a 'unix shell scripting'
> class. I could not find Korn shell

zsh is a UNIX command interpreter (shell) which of the
standard shells most resembles the Korn shell (ksh)

> for SW4.0.

/slakware/ap1/zsh.tgz

> I also downloaded bash binary compiled with dietlibc -
> would this work better than the five-year-old bash
> from SW4.0?

The dietlibc bash is version 2.05
Slackware 4.0 has 1.14 and 2.03

I prefer 1.14

> In order to practice writing scripts in the different
> shells, is it sufficient just to have bash and tcsh
> on there

Yes.

> or must I set up a couple of user accounts, one for
> each shell?

No.

> Instead of setting up user accounts, could I convert
> the loop bl3 to bash and the hd bl3 to tcsh?

Yes. Or you could run bash on tty1, tcsh on tty2, and
zsh on tty3.

> If so, how?

Edit /etc/inittab and replace /bin/sh (the current shell).

Cheers,
Steven

____________________________
http://www.basiclinux.com.ru




Archive powered by MHonArc 2.6.24.

Top of Page