Linux命令(4):cat命令
生活随笔
收集整理的這篇文章主要介紹了
Linux命令(4):cat命令
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
1、作用:連接并顯示指定的一個和多個文件的有關信息;
2、格式:cat [選項] 文件1 文件2 ...
其中文件1、文件2為要顯示的多個文件;
3、常見參數:
4、使用實例:
[youname@www yul]$ cat -n hello1.c hello2.c
1 #include <stdio.h>
2 void main()
3 {
4 printf("Hello!This is my home!\n");
5 }
6 #include <stdio.h>
7 void main()
8 {
9 printf("Hello!This is your home!\n");
10 ??}
在該實例中,指定對 hello1.c 和 hello2.c 進行輸出,并指定行號。
轉載于:https://www.cnblogs.com/wangliangliang/p/3956269.html
總結
以上是生活随笔為你收集整理的Linux命令(4):cat命令的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: css3 transform rotat
- 下一篇: psql