how to fetch only first 10 rows of file using cat code example Example: only show first lines linux head -10 bar.txt