码迷,mamicode.com
首页 >  
搜索关键字:shell 两个数比较大小    ( 28207个结果
基本的dos命令
powershell快捷打开方式 powershell打开:在任意目录下,按住shift,然后右键,选择“在此处打开powershell”即可 常用dos命令 #盘符切换 d:\ ...
分类:其他好文   时间:2021-04-23 12:05:00    阅读次数:0
linux shell while循环
1、测试1 [root@centos7 test2]# i=0 [root@centos7 test2]# max=5 [root@centos7 test2]# while((i<max));do echo $i;((i++));done 0 1 2 3 4 ...
分类:系统相关   时间:2021-04-23 12:03:54    阅读次数:0
adb 截屏和录屏
1、截屏 adb shell screencap -p /sdcard/a.png 2、录屏 adb shell screenrecord /sdcard/a.mp4 ...
分类:数据库   时间:2021-04-23 11:57:08    阅读次数:0
linux shell if语句
1、测试1 [root@centos7 test2]# ls a.txt [root@centos7 test2]# if [ -e a.txt ]; then echo "exist";else echo "no nxist"; fi exist [root@centos7 test2]# if ...
分类:系统相关   时间:2021-04-23 11:53:02    阅读次数:0
linux shell脚本中流程控制语句 if 、for、while、case
linux shell脚本中流程控制语句 if、for、while、case 1、if语句 [root@centos7 test2]# ls test.sh [root@centos7 test2]# pwd /home/test2 [root@centos7 test2]# cat test.sh ...
分类:系统相关   时间:2021-04-22 16:20:40    阅读次数:0
Shell工具(cut,sed)
Shell工具 cut:可以切割提取指定列\字符\字节的数据 cut可以将文本按列进行划分的文本处理,cut命令逐行度入文本,然后按列划分字段并进行提取,输出等操作 选项参数: -f 提取范围 列号,获取第几列 -d 自定义分隔符 自定义分隔符,默认为制表符 -c 提取范围 以字符为单位进行分割 - ...
分类:系统相关   时间:2021-04-22 16:20:19    阅读次数:0
后台启动
直接用java -jar xxx.jar,当退出或关闭shell时,程序就会停止掉。以下方法可让jar运行后一直在后台运行。 1. java -jar xxx.jar & 说明: 在末尾加入 & 符号 2. (1)执行java -jar xxx.jar后 (2)ctrl+z 退出到控制台,执行 bg ...
分类:其他好文   时间:2021-04-21 11:58:31    阅读次数:0
shell 时间
#不要加空格 time1=$(date) echo $time1 > /tmp/output.txt ...
分类:系统相关   时间:2021-04-21 11:49:37    阅读次数:0
Mac下CoreShell使用lrzsz命令
Mac下Core Shell 使用lrzsz命令,上传,下载文件 新增~/.bashrc_Core_Shell # Bash support for Core Shell, reference: /etc/bashrc_Apple_Terminal on macOS # Report Working ...
分类:系统相关   时间:2021-04-20 15:02:28    阅读次数:0
bash特殊变量
bash特殊变量 变量 含义 $0 函数名 \(n | n>=1,表示第一个、第二个、第n个参数、\)(10) $@ 全部参数 $* 全部参数 $# 参数个数 $_ 上一个命令的最后一个参数 $$ 当前shell进程ID $? 上一个命令的返回值 ...
分类:其他好文   时间:2021-04-20 14:55:25    阅读次数:0
28207条   上一页 1 ... 12 13 14 15 16 ... 2821 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!