Linux学习笔记-cat

NAME
cat - concatenate files and print on the standard output 连接文件或输入并以标准的输出打印
语法简单:SYNOPSIS
cat [OPTION]… [FILE]…
## equivalent 中文意思:等价的,对等的
输入cat 或 cat - 将复制标准的输入在打印标准的输出

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

  2. -b, --number-nonblank
    number nonempty output lines, overrides -n
    ##输出行号,除了空的输出行

  3. -e equivalent to -vE

  4. -E, --show-ends
    display $ at end of each line
    ##在每一行的结尾显示“$”字符

  5. -n, --number
    number all output lines
    ##显示所有行的行号,从1开始

  6. -s, --squeeze-blank
    suppress repeated empty output lines
    ##组织重复的空行输出,两行以上

  7. -t equivalent to -vT

  8. -T, --show-tabs
    display TAB characters as ^I
    ## 显示缩进字符

  9. -v, --show-nonprinting
    use ^ and M- notation, except for LFD and TAB
    ##除LFD和制表符外,使用^和M-符号

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值