[root@6 ~]# man catCAT

(1)                           User Commands                          CAT(1)

NAME

cat - concatenate files and print on the standard output

//vt.连结;使连锁; adj. 连结的;连锁的

//连接文件和标准输出打印

SYNOPSIS//摘要,概要,大纲

cat [OPTION]... [FILE]...

DESCRIPTION

Concatenate FILE(s), or standard input, to standard output.

-A, --show-all

equivalent to -vET//-A=-vET

6 ~]# cat -A test2.txt

This is rootkdssafkddfsdfsd$

dsfsdgg$

dsfsf$

The user is mrooooter is a dog's name$

$

$

chroot is a command$

mrooter is not a word$

$

-b, --number-nonblank

number nonempty output lines//带行号输出非空的行数

]# cat -b test2.txt

1  This is rootkdssafkddfsdfsd

2  dsfsdgg

3  dsfsf

4  The user is mrooooter is a dog's name

5  chroot is a command

6  mrooter is not a word

-e     equivalent to -vE//-e = -vE

~]# cat -e test2.txt

This is rootkdssafkddfsdfsd$

dsfsdgg$

dsfsf$

The user is mrooooter is a dog's name$

$

$

chroot is a command$

mrooter is not a word$

$

-E, --show-ends

display $ at end of each line//在结尾出显示$

~]# cat -E test2.txt

This is rootkdssafkddfsdfsd$

dsfsdgg$

dsfsf$

The user is mrooooter is a dog's name$

$

$

chroot is a command$

mrooter is not a word$

$

-n, --number

number all output lines//带行号显示所有行

~]# cat -n test2.txt

1  This is rootkdssafkddfsdfsd

2  dsfsdgg

3  dsfsf

4  The user is mrooooter is a dog's name

5

6

7  chroot is a command

8  mrooter is not a word

9

-s, --squeeze-blank

suppress repeated empty output lines//抑制重复空行输出,有两个空行,只输出一个空行

~]# cat -s test2.txt

This is rootkdssafkddfsdfsd

dsfsdgg

dsfsf

The user is mrooooter is a dog's name

chroot is a command

mrooter is not a word

-t     equivalent to -vT//-t=-vT

[root@6~]# cat -t test2.txt

This is rootkdssafkddfsdfsd

dsfsdgg

dsfsf

The user is mrooooter is a dog's name

chroot is a command

mrooter is not a word

[root@6 ~]# cat -vt test2.txt

This is rootkdssafkddfsdfsd

dsfsdgg

dsfsf

The user is mrooooter is a dog's name

chroot is a command

mrooter is not a word

-T, --show-tabs

display TAB characters as ^I//

[root@oldboy6 ~]# cat -T test2.txt

This is rootkdssafkddfsdfsd

dsfsdgg

dsfsf

The user is mrooooter is a dog's name

chroot is a command

mrooter is not a word

[root@6 ~]#

-u     (ignored)

-v, --show-nonprinting

use ^ and M- notation, except for LFD and TAB

//使用 ^ 和 M- 引用,除了 LFD 和 TAB 之外

--help display this help and exit

--version

output version information and exit

With no FILE, or when FILE is -, read standard input.

EXAMPLES

cat f - g

Output f’s contents, then standard input, then g’s contents.

//输出f'的内容,然后标准输入,然后g的内容。操作只显示第一个文件的内容

cat    Copy standard input to standard output.

AUTHOR

Written by Torbjorn Granlund and Richard M. Stallman.

REPORTING BUGS

Report cat bugs to bug-coreutils@gnu.org

GNU coreutils home page:

General help using GNU software:

Report cat translation bugs to

COPYRIGHT

Copyright    2010  Free  Software Foundation, Inc.  License GPLv3+: GNU GPL

version 3 or later .

This is free software: you are free to change and redistribute it.  There is

NO WARRANTY, to the extent permitted by law.

SEE ALSO

The  full  documentation  for cat is maintained as a Texinfo manual.  If the

info and cat programs are properly installed at your site, the command

info coreutils 'cat invocation'

should give you access to the complete manual.

GNU coreutils 8.4                November 2013                          CAT(1)

(END)

------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

[rooty6 ~]# cat --help

Usage: cat [OPTION]... [FILE]...

Concatenate FILE(s), or standard input, to standard output.

-A, --show-all           equivalent to -vET

-b, --number-nonblank    number nonempty output lines

-e                       equivalent to -vE

-E, --show-ends          display $ at end of each line

-n, --number             number all output lines

-s, --squeeze-blank      suppress repeated empty output lines

-t                       equivalent to -vT

-T, --show-tabs          display TAB characters as ^I

-u                       (ignored)

-v, --show-nonprinting   use

^ and M- notation, except for LFD and TAB

--help     display this help and exit

--version  output version information and exit

With no FILE, or when FILE is -, read standard input.

Examples:

cat f - g  Output f's contents, then standard input, then g's contents.

cat        Copy standard input to standard output.

