Linux man tar cn翻译

个人翻译


LS(1) User Commands LS(1)

NAME
名称
ls - list directory contents
列出所有的目录内容
SYNOPSIS
ls [OPTION]… [FILE]…
ls [选项] [文件]
DESCRIPTION
描述:
List information about the FILEs (the current directory by default). Sort entries alpha-
betically if none of -cftuvSUX nor –sort.
列出文件信息(当前目录为默认目录), 如果没有 -cftuvSUX 或 –sort
则按字母表顺序列出目录

   Mandatory arguments to long options are mandatory for short options too.
长选项和短选项都是必须的

   -a, --all
          do not ignore entries starting with .
    忽略以.开始的词目

   -A, --almost-all
          do not list implied . and ..
    不列出 . 和 ..
   --author
          with -l, print the author of each file
    加上 -l ,打印出每个文件的作者

   -b, --escape
          print octal escapes for nongraphic characters
    打印无图的八进制显示格式

   --block-size=SIZE
          use SIZE-byte blocks.  See SIZE format below
    使用字节块,看在SIZE一下大小的内容

   -B, --ignore-backups
          do not list implied entries ending with ~
    不打印以~结尾的词目

   -c     with -lt: sort by, and show, ctime (time of last modification of file status  infor-
          mation) with -l: show ctime and sort by name otherwise: sort by ctime
    加上 -lt,
    排序通过,展示,时间(文件状态信息中最后修改的时间)加上 -l:
    显示时间和通过名称排序

   -C     list entries by columns
    通过行的形式列出词目


   --color[=WHEN]
          colorize  the  output.  WHEN defaults to ‘always’ or can be ‘never’ or ‘auto’.  More
    输出颜色,默认选项是always,或者可以是 never或auto

…skipping…
SIZE may be (or may be an integer optionally followed by) one of following: KB 1000, K
1024, MB 1000*1000, M 1024*1024, and so on for G, T, P, E, Z, Y.
大小也许是(或者是 一个整数选项)其中的: KB 1000, K 1024, MB 1000*1000,
M 1024*1024, 还有其他 G,T,P,E,Z,Y等。

   Using  color  to distinguish file types is disabled both by default and with --color=never.
   With --color=auto, ls emits color codes only when standard output is connected to a  termi-
   nal.   The  LS_COLORS environment variable can change the settings.  Use the dircolors com-
   mand to set it.
使用颜色区分文件类型,通过默认使用 --color=never,和 --color=autols
,ls执行颜色代码只用当标准输出连接到终端。 这个ls_colors
环境值可以改变设置。 使用 dircolors命令设置

Exit status:
退出状态
0 if OK,
如果OK则为0
1 if minor problems (e.g., cannot access subdirectory),
如果一些小问题(例如不能连接子目录)则为 1
2 if serious trouble (e.g., cannot access command-line argument).
如果严重的问题(例如,不能接上命令行参数)


翻译时间:20170329

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值