mirror of
https://github.com/jbranchaud/til
synced 2026-01-02 22:58:01 +00:00
Add Kill All Your tmux Sessions as a tmux til
This commit is contained in:
@@ -10,7 +10,7 @@ smart people at [Hashrocket](http://hashrocket.com/).
|
||||
For a steady stream of TILs from a variety of rocketeers, checkout
|
||||
[til.hashrocket.com](https://til.hashrocket.com/).
|
||||
|
||||
_807 TILs and counting..._
|
||||
_808 TILs and counting..._
|
||||
|
||||
---
|
||||
|
||||
@@ -682,6 +682,7 @@ _807 TILs and counting..._
|
||||
- [Enabling Vi Mode](tmux/enabling-vi-mode.md)
|
||||
- [Hiding The Status Bar](tmux/hiding-the-status-bar.md)
|
||||
- [Jumping Between Sessions](tmux/jumping-between-sessions.md)
|
||||
- [Kill All Your tmux Sessions](tmux/kill-all-your-tmux-sessions.md)
|
||||
- [Kill Other Connections To A Session](tmux/kill-other-connections-to-a-session.md)
|
||||
- [Kill The Current Session](tmux/kill-the-current-session.md)
|
||||
- [List All Key Bindings](tmux/list-all-key-bindings.md)
|
||||
|
||||
12
tmux/kill-all-your-tmux-sessions.md
Normal file
12
tmux/kill-all-your-tmux-sessions.md
Normal file
@@ -0,0 +1,12 @@
|
||||
# Kill All Your tmux Sessions
|
||||
|
||||
If you have several tmux sessions running and you'd like to clean house, you
|
||||
can kill all of those sessions with one command.
|
||||
|
||||
```bash
|
||||
$ tmux kill-session -a
|
||||
```
|
||||
|
||||
The `-a` flag says to target all sessions.
|
||||
|
||||
You can also run this as a tmux command.
|
||||
Reference in New Issue
Block a user