月度归档: 2022 年 11 月
tr和cut的使用
123ifconfig ens192 |grep ether| tr -s " "| cut -d ' ' -f3 | sed 's/^/MAC ADDRESS IS: /'
MAC ADDRESS IS: 00:0c:29:cf:d6:b1
# tr -s 将空格字……
linux 中 sed 的使用
再每一行中的末尾添加字符
sed 's/$/test/g' 1.txt ##每行末尾插入字符,正则表达式$代表末尾
sed 's/^/test/g' 1.xt ##每行末尾插入字符,正则表达式^代表末……
debian系统修改bash.bashrc 实现CRT 颜色输出,以及命令有颜色输出
修改全局路径
vim /etc/bash.bashrc
将以下内容加入到文件里面然后执行
source /etc/bash.bashrc
alias df='df -hT'
alias ls='ls --color=aut……
MAC OS 等系统的终端管理软件 类似secure crt
免费的开源的软件,很好用,Github上面已经40K的星星了。。
https://github.com/Eugeny/tabby/releases/tag/v1.0.186
TABBY