This topic created in 4362 days ago, the information mentioned may be changed or developed.
想在新的session里执行这个脚本。看了半天man,google了半天也没找到。
一定是我起床的方式不对吧?
Supplement 1 · Nov 27, 2014
找到办法了。
tmux new-session -d -s xxx && tmux send -t xxx 'ls' ENTER && tmux attach -t xxx
4 replies • 2014-11-27 08:10:38 +08:00
 |
|
phyngNov 26, 2014 via Android
2
睡觉,明天起床换个姿势
|
 |
|
tmux new-window 'vi /etc/passwd'
|
 |
|
另外可以试试tmuxp
|