You can use the *
character to match all the files in your current directory.
cat *
will display the content of all the files.
If you want to display only files with .txt extension, you can use cat *.txt
, or if you want to display all the files whose filenames start with “file” like your example, you can use cat file*