I recently learned about a faster and more colorful alternative to catarrow-up-right -- batarrow-up-right. Like cat, the standard usage is to print the entire contents of a file. You can instruct bat to only print a range of lines from a file using the --line-range flag.
bat
cat
--line-range
For instance the following command
$ bat --line-range=918:925 README.md
will produce the following output
See man bat for more details.
man bat
Last updated 4 years ago