博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
ls命令输出格式算法_ls命令
阅读量:2506 次
发布时间:2019-05-11

本文共 1124 字,大约阅读时间需要 3 分钟。

ls命令输出格式算法

Inside a folder you can list all the files that the folder contains using the ls command:

在文件夹内,您可以使用ls命令列出该文件夹包含的所有文件:

ls

If you add a folder name or path, it will print that folder contents:

如果添加文件夹名称或路径,它将打印该文件夹内容:

ls /bin

ls accepts a lot of options. One of my favorite options combinations is -al. Try it:

ls接受很多选择。 我最喜欢的选项组合之一是-al 。 试试吧:

ls -al /bin

compared to the plain ls, this returns much more information.

与普通的ls相比,它返回​​的信息更多。

You have, from left to right:

您具有从左到右的位置:

  • the file permissions (and if your system supports ACLs, you get an ACL flag as well)

    文件权限(如果系统支持ACL,则也会获得ACL标志)
  • the number of links to that file

    指向该文件的链接数
  • the owner of the file

    文件的所有者
  • the group of the file

    文件组
  • the file size in bytes

    文件大小(以字节为单位)
  • the file modified datetime

    文件修改的日期时间
  • the file name

    文件名

This set of data is generated by the l option. The a option instead also shows the hidden files.

这组数据由l选项生成。 相反, a选项还会显示隐藏的文件。

Hidden files are files that start with a dot (.).

隐藏文件是指以点( . )开头的文件。

This command works on Linux, macOS, WSL, and anywhere you have a UNIX environment

此命令可在Linux,macOS,WSL以及您拥有UNIX环境的任何地方使用

翻译自:

ls命令输出格式算法

转载地址:http://stmgb.baihongyu.com/

你可能感兴趣的文章
Chain Of Responsibility Design Pattern Example
查看>>
Windows下curl使用 转载
查看>>
一个简单最大正向匹配(Maximum Matching)MM中文分词算法的实现
查看>>
angularjs中$scope是什么意思?
查看>>
数据校验
查看>>
控制台输出
查看>>
设计模式(二)单例设计模式
查看>>
iOS之CAKeyframeAnimation关键帧动画详解
查看>>
Spring第三篇【Core模块之对象依赖】
查看>>
纳税服务系统【用户模块之简单增删改查】
查看>>
(转)spark shuffle 性能分析及参数配置详解
查看>>
jQuery判断checkbox是否选中的3种方法
查看>>
C语言控制台窗口图形界面编程(二)
查看>>
Thread和Looper以及Handler和Message详解 Android开发必读
查看>>
Ext4 简单的treepanel
查看>>
未在本地计算机上注册Microsoft.ACE.OLEDB.12.0提供程序(Oledb)
查看>>
网络是怎样连接的-从服务器断开并删除套接字
查看>>
Collection与Map学习笔记(二)
查看>>
.Net Excel导出标准格式,Excel导入
查看>>
海量jQuery插件
查看>>