摘要: #!/bin/env bash rootdir=/mnt/sysroot libcp() { for i in `ldd $1|grep -o '/[^[:blank:]]*'`;do libdir=`dirname $i` [[ -d $rootdir$libdir ]] || mkdir -p 阅读全文
posted @ 2021-05-09 11:51 ascertain 阅读(42) 评论(0) 推荐(0) 编辑
摘要: #!/bin/env bash username=$1 { id $username [[ $? -ne 0 ]] && useradd --comment '$username' $username && echo $username|passwd --stdin $username } >& / 阅读全文
posted @ 2021-05-09 11:47 ascertain 阅读(58) 评论(0) 推荐(0) 编辑
摘要: 显示->段落标记 段落 -- 中文板式 -- 允许西文在单词中间换行 阅读全文
posted @ 2021-05-09 08:54 ascertain 阅读(38) 评论(0) 推荐(0) 编辑