简体   繁体   English

如何阅读unix“ ls”命令的每个元素?

[英]How to read each of the elements of a unix “ls” command?

I tried to google this, but I can't find a search term. 我试图用谷歌搜索,但是找不到搜索词。 Can someone go thru a bit what each of these are? 有人可以稍微讲一下这些是什么吗?

drwxrwxr-x 1 joe 496 16777216 9 Jun 2016 crunchbase.ns* drwxrwxr-x 1 joe 496 16777216 2016年6月9日crunchbase.ns *

I know what rwx means but the others, not so much. 我知道rwx是什么意思,但其他的则不是很多。

There is a nice description of the long format for ls. 关于ls的长格式有很好的描述。

https://www.garron.me/en/go2linux/ls-file-permissions.html https://www.garron.me/en/go2linux/ls-file-permissions.html

ls -la do a listing with long format and all files. ls -la用长格式列出所有文件。 the -l (long format) gives information about the file such as size and date. -l(长格式)提供有关文件的信息,例如大小和日期。 -a says to list all files, including hidden. -a表示列出所有文件,包括隐藏文件。 Hidden files start with a ".". 隐藏的文件以“。”开头。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM