Tiffany B. Brown

a mish-mosh of stuff

Unix/Linux tip: Listing files with a wild card

Say you want to view all files in a directory that start with foo.

Simple, just type

> ls foo*

That will return all files that begin with foo, including foo.php,
foo_bar.php and foot.php.

Want to check the permissions on those files too? Type:

> ls -l foo*

Comments are closed.