Skip to Content.
Sympa Menu

baslinux - Re: [BL] shell scripting

baslinux AT lists.ibiblio.org

Subject: Baslinux mailing list

List archive

Chronological Thread  
  • From: sindi keesan <keesan AT sdf.lonestar.org>
  • To: baslinux AT lists.ibiblio.org
  • Subject: Re: [BL] shell scripting
  • Date: Fri, 7 Jan 2005 19:46:50 +0000 (UTC)

On Sat, 8 Jan 2005 3aoo-cvfd AT dea.spamcon.org wrote:

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

Found it. Why are ash.tgz and zsh.tgz in ap1 while bash and tcsh are in a-something directories on the linux CD?


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

Does bash.tgz contain both of them? Why do you prefer 1.14?
We will see if it works for the shell scripting class.

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).

I found three lines tty1 2 and 3 with /bin/sh and will change
them to /bin/ash /bin/bash and /bin/tcsh (and maybe add a fourth vt for bin/zsh). I don't think I need to also leave in /bin/sh because it is actually a pointer to busybox /ash and the SW40 ash is probably more complete.

Then I should be able to install dosemu from vt2, or could I do that anyway once bash is installed (and the dosemu script can invoke it)?

Could we then make .login and .cshrc and .zshenv etc. and have them invoked whenever we logged in to a terminal?


Cheers,
Steven

____________________________
http://www.basiclinux.com.ru
_______________________________________________
BasLinux mailing list
BasLinux AT lists.ibiblio.org
http://lists.ibiblio.org/mailman/listinfo/baslinux


keesan AT sdf.lonestar.org
SDF Public Access UNIX System - http://sdf.lonestar.org




Archive powered by MHonArc 2.6.24.

Top of Page