Linux CLI - Viewing and Editing Files
Which of the following is the correct syntax to display the contents of a file named
notes.txt using cat?notes.txt using cat?catcat filename, so cat notes.txt is correct.-f and -r are not valid options for cat. The cat > filename syntax is used to create or overwrite a file, not display it.cat filename [OK]15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions