mirror of
https://github.com/jbranchaud/til
synced 2026-01-03 23:28:02 +00:00
Add List Sessions as a tmux til
This commit is contained in:
@@ -250,6 +250,7 @@ _305 TILs and counting..._
|
|||||||
- [Enabling Vi Mode](tmux/enabling-vi-mode.md)
|
- [Enabling Vi Mode](tmux/enabling-vi-mode.md)
|
||||||
- [Jumping Between Sessions](tmux/jumping-between-sessions.md)
|
- [Jumping Between Sessions](tmux/jumping-between-sessions.md)
|
||||||
- [List All Key Bindings](tmux/list-all-key-bindings.md)
|
- [List All Key Bindings](tmux/list-all-key-bindings.md)
|
||||||
|
- [List Sessions](tmux/list-sessions.md)
|
||||||
- [Organizing Windows](tmux/organizing-windows.md)
|
- [Organizing Windows](tmux/organizing-windows.md)
|
||||||
- [Paging Up And Down](tmux/paging-up-and-down.md)
|
- [Paging Up And Down](tmux/paging-up-and-down.md)
|
||||||
- [Pane Killer](tmux/pane-killer.md)
|
- [Pane Killer](tmux/pane-killer.md)
|
||||||
|
|||||||
14
tmux/list-sessions.md
Normal file
14
tmux/list-sessions.md
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
# List Sessions
|
||||||
|
|
||||||
|
Not sure if `tmux` is running or, if it is, which sessions are available?
|
||||||
|
You can list all the currently running sessions right from the command-line.
|
||||||
|
|
||||||
|
```bash
|
||||||
|
$ tmux ls
|
||||||
|
```
|
||||||
|
|
||||||
|
This command is shorthand for:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
$ tmux list-sessions
|
||||||
|
```
|
||||||
Reference in New Issue
Block a user