Antworten:
Um nur den aktuell in Ihrem Terminal angezeigten Abschnitt zu speichern, können Sie den |Befehl verwenden.
Von man less:
| <m> shell-command
<m> represents any mark letter. Pipes a section of the input file to the given
shell command. The section of the file to be piped is between the first line on the
current screen and the position marked by the letter. <m> may also be '^' or '$' to
indicate beginning or end of file respectively.
If <m> is '.' or newline, the current screen is piped.
|(das Pipe-Symbol).Markierung, um nur das auszuwählen, was auf Ihrem Terminal sichtbar ist (oder drücken Sie einfach Enter).teein einer Datei zu speichern , zBtee /tmp/section_of_big_file.txtDie Sequenz mit Screenshots:



cat foo | less -o barwobarist die Ausgabedatei undfoodie Eingabedatei?