There is a difference between Mac and CentOS above cat

Source: Internet
Author: User

There is a difference between Mac and CentOS above cat

Usage on Mac:

yuanlongair:~ ylchou$ cat--helpcat:illegal option---usage:cat [-BENSTUV] [File ...]


How to use Cat on centos6.5:

[email protected] ~]# cat--version

Cat (GNU coreutils) 8.4Copyright (C) Free Software Foundation, Inc. License: GPLV3+:GNU general Public License version 3rd or later 


There are more on CentOS than on Mac-A, E,-T, as follows:

[Root@zyl ~]# Cat--help

Usage: cat [options]... [file] ... Output the [file] or standard input combination to the standard output.   -A, --show-all            equals-vet   -b, --number-nonblank     number of non-null output lines   -e                         equals-ve  -e, --show-ends           displays "$" at the end of each line   -n, --number              Numbering all lines of output   -s, --squeeze-blank       not outputting multiple lines of blank lines   -t                          and-vt  equivalent   -T, --show-tabs            Display the ^i  -u      &nbs character as ap;                 (ignored)    -v, --show-nonprinting    use ^  and m-  references, except LFD and  TAB         --HELP displays this help information and exits       --version displays the version information and exits if no file is specified, or the file is "- ", then read from the standard input. Example:  cat f - g   outputs the contents of the f , then outputs the contents of the standard input, and finally outputs the contents of the g .   cat         Copy the contents of the standard input to the standard output. Please report cat  error to [email protected]  gnu coreutils  Project home: 


There is a difference between Mac and CentOS above cat

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.