Programming Tutorials

cat in Mac OS X

By: Strauss K in macos Tutorials on 2011-02-03  

cat is a command in Mac OS X and other Unix-like operating systems that is used to concatenate and display the contents of files. The cat command takes one or more filenames as arguments and outputs their contents to the terminal.

Here's an example:

$ cat file1.txt file2.txt
This is the contents of file1.txt
This is the contents of file2.txt

In this example, the cat command is used to display the contents of two files, file1.txt and file2.txt, on the terminal.

Add Comment

* Required information


No comments yet. Be the first!

Most Viewed Articles (in macos )

Latest Articles (in macos)