- Published on
Short engineering note
Quickly view file contents
- Authors

- Name
- Mehdi Akiki
Note · Engineering notes
Use cat, less or more to view files.
cat file.txt
less file.txt
tail -n 100 file.log
Tip: less +F file.log follows like tail but keeps a pager to search.