Welcome to the Linux Foundation Forum!

How do I open a second terminal on the CLI interface on Ubuntu Server 20.04

This question is related to LFS253 Containers fundamentals. Lab 2.1 cgroup. It is asking to

student@ubuntu:/sys/fs/cgroup/freezer/mycgroup$ cat tasks
Let’s open a __**second terminal **__as a new
bash
process,
and in the new terminal retrieve its PID:

Answers

  • chrispokorni
    chrispokorni Posts: 2,372

    Hi @chrltokes39,

    The course assumes a remote login from your workstation to a VM running Ubuntu Server. Right click anywhere in the text area of your existing terminal window, and from the menu box select "New Window" or "New Tab" as desired. The login process should be the same as the initial login from the first terminal instance.

    If running the lab directly on the Ubuntu Server VM, there should be a way to achieve this with the Ctrl + Alt + F3 combination to get to tty3, Ctrl + Alt + F4 for tty4, and so on. However, returning to the first tty seems a bit unclear from various posts whether Alt + F1 or Alt + F2 combination is required.

    I'd recommend reading up on this topic before attempting this safely :wink:

    Regards,
    -Chris

Categories

Upcoming Training