Jawaban:
Untuk menyimpan hanya bagian yang saat ini ditampilkan di terminal Anda, Anda dapat menggunakan |perintah.
Dari 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.
|(simbol pipa).tanda untuk memilih hanya apa yang terlihat di terminal Anda (atau tekan saja Enter)teeuntuk menyimpan ke file misalnyatee /tmp/section_of_big_file.txtUrutan dengan tangkapan layar:



cat foo | less -o barmanabarfile output danfoofile input?