Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Display files or directories as required

2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/03 Report--

1. Show all files or directories ending in.d under/etc directory

Command analysis:

ls: without any parameters, displays files or directories in the current directory

-d: Display only the directory itself, not the files under the directory

* : All files or directories

*.d: All files or directories ending with.d

2. Show all files or directories in/etc directory ending in.conf and beginning with m,n,r,p

Command analysis:

ls: without any parameters, displays files or directories in the current directory

-d: Display only the directory itself, not the files under the directory

[mnrp]: The beginning of/etc/starts with m, n, r, p. [] match any single character in parenthesis

* : All files or directories, put in the middle, that is, any character in the middle

.conf: meaningless, put it at the end and end with.conf

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.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report