摘要: # Server(服务器信息)redis_version:3.0.0 #redis服务器版本redis_git_sha1:00000000 #Git SHA1redis_git_dirty:0 #Git dirty flagredis_build_id:6c2c390b97607ff0 #redis 阅读全文
posted @ 2021-07-29 16:04 扯不断得红尘 阅读(751) 评论(0) 推荐(0)
摘要: shell字符串的截取的问题:一、Linux shell 截取字符变量的前8位,有方法如下:1.expr substr “$a” 1 82.echo $a|awk ‘{print substr(,1,8)}’3.echo $a|cut -c1-84.echo $5.expr $a : ‘\(.\\) 阅读全文
posted @ 2021-07-29 13:46 扯不断得红尘 阅读(43) 评论(0) 推荐(0)