今天打 $ tmux attach 之後

竟然噴了錯誤訊息 …

今天打 $ tmux attach 之後

竟然噴了錯誤訊息 protocol version mismatch (client 8, server 7)

以前完全沒看過

只好丟去 Google

第一個解法是 強行 attach tmux

$ pgrep tmux  
$ /proc/${tmuxpid}/exe attach  

但執行後發現會噴 Permission Denied. 失敗

第二個解法是 把 tmux 砍掉重開

$ pgrep tmux  
$ kill ${tmuxpid}  

然後重開 tmux 就行了


References


Share


Donation

如果覺得這篇文章對你有幫助, 除了留言讓我知道外, 或許也可以考慮請我喝杯咖啡, 不論金額多寡我都會非常感激且能鼓勵我繼續寫出對你有幫助的文章。

If this blog post happens to be helpful to you, besides of leaving a reply, you may consider buy me a cup of coffee to support me. It would help me write more articles helpful to you in the future and I would really appreciate it.


Related Posts