lsdir lsdir dir, regexp Returns all entries in the specified directory that match the regular expression Takes the following arguments: dir Name of the directory. regexp Regular expression to match the entries against.