小编use*_*617的帖子

关于"ls",我怎么才能只显示目录(链接目录和隐藏目录除外)

我遇到了关于"ls"这个命令的一些问题

我想只打印没有隐藏或链接的目录

但我用男人来看看解释,但我没找到

如果有一面旗帜,我可以做我想做的事......

谢谢

以下是我要解决的问题......

 4.显示可见的出口

This is two commands: The first command prints "Visible exits: "
-> It must not advance the cursor to the next line.
The second command displays the visible exits and then a period (.).
-> To prevent the linked directories contents from also displaying, you 
will need a flag.
-> Several wildcard patterns will be needed.
-> The period will be the last of these patterns.
   The period means the current directory. But …
Run Code Online (Sandbox Code Playgroud)

unix linux shell

2
推荐指数
1
解决办法
3968
查看次数

标签 统计

linux ×1

shell ×1

unix ×1