10 2021 档案

摘要:1.用户和用户标识之间的区别是什么? 用户是以某些方式利用Unix系统的人,用户标识是Unix判断用户的身份。简单来说用户标识是机器识别用的,可以简单理解为用户名 2.注销有哪4种不同的方式 logout,exit,ctrl_d,login 3.您怀疑有人在没经过授权的情况下使用了您的Unix账户。 阅读全文
posted @ 2021-10-22 15:25 就是想学习 阅读(42) 评论(0) 推荐(0) 编辑
摘要:1.最高的Unix终端使用什么类型的机器,为什么要选择这一类型的机器? 终端使用Teletype,选这个因为这个便宜 2.什么是终端室?为什么它们有必要存在? 就是一个房间有多个终端连接一台计算机的房间。因为那个时候计算机很贵,而且没有internet 3.什么是无头系统?列举两个在Internet 阅读全文
posted @ 2021-10-22 14:21 就是想学习 阅读(40) 评论(0) 推荐(0) 编辑
摘要:1.复习题 1.什么是操作系统 操作系统是运行计算机的总控制程序。操作系统的主要功能是高效地利用硬件。 2.什么是内核?列举内核执行的任务 内核是系统是换微信,一直运行并提供基本的服务。 内核执行的基本任务: 内存管理(虚拟内存管理,包括分页) 进程管理(进程创建、终止,调度) 进程间通信(本地、网 阅读全文
posted @ 2021-10-22 10:52 就是想学习 阅读(60) 评论(0) 推荐(0) 编辑
摘要:#include <stdio.h> #include <assert.h> #define MAX_N 10 int in_car_num = 0; struct cars{ int id; int in_time; }; void come_in_car(int c_id, int c_time 阅读全文
posted @ 2021-10-09 20:15 就是想学习 阅读(40) 评论(0) 推荐(0) 编辑
摘要:第一题 #include <stdio.h> int main(void){ printf("hello, world"); return 0; } 第二题 #include <stdio.h> int main(void){ printf("hello, world\c12"); return 0 阅读全文
posted @ 2021-10-09 20:14 就是想学习 阅读(53) 评论(0) 推荐(0) 编辑
摘要:自动寄存柜 #include <stdio.h> #include <time.h> #include <stdlib.h> struct boxs{ int id; int passwd; int is_used; }; void init_boxs(struct boxs *, int); in 阅读全文
posted @ 2021-10-07 21:13 就是想学习 阅读(40) 评论(0) 推荐(0) 编辑
摘要:#include <stdio.h> #include <string.h> int CE(char *c, char *e){ if (strcmp(c, "你好") == 0) { strcpy(e, "Hello\n"); return 1; } strcmp(e, "Sorry\n"); r 阅读全文
posted @ 2021-10-06 14:51 就是想学习 阅读(290) 评论(0) 推荐(0) 编辑
摘要:代码笔记,仅供自己学习使用。 下面是通过调用调用dirent的系统库实现,查看目录下内容的模块 #include "apue.h" #include <dirent.h> int main(int argc, char *argv[]){ DIR *dp; struct dirent *dirp; 阅读全文
posted @ 2021-10-01 22:06 就是想学习 阅读(46) 评论(0) 推荐(0) 编辑

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5
点击右上角即可分享
微信分享提示