cat - concatenate files and print on the standard output
2017-11-21 15:32
281 查看
cat - concatenate files and print on the standard output
1. cat 文件合并 demo 1anchor.txt
positive.txt
negative.txt
strong@foreverstrong:~/TensorFlow/group_detection/simulation_data$ ll total 32 drwxrwxr-x 3 strong strong 4096 11月 21 15:03 ./ drwxrwxr-x 5 strong strong 4096 11月 15 10:07 ../ -rw-rw-r-- 1 strong strong 53 11月 21 15:04 anchor.txt -rw-rw-r-- 1 strong strong 63 11月 21 15:04 negative.txt -rw-rw-r-- 1 strong strong 59 11月 21 15:04 positive.txt strong@foreverstrong:~/TensorFlow/group_detection/simulation_data$ strong@foreverstrong:~/TensorFlow/group_detection/simulation_data$ cat anchor.txt positive.txt negative.txt > anp_group.txt strong@foreverstrong:~/TensorFlow/group_detection/simulation_data$
anp_group.txt
2. cat 文件合并 demo 2
anchor.txt
positive.txt
negative.txt
strong@foreverstrong:~/TensorFlow/group_detection/simulation_data$ cat anchor.txt positive.txt negative.txt > apn_group.txt
anp_group.txt
注意对比 cat 文件合并 demo1 和 demo 2.
3.
相关文章推荐
- 每日一命令(10)cat (concatenate files and print on the standard output)
- cat - concatenate files and print on the standard output
- A Novel Approach to Improvingthe Efficiency of Storing and Accessing Small Files on Hadoop: a Case S
- CRS-4258: Addition and deletion of voting files are not allowed because the voting files are on ASM
- VC编译错误:The source files "*\A.cpp " and "*\A.cpp " are both configured to produce the output file "*\
- The source files "*\A.cpp " and "*\A.cpp " are both configured to produce the output file "*\A.obj "
- print numbers on the screen.(show_str and dtoc function)
- CRS-4258: Addition and deletion of voting files are not allowed because the voting files are on ASM
- How are the icon files in my application bundle used on iPad and iPhone
- OpenCV_Tutorials——CORE MODULE.THE CORE FUNCTIONALITY—— File Input and Output using XML and YAML files
- The source files "*\A.cpp " and "*\A.cpp " are both configured to produce the output file "*\A.obj "
- How are the icon files in my application bundle used on iPad and iPhone?
- Find The Largest Top 10 Files and Directories on Linux
- [20160731]read a file and print it on the screen
- Unable to print reports as PDF files on the server using batch processing AX
- How to print colored output on the terminal
- Viewing text files on Linux - cat, head, tail, more and less
- The ThoughtWorks Anthology: Essays on Software Technology and Innovation
- Linux with HDMI video output on the ZED, ZC702 and ZC706 boards
- IIS7 and Apache on the same machine by Steve Schofield