版权为个人所有,欢迎转载如转载请说明出处.(东北大亨)
http://www.cnblogs.com/northeastTycoon/p/5513231.html
以下为读取文件信息做输出操作.
1. 建立文件名
文件名为: PRINT_DBDH_TEST.TXT 内容为: THIS IS TEST PRINT CONTENT CESHI!
2. 读取文件内容并且输出到命令行操作
(1) 文件读取输出
[root@localhost test]# echo $(cat PRINT_DBDH_TEST.TXT)
(2) 输出内容如下
THIS IS TEST PRINT CONTENT CESHI!