shell进程会在其会话中保存此前用户提交并执行过的命令 可以使用~]# history进行查看,history命令本身属于shell的内嵌命令 命令历史可分为内存中的历史命令以及历史文件中的历史命令,其容量默认大小均为1000条(可修改),从主机开机到关机的这段时间中所用到的命令会保存在内存中,关 ...
分类:
其他好文 时间:
2019-10-07 13:38:11
阅读次数:
88
参考教程: 1)https://www.runoob.com/w3cnote/pycharm-windows-install.html 2)https://blog.csdn.net/c_shell_python/article/details/79647627 1、python官网(https:/ ...
分类:
编程语言 时间:
2019-10-07 13:09:27
阅读次数:
74
http://blog.chinaunix.net/uid-29460203-id-4191975.html https://www.xuebuyuan.com/1148403.html?mobile=1 https://www.cnblogs.com/gaojian/archive/2012/09 ...
分类:
系统相关 时间:
2019-10-06 23:19:50
阅读次数:
233
常用判断条件: (1)两个数的比较 = 字符串的比较 -lt 小于 -le 小于等于 -eq 等于 -gt 大于 -ge 大于等于 -ne 不等于 (2)按照文件权限进行判断 -r 有读的权限 -w 有写的权限 -x 有执行的权限 (3)按照文件类型进行判断 -f 文件存在并且是一个常规文件 -e ...
分类:
系统相关 时间:
2019-10-06 23:18:22
阅读次数:
175
1."$((运算式))"或"[运算式]" 2.expr m + n 注意:expr运算符要有空格 3.expr m - n 4.expr \*,/,/% 乘,除,取余 应用实例: 1.计算(2+3)*4的值 运行后 运行后 2.求出两个参数的和 运行后 ...
分类:
系统相关 时间:
2019-10-06 20:25:56
阅读次数:
81
代码一:@echo off(cd /d "%~dp0")&&(NET FILE||(powershell start-process -FilePath '%0' -verb runas)&&(exit /B)) >NUL 2>&1title Office 2019 Activator r/Pira... ...
分类:
其他好文 时间:
2019-10-06 20:25:27
阅读次数:
1973
1.在(parent,上层的)makefile中export出来变量,子makefile(sub make)中,是可以访问的。 2. 而同一级别的makefile(可通过makefile中内置变量MAKELEVEL查看得知当前makefile的levlel),是无法通过export来传递变量的,即一 ...
分类:
其他好文 时间:
2019-10-06 20:19:22
阅读次数:
122
场景:当部署完.netcore程序后 使用dotnet xx.dll 后可以运行,但关闭shell或隔断时间会自动断开,此时部署的.netcore程序就不能访问了,此时需要用到Supervisor了 Supervisor(http://supervisord.org/)是用Python开发的一个cl ...
分类:
Web程序 时间:
2019-10-06 18:47:28
阅读次数:
149
BASH Programming - Introduction HOW-TO http://tldp.org/HOWTO/Bash-Prog-Intro-HOWTO.html For parcticing, you can check out this website called hackerra ...
分类:
系统相关 时间:
2019-10-06 15:05:22
阅读次数:
89
详解shell脚本括号区别--$()、$「 」、$「 」 、$(()) 、「 」 、「[ 」] 原创 波波说运维 2019-07-31 00:01:00 https://www.toutiao.com/i6716847801076023815/ 概述 很多时候我们在写shell脚本的时候总会碰到不同 ...
分类:
系统相关 时间:
2019-10-06 11:20:38
阅读次数:
68