1
0
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:
jbranchaud
2016-01-25 20:18:06 -06:00
parent a763655cd6
commit 5393ee7da7
2 changed files with 15 additions and 0 deletions

View File

@@ -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
View 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
```