Linux - Display File Contents

To read a simple file in bash we can also use the cat command to view a document. ​So let’s look at important document. ​ Pasted image 20260620202902

The Cat command is similar to the Windows Cat command since it doesn’t ​do a great job at viewing large files instead we use another command, less. ​Less does a similar thing that more does for Windows but it has more functionality Pasted image 20260620202933

Up and Down keys; PageUp and PageDown to navigate Pasted image 20260620203041 Pasted image 20260620203102 Pasted image 20260620203133 Pasted image 20260620203203

Similar to the Windows Cat and head parameter, ​we can do the same thing in Linux using a command called head. ​This will show you by default the first ten lines of the file Pasted image 20260620203243 Pasted image 20260620203333