摘要: 脚本主要是方便自己工作使用,服务器环境中配置了hbase相关环境变量 1.hbase备份脚本 #!/bin/bash tableList=("table1" "table2" "table3" "table4" "table5") for table in ${tableList[@]} do hb 阅读全文
posted @ 2021-10-18 13:39 Bonnie_ξ 阅读(84) 评论(0) 推荐(0) 编辑
摘要: 安装dos2unix # centos yum -y install dos2unix # ubuntu apt-get install -y dos2unix 执行转换 # install.sh为我的脚本名字,自行改为自己的脚本名字即可 dos2unix ./install.sh 阅读全文
posted @ 2021-10-18 13:38 Bonnie_ξ 阅读(47) 评论(0) 推荐(0) 编辑
摘要: ps -ef | grep procedure_name | grep -v grep | awk '{print $2}' | xargs kill -9 阅读全文
posted @ 2021-10-18 13:36 Bonnie_ξ 阅读(131) 评论(0) 推荐(0) 编辑