Subject: Re: Shells in NetBSD
To: Rick Copeland <rickgc@calweb.com>
From: David Brownlee <abs@anim.dreamworks.com>
List: netbsd-help
Date: 01/27/1998 10:27:07
The man -k command is useful here:
(lapton ~)1% man -k shell
csh (1) - a shell (command interpreter) with C-like syntax
fnmatch (3) - match filename or pathname using shell glob rules
getusershell, setusershell, endusershell (3) - get legal user shells
ksh (1) - Public domain Korn shell
ksh (1) - Public domain Korn shell .\"}}} .\"{{{ Synopsis
rsh (1) - remote shell
rshd (8) - remote shell server
sh (1) - command interpreter (shell)
shar (1) - create a shell archive of files
shells (5) - shell database
shlock (1) - create or verify a lock file for shell scripts
smrsh (8) - restricted shell for sendmail
system (3) - pass a command to the shell
Commands in section (1) are user commands, (8) are sysadmin commands.
NetBSD comes with csh, sh, and ksh.
You can change tyou shell with 'chsh'.
I believe tcsh & bash are available in the package system:
The NetBSD package system allows freely available third-party software
to be built easily on NetBSD hosts. It includes any patches necessary
to compile. Once the software has been built, it is manipulated with
the pkg_* tools to simplify installation, de-installation, inventory
of installed packages, and retrieval of package descriptions.
Download the pkgsrc tarfile (currently around 700K)
ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-current/tar_files/pkgsrc.tar.gz
and extract in '/usr'. This will create a '/usr/pkgsrc' hierarchy of
package subdirectories. If you have a direct internet connection you
can then cd into the appropriate subdirectory and just type 'make',
then 'make install'. If you do not have a direct internet connection
you need to obtain the source for the package (check the appropriate
makefile for the location) and put it into /usr/pkgsrc/distfiles.