cat is one of the most flexible command of UNIX. It can be used to create, concat and view file.
Sysnopsis
cat [OPTION] [FILE]
DESCRIPTION
Example: Create a new file address
cat >address
Sharif R#67, Dhaka -1207
Mizan R#123, Rajshahi
Example: To view the file addreaa
cat address
Example: Add text to addreaa
cat >>address
Shaila Godagari, Rajshahi
Example: To concat a file temp to another
cat temp>>address
Options
-e Print $ at the end of each line. This option must be used with -v.
-s Suppress messages pertaining to files that do not exist.
-t Display tab as ^I and form feed as ^L. This option must be used with -v.
-u Print output as unbuffered.
-v Display control characters and nonprinting characters
Java J2ME JSP J2EE Servlet Android