码迷,mamicode.com
首页 >  
搜索关键字:bash shell read    ( 57440个结果)
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
linux 系统中read命令
1、read从键盘读入 [root@centos7 test]# echo $a [root@centos7 test]# read a 123456 [root@centos7 test]# echo $a 123456 2、-p 参数 加入提示 [root@centos7 test]# unse ...
分类:系统相关   时间:2021-04-22 15:41:37    阅读次数:0
【事件类】雅思口语
【事件】 bike trip Describe an unforgettable bike trip you had You should say: When and where you had the trip Who you went with Why you had the trip by b ...
分类:其他好文   时间:2021-04-21 12:57:26    阅读次数:0
The Linux Command Line——9. 键盘高级操作技巧
自动补全: 当你敲入一个命令时,按下 tab 键,自动补全就会发生。 搜索历史命令: 在默认情况下,bash 会存储你所输入的最后 500 个命令。 找出和/usr/bin 这一目录相关的: 调用“88”所代表的这一行命令: bash 也具有增量搜索历史列表的能力。意思是在字符输入的同时,bash ...
分类:系统相关   时间:2021-04-21 12:13:52    阅读次数:0
linux 监控服务器流量
linux 监控服务器流量 #!/bin/bash ethn=$1 while true do RX_pre=$(cat /proc/net/dev | grep $ethn | sed 's/:/ /g' | awk '{print $2}') TX_pre=$(cat /proc/net/dev ...
分类:系统相关   时间:2021-04-21 12:03:54    阅读次数:0
Redis bash
常用的redis命令 select index 选择数据库 dbsize 查看数据库大小 flushdb 清空当前数据库 flushall 清空所有数据库 keys * 展示所有key Redis五大数据类型 Redis-Key set name airou #设置键值 ,skeys * #展示所有 ...
分类:其他好文   时间:2021-04-21 12:00:17    阅读次数: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
共57440条   上一页 1 ... 36 37 38 39 40 ... 5744 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!