Now you may notice that
attach-session sounds like a pretty long command. It's the same as
list-sessions, and there are many others in the lexicon of tmux commands that seem rather verbose.
There is less complexity to the long commands than it may seem because most of them can be tab-completed. Try going to your command prompt and typing the following:
$ tmux list-se
Next, hit the Tab key. You should see it fill out to this:
$ tmux list-sessions
So thankfully, due to tab completion, there is little need to remember these long commands.
Note that tab completion will only work in certain shells with certain configurations, so if the tab completion trick doesn't work, you may want to search the Web and find a ...