上一页 1 ··· 20 21 22 23 24 25 26 27 28 ··· 32 下一页
摘要: 进程各种id:pid、pgid、sid、全局pid、局部pid https://blog.csdn.net/qq_33160790/article/details/81346663 阅读全文
posted @ 2021-07-17 15:01 michaelchengjl 阅读(369) 评论(0) 推荐(0) 编辑
摘要: Cmake,Makefile https://www.jianshu.com/p/2bdcd7d7b164 https://yearn.xyz/posts/tools/bazelcmake/ https://zhuanlan.zhihu.com/p/492932151 https://www.cnb 阅读全文
posted @ 2021-07-16 11:16 michaelchengjl 阅读(24) 评论(0) 推荐(0) 编辑
摘要: Jenkins详细教程 TBD @me https://www.jenkins.io/doc/book/getting-started/ https://www.jenkins.io/zh/doc/tutorials/ https://www.jianshu.com/p/5f671aca2b5a h 阅读全文
posted @ 2021-07-13 10:49 michaelchengjl 阅读(76) 评论(0) 推荐(0) 编辑
摘要: Shell脚本中$0、\(?、\)!、$$、\(*、\)#、$@等的意义以及linux命令执行返回值代表意义 Shell脚本中$0、\(?、\)!、$$、\(*、\)/#、$@等的意义说明 简要说明 ps: 你在Linux环境下多试下就明白了 $$ Shell本身的PID(ProcessID,即脚本 阅读全文
posted @ 2021-07-12 14:17 michaelchengjl 阅读(1320) 评论(0) 推荐(0) 编辑
摘要: Ubuntu 设置sudo 免密码 一. 修改sudoers的权限 sudo cp /etc/sudoers . sudo chmod 744 sudoers 二. 修改sudoers 文件 sudo visudo sudoers # 在文件最后一行添加yourusername ALL=(ALL) 阅读全文
posted @ 2021-07-09 17:23 michaelchengjl 阅读(3641) 评论(0) 推荐(0) 编辑
摘要: Ubuntu 系统基本操作 查看linux机器是否重启过,查看linux系统重启时间 last reboot 出现多条结果,最上边的一条便是最后一次重启的时间,这条命令可以查看多次重启操作 who -b 查看最后一次重启时间 syslog日志服务 sudo rm /var/log/syslog 清除 阅读全文
posted @ 2021-07-08 16:44 michaelchengjl 阅读(223) 评论(0) 推荐(0) 编辑
摘要: Linux C/C++调用shell命令后获取shell返回值 项目中C/C调用shell命令后,某系处理返回值的过程是以“临时文件”的方式进行;即shell命令执行后将返回值存放在临时文件(如temp.txt),C/C程序再访问文件,获取shell的返回值。最经典的就是调用WiFi(iwlist 阅读全文
posted @ 2021-07-07 20:30 michaelchengjl 阅读(3580) 评论(0) 推荐(0) 编辑
摘要: git/github 常用操作 1. git删除远程文件夹或文件的方法 预览将要删除的文件 git rm -r -n --cached 文件/文件夹名称 加上 -n 这个参数,执行命令时,是不会删除任何文件,而是展示此命令要删除的文件列表预览。 确定无误后删除文件 git rm -r --cache 阅读全文
posted @ 2021-07-02 19:53 michaelchengjl 阅读(48) 评论(0) 推荐(0) 编辑
摘要: Ubuntu sudoer文件改错补救方法! 修改sudoer文件时不小心改错了然后系统报错 /etc/sudoer.tmp 中第31行附近有解析错误 … 补救修改方法: 打开shell编辑器,输入pkexec visudo会提示输入用户密码,然后进入sudoer的编辑界面。 修改错误后按键Ctri 阅读全文
posted @ 2021-06-29 20:27 michaelchengjl 阅读(164) 评论(0) 推荐(0) 编辑
摘要: Linux Expect 用法 1. 基本介绍 expect是建立在tcl基础上的一个自动化交互套件, 在一些需要交互输入指令的场景下, 可通过脚本设置自动进行交互通信. 其交互流程是: spawn启动指定进程 → expect获取指定关键字 → send想指定进程发送指定指令 → 执行完成, 退出 阅读全文
posted @ 2021-06-18 17:32 michaelchengjl 阅读(1108) 评论(0) 推荐(0) 编辑
上一页 1 ··· 20 21 22 23 24 25 26 27 28 ··· 32 下一页