Skip to content

Commit c8c743a

Browse files
committed
更新了Linux部分的资料
1 parent 0d528a3 commit c8c743a

File tree

5 files changed

+26
-13
lines changed

5 files changed

+26
-13
lines changed
353 KB
Loading

Day31-35/res/pdp-7.png

1.89 MB
Loading

Day31-35/res/punch-card.png

-957 KB
Binary file not shown.

Day31-35/玩转Linux操作系统.md

+26-13
Original file line numberDiff line numberDiff line change
@@ -38,21 +38,29 @@
3838

3939
9. 1991年:Linus Torvalds就读于芬兰赫尔辛基大学期间,尝试在Minix上做一些开发工作,但因为Minix只是作为教学用途的功能并不强,为了方便在学校的主机的新闻组和邮件系统中读写和下载文件,Linus编写了磁盘驱动程序和文件系统,这些成为了Linux系统内核的雏形。
4040

41-
![](./res/Ken-Thompson.png)
41+
![](./res/Ken-Thompson.png)Ken L. Thompson (ken)
4242

43-
![](./res/dennis-ritchie.png)
43+
![](./res/dennis-ritchie.png)Dennis M. Ritchie (DMR)
4444

45-
![](./res/andrew-tanenbaum.png)
45+
![](./res/andrew-tanenbaum.png)Andrew S. Tanenbaum (ast)
4646

47-
![](./res/linus-torvalds.png)
47+
![](./res/linus-torvalds.png)Linus B. Torvalds
4848

49-
![](./res/punch-card.png)
49+
IBM公司生产的80栏打孔卡。
5050

51-
![](./res/ken-and-dennis.png)
51+
![](./res/ibm-col80-punched-card.png)
5252

53-
想了解更多操作系统的起源和发展,可以看看下面的操作系统家族图谱
53+
传说中的PDP-7
5454

55-
![](./res/history-of-os.png)
55+
![](./res/pdp-7.png)
56+
57+
Ken和Dennis正在PDP-11上工作。
58+
59+
![](./res/ken-and-dennis-pdp-11.png)
60+
61+
Unix操作系统家族图谱。
62+
63+
![](./res/history-of-unix.png)
5664

5765
### Linux概述
5866

@@ -179,14 +187,14 @@ Linux系统的命令通常都是如下所示的格式:
179187
calendar.py code error.txt hehe hello.c index.html myconf result.txt
180188
```
181189

182-
> **说明**:如果希望用户能够以管理员身份执行命令,用户必须在sudoers(/etc/sudoers)名单中
190+
> **说明**:如果希望用户能够以管理员身份执行命令,用户必须被添加到sudoers名单中,该文件在 `/etc`目录下
183191
184192
8. 登入登出相关 - **logout** / **exit** / **adduser** / **userdel** / **passwd** / **ssh**
185193

186194
```Shell
187195

188-
[root@izwz97tbgo9lkabnat2lo8z ~]# adduser jackfrued
189-
[root@izwz97tbgo9lkabnat2lo8z ~]# passwd jackfrued
196+
[root@izwz97tbgo9lkabnat2lo8z ~]# adduser hellokitty
197+
[root@izwz97tbgo9lkabnat2lo8z ~]# passwd hellokitty
190198
Changing password for user jackfrued.
191199
New password:
192200
Retype new password:
@@ -215,6 +223,13 @@ Linux系统的命令通常都是如下所示的格式:
215223
216224
11. 查看历史命令 - **history**。
217225
226+
```Shell
227+
228+
229+
```
230+
231+
> 说明:查看到历史命令之后,可以用`!历史命令编号`来重新执行该命令。
232+
218233
### 实用程序
219234
220235
#### 文件和文件夹操作
@@ -289,8 +304,6 @@ Linux系统的命令通常都是如下所示的格式:
289304
[root@iZwz97tbgo9lkabnat2lo8Z ~]# cat record.log | grep AAA | grep -v BBB | wc -l
290305
```
291306
292-
293-
294307
2. 输出重定向和错误重定向 - **\>** / **2\>**。
295308
296309
3. 输入重定向 - **\<**。

0 commit comments

Comments
 (0)