dir

dir()

Lists all files in the current working directory.

dir pattern

dir("pattern")

Lists all files following the given pattern.


See also pwd cp ls cmd grep 


Example


dir *.txt


dir("*.txt")