In "Text-based user interface" Wikipedia's article, when talk to text based user interface, the first sentence is:
Not to be confused with Command-line interface.
I can't find some differences between CLI (Command Line Interface) and TUI (Textual User Interface).
Is that true or not?
While the two terms are often used interchangeably, they are slightly different, since as RoVo pointed out, command-line is all about successive lines of text, which are commands. Think back to old teletype type of computers, where you could only type in command, and its output would come out on line of teletype paper.
For text user interface, we can reference such tools as
Midnight Commander
( and some old folks will also knowNorton Commander
) orncdu
ornano
. In those you don't necessarily type in lines of commands, but navigate primitive menu made withncurses
library, and guess what. . . .such program uses text as representation of buttons,borders, etc. Take for instance,htop
. The way memory and CPU usage bar represented is simply via#
and*
symbols.You can find the answer in the Wikipedia Article for CLI:
Reading the link you provided, I find this sentence:
And there are some screenshots too, for example of Midnight Commander.
The difference of the definitions is that a TUI is a customized interface with hotkey and mouse inputs, not a shell where you enter a command line, (a command line interface), for example
bash
, which is used in Ubuntu.But both are text based interfaces, that need no graphical desktop environment or window manager.