command: cat
usage: concatenate files and print on the standard output

syntax: cat [OPTION]... [FILE]...

examples:

1. To display options and help for this command

    $ cat --help

2. To create a new file

     $ cat > sample1.txt

3. To append data into the file

     $ cat >> sample1.txt

4. To display a file

     $ cat sample1.txt

5. To concatenate several files and display

     $ cat sample1.txt sample2.txt

6. To concatenate several files and to transfer the output to another file

     $ cat sample1.txt sample2.txt > sample3.txt

regards,
dhanasekar
_______________________________________________
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
ILUGC Mailing List Guidelines:
http://ilugc.in/mailinglist-guidelines

Reply via email to