Here\'s how one might list all files matching a pattern in bash:
ls *.jar
How to list the complement of a pattern? i.e. all files not match
Another approach can be using ls -I flag (Ignore-pattern).
ls -I
ls -I '*.jar'