作者:kanney姜_958 | 来源:互联网 | 2023-08-10 18:17
cat-noldboy.txtnloldboy.txtless-Nnginx.confvioldboy.txtsetnugrep-n“.“oldboy.txtgrep-n“.*“o
cat -n oldboy.txt
nl oldboy.txt
less -N nginx.conf
vi oldboy.txt set nu
grep -n “. “ oldboy.txt
grep -n “. *“ oldboy.txt
awk ‘{print NR” “$0}’ oldboy.txt
sed ‘=’ /etc/rsyslog.conf
打印行号的8种命令方法