摘要:
1、创建测试数据 [root@centos7 test2]# touch {1..9}.txt [root@centos7 test2]# ls 1.txt 2.txt 3.txt 4.txt 5.txt 6.txt 7.txt 8.txt 9.txt 2、删除3.txt、7.txt外的其他文件 [ 阅读全文
摘要:
1、问题 [root@rhelpc1 home]# lsb_release -a bash: lsb_release: command not found... 2、解决方法 [root@rhelpc1 home]# yum install redhat-lsb -y Loaded plugins: 阅读全文
摘要:
1、首先查看yum仓库 [root@localhost home]# yum repolist all Loaded plugins: langpacks, product-id, subscription-manager This system is not registered to Red H 阅读全文
摘要:
1、查看当前网卡 [root@localhost Desktop]# ifconfig eno16777728: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 ether 00:0c:29:af:60:a0 txqueuelen 1000 ( 阅读全文
摘要:
1、找设置 2、点windows安全中心 3、点应用和浏览器控制 4、点击基于声誉的保护设置 5、关闭阻止可能不需要的应用 6、安装完软件重新开启即可。 阅读全文
摘要:
1、找设置 2、点windows安全中心 3、点应用和浏览器控制 4、点击基于声誉的保护设置 5、关闭阻止可能不需要的应用 6、安装完软件重新开启即可。 阅读全文
摘要:
1 编辑vim /etc/ssh/sshd_config文件 把PermitRootLogin Prohibit-password 添加#注释掉 新添加:PermitRootLogin yes 更改PermitEmptyPasswords为 no 2 然后重启ssh服务 service ssh re 阅读全文
摘要:
c语言中数组,一般数组。 1、什么是数组,数组有什么用? 为了方便处理而把类型相同的变量有序地组织起来的一种形式。 类型相同的元素集中起来,在内存上排成一条直线。 2、数组的声明。 元素类型、变量名和元素个数。 如 int a[4]. 3、数组的访问。 下标运算符; 如 a[4]. 4、数组的遍历。 阅读全文
摘要:
c语言中程序的循环控制,for语句。 1、输出从任一正整数到0的所有数字。 #include <stdio.h> int main(void) { int i; puts("please input an integer."); printf("i = "); scanf("%d", &i); fo 阅读全文
摘要:
c语言中程序的循环控制,while语句。 1、输出从任一正整数到0的所有数字 #include <stdio.h> int main(void) { int i; puts("please input an integer."); printf("i = "); scanf("%d", &i); w 阅读全文