Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

Name

cat

Synopsis

    cat [options] [files
                      
]

Read one or more files and print them on standard output. Read standard input if no files are specified or if - is specified as one of the files; end input with EOF. Use the > shell operator to combine several files into a new file; >> appends files to an existing file.

Solaris and Mac OS X Options

-b

Like -n, but don’t number blank lines.

-e

Print a $ to mark the end of each line. Must be used with -v.

-n

Number lines.

-s

Suppress messages about nonexistent files. (Note: on some systems, -s squeezes out extra blank lines.)


  

You are currently reading a PREVIEW of this book.

                                                                                                                    

Get instant access to over $1 million worth of books and videos.

  

Start a Free 10-Day Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint