'ls' will provide the list of files and folders on the current directory.
'ls *' will provide the list of files and folders and subfolders on the current directory.
'ls * > output.txt` will redirect the output (files and folders and subfolders on the current directory) to the output.txt file