摘要:
参数 -e 表示处理转义字符 格式如下所示: echo -e "\033[41;37mRET: boot: sensor: cardv: ui: proj: \033[0m" echo -e "\e[32;41mThis is red text\e[0m" \e 等价于 \033 等价于 \x1B 阅读全文
posted @ 2023-06-27 16:09
starc的miao
阅读(42)
评论(0)
推荐(0)
摘要:
## df - df -T - df -h ## du - du -h --max-depth=1 file ## wc - wc -c file 阅读全文
posted @ 2023-06-27 10:09
starc的miao
阅读(16)
评论(0)
推荐(0)
摘要:
新建用户 useradd -m starc passwd asdasd 将用户添加到sudo组 方法一 cd /etc/sudoers chmod u+w sudoers vim sudoers Line: root ALL=(ALL) ALL chmod u-w sudoers 方法二 userm 阅读全文
posted @ 2023-06-27 09:48
starc的miao
阅读(12)
评论(0)
推荐(0)

浙公网安备 33010602011771号