计算机组成 硬件+软件 硬件 CPU 内存 主板 IO设备 I input 输入设备 键盘、鼠标 O Output 输出设备 显示器、音响 软件 系统软件 windows linux os 应用软件 QQ 微信 英雄联盟 常用快捷键 Ctrl+c 复制 Ctrl+v 粘贴 Ctrl+x 剪切 Ctr ...
分类:
其他好文 时间:
2021-04-22 16:24:14
阅读次数:
0
linux shell脚本中流程控制语句 if、for、while、case 1、if语句 [root@centos7 test2]# ls test.sh [root@centos7 test2]# pwd /home/test2 [root@centos7 test2]# cat test.sh ...
分类:
系统相关 时间:
2021-04-22 16:20:40
阅读次数:
0
1.内核为每个进程给了两个位图,一个为mask(默认为1),一个为pending(默认为0) 2.当内核态转到用户态时,检测是否有信号,用mask & pending得到结果,如果没有接到信号,那么结果为32位的0,此时通过内核中保存的地址返回原进程。 3.当有一个信号来时,pending中对应位置 ...
分类:
系统相关 时间:
2021-04-22 16:17:45
阅读次数:
0
快速排序: 1、执行流程(一趟快排): 2、一趟快排的结果:获得一个枢纽,在此左边皆小于此数,在此右边皆大于此数,因此可以继续使用递归获得最终的序列。 ...
分类:
编程语言 时间:
2021-04-22 16:00:56
阅读次数:
0
1、列表的排序 a = [1,2,3,4,9,7,6,5,8] a.sort() #默认升序排列,对象不变,元素排序 a.sort(reverse=True) #降序排序 import random #打乱,随机排序 random.shuffle(a) 用法二、 a = sorted(a) #默认升 ...
分类:
编程语言 时间:
2021-04-22 15:55:48
阅读次数:
0
问题描述 安装curl时候: The following packages have unmet dependencies: curl : Depends: libcurl4 (= 7.68.0-1ubuntu2.5) but 7.68.0-1ubuntu4 is to be installed E ...
分类:
系统相关 时间:
2021-04-22 15:55:24
阅读次数:
0
1、read从键盘读入 [root@centos7 test]# echo $a [root@centos7 test]# read a 123456 [root@centos7 test]# echo $a 123456 2、-p 参数 加入提示 [root@centos7 test]# unse ...
分类:
系统相关 时间:
2021-04-22 15:41:37
阅读次数:
0
Linux系统调用表 记录下来,免得到处找 32位 int 0x80 %eax Name Source %ebx %ecx %edx %esx %edi 1 sys_exit kernel/exit.c int - - - - 2 sys_fork arch/i386/kernel/process. ...
分类:
系统相关 时间:
2021-04-22 15:36:36
阅读次数:
0
并发执行-并发编程 ###1.物理机 01.Windows NumberOfCores NumberOfLogicalProcessors cpu个数 是指物理上安装了几个cpu,一般的个人电脑是安装了1个cpu cpu内核数 是指物理上,一个cpu芯片上集成了几个内核单元,现代cpu都是多核的。 ...
分类:
编程语言 时间:
2021-04-22 15:31:55
阅读次数:
0
摘要:Linux内存非法访问检查工具上新了:KFence Linux的4月份基本都是在Linux 5.12的开发版本中度过的。如果要说这个期间Linux有什么让人印象深刻的特性或者功能,那KFence一定会有一席之地。 KFence,全称Memory Safety Error Checking,之所 ...
分类:
系统相关 时间:
2021-04-22 15:25:36
阅读次数:
0