Chinaunix首页 | 论坛 | 博客
  • 博客访问: 897307
  • 博文数量: 148
  • 博客积分: 10010
  • 博客等级: 上将
  • 技术积分: 3920
  • 用 户 组: 普通用户
  • 注册时间: 2007-06-30 18:17
文章分类

全部博文(148)

文章存档

2008年(148)

我的朋友

分类:

2008-04-05 16:40:04

The Default Shells
 
The Solaris OE supports three primary shells:
Bourne shell
C shell
Korn shell

Examples given in this course assume that the Korn shell is being used.
The Bourne shell is the original UNIX  ® system shell. The Bourne shell is
the default shell for the root user. The root user is a special system
account with unlimited access privileges for system administrators. The
default Bourne shell prompt for a regular user is a dollar sign ($); for the
root user the default shell prompt is a pound sign (#).

The C shell has a number of features that the Bourne shell does not, such
as command-line history, aliasing, and job control. The default C shell
prompt for a regular user is the host name followed by a percent sign
(hostname%); for the root user the default shell prompt is the host name
followed by a pound sign (hostname#).
 
The Korn shell is a superset of the Bourne shell with C shell-like
enhancements and a number of additional features. The Bourne shell is
almost completely upwardly compatible with the Korn shell. The default
Korn shell prompt for a regular user is a dollar sign ($); for the root user
the default shell prompt is the pound sign (#).
 
 
The Alternative Shells
The Solaris 9 OE contains three additional shells:
Bash - The GNU project's Bourne-Again shell is a Bourne-
compatible shell that incorporates useful features from the Korn and
C shells.
Z shell - The Z shell most closely resembles the Korn shell but
includes many other enhancements.
TC shell - The TC shell is a completely compatible version of the
C shell with additional enhancements.
阅读(719) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~