I have the following situation:
$ ls
0.txt aaa.txt a-.txt a.txt b.txt ddd.txt -hello.txt libs -.txt ,.txt !.txt ].txt \.txt
$ ls [-a]*.txt
ls: opzione non valida -- "e"
Try 'ls --help' for more information.
$ ls [a-]*.txt
ls: opzione non valida -- "e"
Try 'ls --help' for more information.
The dash (-) creates some problems. How can I find a file starting with -?