Is there a way to switch between different tty
from a Mac terminal? This would be an equivalent to the chvt
command on Linux.
2 Answers
The screen
command are available for mac. Usage here: How to use the screen command
Depending on what you are trying to achieve, you could also use tabs in the default terminal, or install something like iTerm where you can split windows.
If you need to split windows, check out tmux
, which you can run on macOS and linux terminals.
-
Please feel free to elaborate on the reasons for downvoting so that others may share in the wisdom. Commented May 17, 2019 at 3:12
-
I did not downvote but I get why you are getting downvoted. The problem is that your answer does not answer the question, you are suggesting a tool for other purpose. The question is about
tty
and how to change between them, in linux you havechvt
but in macOS you don't.tmux
does not replace or simulates whatchvt
does, that is interacting with thetty
. Commented Oct 6, 2021 at 15:43