cat linux commands code example
Example 1: cat command
# cat command be used to show, create and redirect the contents of file
# create file called test.txt and ask for input
cat >test.txt
# show command
cat text.txt
# Combinint multiple files into single files
cat text text2 text3 > text3
Example 2: cat command in linux
cat command allows us to
create single or multiple files,view contain of file, concatenate files and redirect output in terminal or files.