HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

most — Open one or several files for interactive reading, allowing scrolling and search. More information:

Submitted by: @import:tldr-pages··
0
Viewed 0 times
commandfilesmostcliopenseveralforone

Problem

How to use the most command: Open one or several files for interactive reading, allowing scrolling and search. More information: <https://manned.org/most>.

Solution

most — Open one or several files for interactive reading, allowing scrolling and search. More information: <https://manned.org/most>.

Open a file:
most {{path/to/file}}


Open several files:
most {{path/to/file1 path/to/file2 ...}}


Open a file at the first occurrence of "string":
most {{path/to/file}} +/{{string}}


Move through opened files:
<:><n>{{<ArrowUp>|<ArrowDown>}}


Jump to the 100th line:
<j>{{100}}<Enter>


Edit current file:
<e>


Split the current window in half:
<CTRL x><o>


Exit:
<q>

Code Snippets

Open a file

most {{path/to/file}}

Open several files

most {{path/to/file1 path/to/file2 ...}}

Open a file at the first occurrence of "string"

most {{path/to/file}} +/{{string}}

Move through opened files

<:><n>{{<ArrowUp>|<ArrowDown>}}

Jump to the 100th line

<j>{{100}}<Enter>

Context

tldr-pages: common/most

Revisions (0)

No revisions yet.