tools/terminal

tmux : use capture in tmux

seul chan 2018. 5. 30. 18:30
# capture 30000 line
tmux capture-pane -pS -30000

tmux capture-pane -S -30000 \; save-buffer - \; delete-buffer

tmux capture-pane -J -p -t %123 > file.txt

Go to copy mode

use tmux prefix (ctrl + b with default) with [

Then you can access to copy (vim) mode…

tmux-prifix + [


'tools > terminal' 카테고리의 다른 글

Find files in mac terminal  (0) 2018.03.26
맥 터미널 탭이동하기  (0) 2018.03.21
tmux session 이름 변경하기  (0) 2018.03.12
Downloading youtube in terminal: youtube-dl  (0) 2018.01.16
iterm2 메뉴바(title) 색상 변경하기  (0) 2017.12.13