CyberCertPrepSecurity FundamentalsLinux BasicsEASYFree question
Which command displays the contents of a file in the terminal?
- A.A. show
- B.C. display
- C.B. cat
- D.D. open
Why C is correct
'cat' (concatenate) displays file contents in the terminal. For large files, 'less' or 'more' are preferred as they allow paging. 'head' shows the first lines and 'tail' shows the last lines.
Know someone studying for Security Fundamentals? Send them this one.