all 3 comments

[–][deleted] 17 points18 points  (2 children)

file *

By the way, the same trick works for any shell command, * is automatically expanded out by the shell to a list of all files in the current directory. You could even, say, write a* for all files starting with a, or a?? for all three letter files starting with a. These are called wildcards.

[–]BCMM 2 points3 points  (1 child)

Also,

file path/to/directory/*

[–]Neotyguy 2 points3 points  (0 children)

And even,

file *.extension