Displaying File Contents in Linux using cat, less, more, head, tail commands
Almost everything stored in a Linux file system is a file and therefore, every other Linux user be it newbie, regular user, advanced user, developer, admin, etc has to deal with files in one way or another.
Working with files is not however an easy task and thus the ability to know the various ways of displaying file contents in Linux is paramount to day to day Linux system administration.
To make it easy, Linux provides multiple commands and programs for viewing the contents of file.
Some of these commands include cat, less, more , head, tail etc.
In this scenario, we are going to learn how to use the commands; cat, less, more, head and tail to display or view file contents.
- TIME60 MINUTES
- COST10 CRYSTALS