-
[우분투:Ubuntu] Tmux config files우분투_Ubuntu 2021. 12. 1. 19:16
tmux source-file .tmux.conf
로그 기록 남기기
[Linux] tmux 다운로드 & log 기록 남기기 (doheejin.github.io)
[Linux] tmux 다운로드 & log 기록 남기기
원격서버를 사용하다가 갑자기 연결이 끊기거나, 창이 꺼지는 경우가 발생하면 작업이 비정상적으로 종료 될 수 있다.그런 상황을 방지하기 위해 필자는 원격 연결이 꺼지더라도 서버에서 돌린
doheejin.github.io
git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm
touch ~/.tmux.conf
#--- Plugins ---# #logging #it requires at least version 1.9 #https://github.com/tmux-plugins/tmux-logging # set -g @plugin 'tmux-plugins/tmux-logging' set -g history-limit 50000 # enhance the limitation of saving the complete history (prefix + alt + shift + p) #Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf) run '~/.tmux/plugins/tpm/tpm'
아래의 내용을 순서대로 입력한다. tmux → ctrl+B(prefix) → shift+i → tmux source .tmux.conf
로그기록을 남길 때는 prefix(ctrl+B) 후에 shift+P를 누르면 기록 남기기가 시작되고,
output file 은 로그파일명.tmux 의 형태로 저장된다.
'우분투_Ubuntu' 카테고리의 다른 글
[우분투:Ubuntu] gvfs 권한 관련 에러 대처법 (0) 2020.12.03 [우분투:Ubuntu] 백그라운드 프로세스 수행 (0) 2020.09.16 [우분투:UBUNTU] 설치된 프로그램 위치 확인 (0) 2020.09.09 [우분투:UBUNTU] 저장소(Repository) 변경(패키지 다운로드 속도 향상) (0) 2020.08.31 [우분투:UBUNTU] ssh X-server Display / Ananconda 환경 내 (0) 2020.08.30