免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 836 | 回复: 0
打印 上一主题 下一主题

cat命令 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2008-12-04 12:54 |只看该作者 |倒序浏览

                NAME
       cat - 连接文件并且显示在标准输出,一般在linux下的标准输出是显示器,当然我们可以重定向
SYNOPSIS
       cat [OPTION] [FILE]...
DESCRIPTION
       连接文件或者标准输入并且显示到标准输出
       -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显示TAB键,用^I代替显示
              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.
               
               
               
               
               

本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u2/85268/showart_1679209.html
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP