Linux CLI - Linux Basics and Terminal
You want to write a Bash script that lists all files in the current directory that have the extension
.txt and saves the list to a file named textfiles.txt. Which command should you use inside the script?