cat -n num.txt

nl -n num.txt

grep -n '.' num.txt

awk '{print NR" "$0}' num.txt

sed '=' /etc/rsyslog.conf

less -N num.txt

相关文章: