How to reach the command mode (terminal)