摘要: bool upsidedown_list(LinkList L) { Lnode *head, *tmp, *oldhead; head = L; tmp = L->next; oldhead = L; while (tmp) { oldhead->next = tmp->next; tmp->ne 阅读全文
posted @ 2021-04-20 20:07 傻子爸爸 阅读(69) 评论(0) 推荐(0) 编辑
摘要: nohup和&的区别& : 指在后台运行 nohup : 不挂断的运行,注意并没有后台运行的功能,,就是指,用nohup运行命令可以使命令永久的执行下去,和用户终端没有关系,例如我们断开SSH连接都不会影响他的运行,注意了nohup没有后台运行的意思;&才是后台运行 &是指在后台运行,但当用户推出( 阅读全文
posted @ 2020-07-17 23:52 傻子爸爸 阅读(3141) 评论(0) 推荐(0) 编辑
摘要: 一、防火墙相关命令 1、查看防火墙状态 : systemctl status firewalld.service 注:active是绿的running表示防火墙开启 2、关闭防火墙 :systemctl stop firewalld.service 3、开机禁用防火墙自启命令 :systemctl 阅读全文
posted @ 2020-07-17 23:13 傻子爸爸 阅读(884) 评论(0) 推荐(0) 编辑