I often SSH into my FreeBSD box as it's running headless. I log in using a normal user and then switch user to root.
I want to automatically create a new tmux session (with the name "my-session") once I
Can someone suggest on how to go about it?
Thanks
I want to automatically create a new tmux session (with the name "my-session") once I
su to root. I tried creating a new session by running it from /root/.cshrc but nothing happened (i.e. no sesssion was created). If the session is already created (i.e. I'm already connected to my box on another terminal tab), nothing happens.Can someone suggest on how to go about it?
Thanks