102-500 Exam QuestionsBrowse all questions from this exam

102-500 Exam - Question 4


FILL BLANK -

Which command included in NetworkManager is a curses application which provides easy acces to the NetworkManager on the command line? (Specify only the command without any path or parameters.)

Show Answer
Correct Answer:

The correct command is 'nmtui'. 'Nmtui' is a curses-based application part of NetworkManager, designed to provide an easy-to-use text user interface (TUI) for managing network connections directly from the command line. This interface is built using the curses programming library, making it suitable for the context described in the question. Although 'nmcli' is also a NetworkManager command-line tool, it does not use the curses library and is more focused on direct command scripting rather than providing a text-based interactive interface.

Discussion

9 comments
Sign in to comment
shoei13
Jul 3, 2020

I think nmtui is correct because it is a curses application (curses is a terminal control library for Unix-like systems, enabling the construction of text user interface (TUI) applications.) which is accessible from the command line.

glorofarz
Jul 14, 2020

yup, the question explicitly mentions "curses" nmtui is correct, nmcli has nothing to do with curses (got it wrong the first time around too, CURSES!)

scorpions
May 20, 2022

I think nmtui is correct. "LPI-Learning-Material-102-500-en" In the command line, NetworkManager itself provides two client programs: nmcli and nmtui. Both programs have the same basic features, but nmtui has a curses-based interface while nmcli is a more comprehensive command that can also be used in scripts.

ktuo
Nov 24, 2022

nmtui is correct, I answer this today and I passed 800/800.

Boqon1234
May 1, 2020

Correct answer is "nmcli"

gerben
May 12, 2020

wrong, nmtui is correct. https://developer.gnome.org/NetworkManager/stable/nmtui.html

Nerestro
Jul 1, 2020

Both can achieve exactly the same things. the main difference is the interface. nmtui gives a simple gui to work with, while nmcli takes input in the command line. As the question asks specificaly for the command line, I feel like nmcli is more correct....

biggydanny
Aug 2, 2020

nmtui is a curses application

iwkno6
Sep 16, 2021

nmtui is correct

Janec20
Nov 10, 2021

According to LPIC-1 Linux Professional Institute Certification Study Guide Exam 101-500 and Exam 102-500, 5th Edition , Page 438 The Network Manager tool also provides two different types of command-line tools: ■ nmtui: Provides a simple text-based menu tool ■ nmcli: Provides a text-only command-line tool

Janec20
Nov 10, 2021

nmtui is correct

Roger95
Nov 20, 2021

nmtui is correct https://en.wikipedia.org/wiki/Curses_(programming_library)

Robert12
Feb 6, 2022

The question specifies " on the command line" . nmtui is a gui whereas nmcli is command line.