我遇到了关于"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)