Notes & TILs
Search…
Alternative to 'ls' commnand
Posted on 22 July, 2020
the bash builtin echo can be used to list contents of a directory.
1
echo *
Copied!
List all files that start with letter 'i'.
1
echo i*
Copied!

How

The character * serves as a "wild card" for filename expansion in globbing. By itself, it matches every filename in a given directory.

Resource

Last modified 1mo ago
Copy link
Contents
How
Resource