注册名(login name)
一.摘出的未完成的登录过程
1.Enter our login name, followed by our password
2.The system then looks up our login name in its password file(/etc/passwd).
3.The system knows which shell to execute for us from the final field in our entry in the password file.
二.
1."All contemporary systems have moved the encrypted password to a different file."
该句是指password file的每个entry中第二个field:encrypted password都是个x,加密后的密码在另一个文件中。
2.entry in password file,经典的seven colon-separated fileds:
login name:encrypted password:numeric user ID:numeric group ID:comment field:home directory:shell program
3.A shell is a command-line interpreter that reads user input and executes commands. The user input to a shell is normally from the terminal (an interactive shell) or sometimes from a file (called a shell script).
1).shell是个命令行解释器。
2).提出了shell的一种:交互式shell(interactive shell)。
3).提出了shell脚本,也是目前我正在学习的。明确了shell脚本其实是一种用户输入(user input)。
4.详细讲了5种shell,各自使用的版本及它们之间的关系,可以说是一个shell简史。
关于shell的一切都起源于Steve Bourne at Bell Labs,他开发出第一个shell:Bourne shell(/bin/sh),现在的UNIX系统几乎都提供该shell。关于以下的shell介绍在明白了UNIX各种实现及版本后在