LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Need help with the less command (https://www.linuxquestions.org/questions/linux-newbie-8/need-help-with-the-less-command-698385/)

Flackbait 01-19-2009 12:17 PM

Need help with the less command
 
Dear Linux experts,

I'm taking an intro to Linux class and the question below has me stumped.

"Use less to place all files in /etc in the 'less' buffer at the same time. List the 'less' command that allows you to jump to file 75."

My partial solution is: less /etc/*

This gives me the contents of each file. I can jump from one file to the next using the :n , but I can only more forward one file at a time. Any suggestions would be appreciated.

Thanks

Matir 01-19-2009 02:20 PM

man less:
Quote:

:x Examine the first file in the command line list. If a number N
is specified, the N-th file in the list is examined.


All times are GMT -5. The time now is 09:35 PM.