How is the 'more' command used to display a file from a specific line onward?

To display a file from a specific line onward using the more command, you can use the + option followed by the line number. The syntax is as follows:

more +<line_number> <filename>

For example, to display the contents of example.txt starting from line 100, you would use:

more +100 example.txt

This command will open example.txt and begin displaying the content starting from line 100.

0 Comments

no data
Be the first to share your comment!