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
POSIX defines non-matching bracket expressions, so we can let the shell expand the file names for us.
ls *[!j][!a][!r]
This has some quirks though, but at least it is compatible with about any unix shell.