Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tmux #82

Open
jjm469 opened this issue Nov 11, 2023 · 1 comment
Open

tmux #82

jjm469 opened this issue Nov 11, 2023 · 1 comment

Comments

@jjm469
Copy link
Contributor

jjm469 commented Nov 11, 2023

// start a tmux session
tmux new-session -s session_name

// attach to the most recently created session
tmux attach

// Once in a session, you can run a program as normal. To detach from the session, press ctrl and b at the same time. Then, press d.
You can now safely log off the server and your program will continue executing. When logging back into the server, run "tmux attach" again to access your most recently created session.

// Deleting a tmux session
tmux kill-session -t session_name

@tomaschoi03
Copy link
Contributor

You can also create panes in a session and have more than one thing open for you to see.

For vertical split, you do ctrl+b+%.
For horizontal split, you do ctrl+b+".
You move between panes by doing ctrl+b+arrow.

You can also make more than one window in a session with ctrl+b+c. You move through the sessions with ctrl+b+(session #)

There's also a lot of tmux config stuff you can do to make usage easier.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants