In shell scripting, what does .[!.]* mean?
问题 A command that prints a list of files and folders in the current directory along with their total sizes is du -sh * . That command alone doesn't, however, list hidden files or folders. I found a solution for a command that does correctly list the hidden files and folders along with the rest: du -sh .[!.]* * . Although it works perfectly, the solution was provided as-is, without any explanation. What is the meaning of .[!.]* , exactly? How does it work? 回答1: It's a globbing pattern that