test
-
npm 安装本地包、安装本地依赖
原文地址:https://blog.csdn.net/yihanzhi/article/details/121268517 npm 安装本地包 # 本地依赖文件(相对路径) np…
-
linux中创建自定义函数、加载自定义函数、调用自定义函数
1、创建自定义函数 格式: function name { command } [root@rhel7pc1 test]# ls test.sh [root@rhel7pc…
-
linux系统中系统环境变量和自定义变量
1、查看系统环境变量:env、export 2、查看自定义变量: set、declare 测试系统环境变量: [root@rhel7pc1 test]# ls [root@…
-
linux中取随机数
1、$RANDOM $RANDOM 的默认范围是 [0, 32767] [root@rhel7pc1 test]# echo $RANDOM % 100 + 1 | bc 80…
-
linux中如何统计文本字符的总个数
1、测试数据 [root@centos7 test3]# ls test.txt [root@centos7 test3]# cat test.txt deet dggh df…
-
linux awk命令统计行数和列数
1、测试数据 [root@centos7 test4]# ls test.txt [root@centos7 test4]# cat test.txt d j k j x m …
-
linux中输出匹配行的行号
1、测试数据 [root@centos7 test4]# ls test.txt [root@centos7 test4]# cat test.txt e f j d i x …
-
虚拟机与 NOI Linux 食用指南
持续更新中。。。 咱也不会太高深的,就随便记一些常用的就好。 虚拟机软件为 Virtual Box。 快捷键 Ctrl+Alt+t 打开终端。 编译相关命令 无限栈,这条命令单独输…
-
MySQL or 和 in 的效率对比
or和in的效率对比 结论:对于索引字段or或者in的效率基本一致,非索引字段in的效率优于or (1)or的效率为O(n), (2)in的效率为O(logn),当n越大的时候效率…
-
oracle实现自增的方法和碰到的问题
众所周知,Oracle是没有办法像Mysql里用AUTO_INCREMENT实现自增的。 但是Oracle可以通过序列实现自增。 –以下是oracle 12c的方法 create…