Skip to main content
added 8 characters in body
Source Link
jimmij
  • 48.7k
  • 20
  • 136
  • 141

If the first character of file name is printable but neither alphanumeric nor whitespace you can use [[:punct:]] glob operator:

$ ls *.txt f1.txt f2.txt ♫abc.txt $ ls [[:punct:]]*.txt ♫abc.txt 

If the first character of file name is printable but neither alphanumeric nor whitespace you use [[:punct:]] glob operator:

$ ls *.txt f1.txt f2.txt ♫abc.txt $ ls [[:punct:]]* ♫abc.txt 

If the first character of file name is printable but neither alphanumeric nor whitespace you can use [[:punct:]] glob operator:

$ ls *.txt f1.txt f2.txt ♫abc.txt $ ls [[:punct:]]*.txt ♫abc.txt 
Source Link
jimmij
  • 48.7k
  • 20
  • 136
  • 141

If the first character of file name is printable but neither alphanumeric nor whitespace you use [[:punct:]] glob operator:

$ ls *.txt f1.txt f2.txt ♫abc.txt $ ls [[:punct:]]* ♫abc.txt