Report cat bugs to bug-coreutils@gnu.org

GNU coreutils home page:

General help using GNU software:

For complete documentation, run: info coreutils 'cat invocation'

征途linux编译错误,Linux征途:每天一个linux命令相关推荐

  1. 【技术分享篇】Linux内核——手把手带你实现一个Linux内核文件系统丨Linux内核源码分析

    手把手带你实现一个Linux内核文件系统 1. 内核文件系统架构分析 2. 行行珠玑,代码实现 [技术分享篇]Linux内核--手把手带你实现一个Linux内核文件系统丨Linux内核源码分析 更多L ...

  2. (随时增加)linux编译错误集锦

    1.Error: Invalid function arguments provided. 错误原因:传递参数过程有错误 解决办法: a.走读代码,或者gdb调试,加打印,分析打印出现前后文的代码接口 ...

  3. linux的错误日志在哪里,在linux中怎么查看错误日志

    cat或者 tail -f命令 日 志 文 件 说 明 /var/log/message 系统启动后的信息和错误日志,是Red Hat Linux中最常用的日志之一 /var/log/secure 与 ...

  4. linux 编译链接过程,编译程序 一:linux程序编译过程(一)-编译和链接

    大家肯定都知道计算机程序设计语言通常分为机器语言.汇编语言和高级语言三类.高级语言需要通过翻译成机器语言才能执行,而翻译的方式分为两种,一种是编译型,另一种是解释型,因此我们基本上将高级语言分为两大类 ...

  5. linux 编译报错 not a directory,Linux常见英文报错中文翻译

    Linux常见英文报错中文翻译(菜鸟必知) 1.command not found 命令没有找到 2.No such file or directory 没有这个文件或目录 3.Permission ...

  6. linux ls 中文乱码_每天一个linux命令:Linux文件类型与扩展名

    Linux文件类型和Linux文件的文件名所代表的意义是两个不同的概念.我们通过一般应用程序而创建的比如file.txt.file.tar.gz ,这些文件虽然要用不同的程序来打开,但放在Linux文 ...

  7. linux系统死亡之平台,又一个Linux发行版宣告死亡

    现在越来越多的人都在使用基于Linux的操作系统,Win 10的用户反馈一直不好,所以这种现象就见怪不怪了.按理来说,在这种情况下,Linux应该能借机发展,然而并没有,例如,Linux Mint 开 ...

  8. linux服务器如何访问,如何连接一个Linux服务器

    如何连接一个Linux服务器 本文中提到的Linux服务器,是一台安装Ubuntu系统的工作站. Linux服务器端准备工作 首先需要在Linux服务器上安装openssh-server,打开Linu ...

  9. 征途linux编译错误,征途误事-山外メ雲ジ-ChinaUnix博客

    1.使用mini2440, 用 SD 卡作根文件系统时,拷贝别人弄好的文件系统后,开机遇到这样的警告: WARNING: Unable to open an initial console ,而且串口 ...

最新文章

  1. MQTT的学习研究(五) MQTT moquette 的 Blocking API 发布消息服务端使用
  2. Nat. Genet. | 基于遗传学主导的方法定义免疫相关性状的药物靶标
  3. Makefile完全解析PART5.使用变量
  4. python中的is判断引用的对象是否一致,==判断值是否相等
  5. Tomcat+nginx+keepalived+memcached实现双VIP负载均衡及Session会话保持
  6. 《快活帮》第二次作业:团队项目选题报告
  7. hmcl整合包导入_我只用了一篇文章就完成了Spring+SpringMVC+MyBatis详细整合教程
  8. access查询设计sol视图_access查询类型分哪几种?
  9. 标准差公式中,分母是n还是n-1?
  10. 今天再发一下热门关键字,看看能否推广网站
  11. BZOJ 1140 POI2009 KOD 编码 DFS
  12. 组装http报文调用小黄鸡网页端消息接口
  13. 机器学习模型效果评估指标与方法介绍
  14. 正则表达式 /^[0-9]+$/
  15. 浅谈信息无障碍人才的培养
  16. 网络变压器在以太网中的作用
  17. 传奇私服服务器怎么增加npc,传奇私服装备打造NPC设置方法
  18. 2018华为网赛复赛感想
  19. 深入浅出MySQL BINLOG
  20. 从EM到VI到AE到VAE

热门文章

  1. 临时设置emacs prelude里tab的大小
  2. Web3漏洞赏金平台
  3. 利用 exploit-db 交叉编译 shellcode
  4. python画一个心形照片墙怎么摆_心形照片墙怎么摆
  5. 什么是性能测试?为什么要进行性能测试?什么时候开展性能测试?性能测试流程是什么?性能测试有关术语是什么意思?
  6. python KS检验:检验数据是否服从指定分布;或两份数据源于同一分布
  7. lwip下载官方网站
  8. 身份证号码正则匹配(正则表达式)
  9. Springboot+Mysql游戏道具管理系统
  10. linux 命令行随机数,Linux系统产生随机数的6种方法