
Shell
文章平均质量分 95
Wizard Rubick
这个作者很懒,什么都没留下…
展开
-
sh-忽然想到bash变量的作用域?解答,每个shell都有系统公用的环境变量拷贝,但是不会返回给父shell
https://stackoverflow.com/questions/124167/bash-variable-scopehttp://tldp.org/LDP/abs/html/subshells.html#SUBSHELL原创 2018-12-23 16:06:56 · 209 阅读 · 0 评论 -
python-文件读写-crontab
目录 文件python全局变量的使用打开方式 r w a +crontab 一波未平和 * 0区别、小坑os.path modulehttps://docs.python.org/3/library/os.path.html?highlight=whereismygirlfriend#module-os.pathos.path.isdir(path) os.path...原创 2019-01-09 23:27:46 · 687 阅读 · 0 评论 -
shell 命令/程序 CheatSheet
很多时候我们只是不知道/忘了有这么个东西!这些都是我需要时从网上找的,从哪里来回哪里去。echo不换行 echo -e echo颜色 echo -e \033[36m红色\033[0mlsof lsof -i tcp lsof filename lsof -u ubuntu lsof -p pid lsof -c programname查看一个进程的环境变量 cat /proc/<.........原创 2019-11-24 00:07:40 · 2205 阅读 · 2 评论