Viewing the contents of a file using the command line
The cat
command is used to view the contents of a file, outputting it directly to the terminal:
cat aaa/dddd.txt
Use the appropriate command to display the contents of the file file.txt
.