In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/03 Report--
This article will explain in detail the usage of the ls command in Linux. The content of the article is of high quality, so I share it for your reference. I hope you can get something after reading this article.
The ls command in Linux is used to display the contents of the specified working directory, which is the files and subdirectories contained in the specified working directory. The usage of this command is "ls [parameter] [directory name]", and its common parameters are "- a", "- A", "- l", "- U", "- d", "- 1" and so on.
Common parameters of ls
-a shows all files, including hidden files
-A shows all files, including hidden files, but not. And; and.
-l is displayed as long format (long format), listing the file type, permissions, number of links, owner, group, size, time, name
-d does not expand the directory, but only displays the directory itself. It is generally used with-l to display the attribute information of the directory itself (only the contents of the current directory).
-1 number 1, display content in columns
-S is sorted by file size, from large to small by default, from small to large after-r
-U sort the display in the order of storage
-X is sorted by the first letter of the extension
-t sort by mtime (show the most recent first)
-ul is sorted by atime (display the most recent first)
-ct is sorted by ctime (display the most recent first)
This is the use of the ls command in Linux. Have you learned anything after reading it? If you want to know more about it, you are welcome to follow the industry information. Thank you for reading.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.