Linux查看文件内容


 description

在Linux中查看 cmdhelp.txt 文件内容,并显示所有内容行号

 command

cat -n cmdhelp.txt

 parameter

cat : 输出文件内容
-n, --number : 编号所有输出行 

 result

     1  a
     2  b
     3  c
     4  d
     5  

I hope to help every developer quickly find the commands they need. Of course, you can also add your own commonly used commands for easy searching.