Linux command line and gui

Linux Jargon Buster: What are GUI, CLI and TUI in Linux?

When you start using Linux and following Linux-based websites and forums, you’ll often come across terms like GUI, CLI and sometimes TUI.

This chapter of Linux Jargon Buster briefly explains these terms so that you, as a (new) Linux user, can understand the context better when these acronyms are used.

To be honest, the terms GUI, CLI and TUI are not exclusive to Linux. These are generic computing terms that you’ll find used in non-Linux discussions, as well.

GUI – Graphical User Interface

“GUI” is probably the most common term you’ll come across on It’s FOSS because we focus on desktop Linux users and try to cover the easy-to-use graphical methods and applications.

A GUI application or graphical application is basically anything that you can interact with using your mouse, touchpad or touch screen. You have icons and other visual prompts that you can activate with your mouse pointer to access the functionalities.

GIMP 2.10 interface

In a Linux distribution, a desktop environment provides the graphical interface for you to interact with your system. Then you can use GUI applications such as GIMP, VLC, Firefox, LibreOffice, and file manager for various tasks.

GUI has made computing easier for the average user.

CLI – Command Line Interface

CLI is basically a command line program that accepts inputs to perform a certain function. Any application that you can use via commands in the terminal falls into this category.

Apt Cache Search Names Only

Early computers didn’t have mouse to interact with the operating system, only keyboards.

If you think that’s difficult you should know that the earlier computers didn’t even have a screen to see what was being typed; they had actual paper printers to display the typed commands. I have never used such a computer, or even seen one. The closest thing I used were the microcontroller kits during my studies.

Ken Thompson And Dennis Ritchie At Pdp 11

Is CLI relevant these days? Absolutely. Commands always have benefits, especially when you are dealing with the core functioning and configuration of the operating system, such as setting up a firewall, managing a network or package management.

You may have a GUI-based application to do the same task, but commands give you more granular access to those features. In any case, you’ll find that GUI applications also interact with the operating system with commands (used in their code).

Handbrake

Many popular GUI applications are often based on CLI tools. Consider Handbrake for example. It’s a popular open source media converter that uses the FFMPEG command line tool underneath.

Читайте также:  Linux установка браузера через консоль

Quite evidently, using command line tools is not as easy as the graphical ones. Don’t worry. Unless you have specific needs, you should be able to use your Linux system graphically. However, knowing the basic Linux commands helps a great deal.

TUI – Terminal User Interface

TUI is also known as Text-based User Interface. This is the most uncommon term of the three. TUI is basically part GUI and part CLI. Confused? Let me explain it for you.

You already know that early computers used CLI. Before the advent of GUI, the text-based user interface provided a very basic kind of graphical interaction in the terminal. You have more visuals and could use mouse and keyboard to interact with the application.

Nnn File Browser

TUI stands for text-based user interface or terminal user interface. Text-based because primarily, you have a bunch of text on the screen and terminal user interface because they are used only in the terminal.

TUI applications are not well-known to many users, but there are a bunch of them. Terminal based web browsers are good example of TUI programs. Terminal-based games also fall into this category.

cmus User Interface

You may come across TUI when you are installing multimedia codecs in Ubuntu where you have to accept EULA or make a choice.

TUI apps are not as user-friendly as GUI applications, and they often have a learning curve involved but they are a bit easier to use than the command line tools.

In the end …

TUI apps are often also considered as CLI applications because they are restricted to the terminal. In my opinion, it’s up to you if you consider them different from CLI.

I hope you liked this part of Linux Jargon Buster. If you have any suggestions for topics in this series, please let me know in the comments and I’ll try to cover them in the future.

Источник

Linux CLI and GUI Tools

This Linux CLI (Command Line Interface) and GUI (Graphical User Interface) series presents you with some cool useful terminal tools and graphical utilities.

Linux Command Line (CLI) Tools

  • ExifTool – Read, Write and Manipulate Image, Audio, Video and PDF Metadata
  • 8 Best du Command Alternatives to Check Disk Usage in Linux
  • CLI Tools to Remove PDF Password in Linux
  • ttyd – Share Your Linux Terminal Over Web Browser
  • CPU-X – Shows Information on Linux CPU, Motherboard and More
  • Nala – A Neat Structured Frontend for APT Package Manager
  • Best Command Line Torrent Clients for Linux
  • How to Install and Use WP-CLI on Linux [Beginners’ Guide]
  • 6 Best To-Do List Managers for Linux Command Line
  • Stig – A TUI and CLI Client for BitTorrent Transmission
  • ytfzf – Find and Watch YouTube Videos in Linux Terminal
  • Gum – A Tool for Glamorous Shell Scripts in Linux
  • Ranger – A Vim-Inspired Console File Manager for Linux
  • Hledger – A Plain Text Accounting Tool for Linux Terminal
  • mps-youtube – A Terminal Based YouTube Player and Downloader
  • Calcurse – A CLI Based Calendar and Scheduling Tool Linux
  • ugm – A TUI to View User and Group Information in Linux
  • gosling – Natural Sounding Text-to-Speech in the Terminal
  • BusyBox: The Swiss Army Knife of Embedded Linux
  • Htop – An Interactive Linux System Monitor/Process Viewer
  • How to Install and Use Terminator Terminal in Linux
  • How to Install and Use Tmux (Terminal Multiplexer) in Linux
  • Silver Searcher – A Code Searching Tool Similar to Ack
  • Ripgrep – The Fastest Command Line Search Tool for Linux
  • How to Install and Use Tilix Terminal Emulator in Linux
  • Micro – A Command Line Based Text Editor for Linux
Читайте также:  Linux посмотреть трафик сети

Linux Graphical (GUI) Tools

  • Best Du Command Alternatives to Check Disk Usage in Linux
  • Best GUI Tools to Remove PDF Password in Linux
  • Best Graphical Package Managers for Arch Linux
  • Gwenview – Crop and Resize Images on Linux
  • Skanlite – A Simple Image Scanning Tool for Linux
  • Wine – Run Windows Applications in Ubuntu
  • MySQL Workbench – A Visual Database Design Tool for Linux
  • Okteta – A Simple Editor for RAW Data Files
  • Meld – A Visual Diff and Merge Tool for Linux
  • Best Tools to Merge PDF Files in Linux
  • WebSSH – Connect Linux Terminal from Your Web Browser

Источник

Что такое GUI и CLI

Когда вы переходите на Linux, то, читая статьи по теме или общаясь на форумах, часто сталкиваетесь с такими терминами, как GUI, CLI и реже TUI. В этой небольшой статье мы расскажем, что они означают, и разберёмся, в каком контексте эти аббревиатуры обычно встречаются.

Справедливости ради отметим, что термины GUI, CLI и TUI популярны не только в Linux-среде. Эти слова – часть общекомпьютерного жаргона, и их можно услышать в любых технических обсуждениях, а не только в тех, которые связаны с Linux.

GUI – графический интерфейс пользователя

GUI (Graphical User Interface) — приложением или графическим приложением называют практически любую программу, управление которой осуществляется посредством мыши, тачпада или сенсорного экрана. В рабочем окне отрисованы иконки и другие виджеты, и взаимодействие с программой представляет из себя, в сущности, последовательность нажатий курсором.

В Linux возможность графически взаимодействовать с операционной системой предоставляется так называемой средой рабочего стола. Поверх неё можно пользоваться GUI-приложениями, такими как GIMP, VLC, Firefox, LibreOffice, файловый менеджер и т.д. для решения различных задач.

5w+3lnMayBgAAAABJRU5ErkJggg==

Именно GUI открыл мир компьютеров для обычных пользователей; без него информационные технологии оставались бы уделом гиков.

CLI – интерфейс командной строки

CLI (Command Line Interface) – это программа в командной строке, которая читает вводимые команды и выполняет запрошенные действия. В целом, любая программа, которой можно пользоваться через команды из терминала, попадает в эту категорию.

sO3a6MB0cHEAAAAASUVORK5CYII=

У старых компьютеров не было мыши или других манипуляторов для управления операционной системой. Всё взаимодействие выполнялось через текстовый ввод и вывод, т.е. через CLI.

Если вам кажется, что это сложно, подумайте об ещё более древних вычислительных машинах, у которых не было даже экрана, на котором отображается набираемый текст. Ввод команд распечатывался принтером на бумаге. Лично мне ни разу в жизни не доводилось пользоваться таким компьютером. Ближайший аналог из того, с чем я имел дело – это схемы на микроконтроллерах, которыми я занимался во время учёбы.

Читайте также:  Linux разработка печатных плат

Ушёл ли CLI в прошлое? Вовсе нет. У командной строки есть свои преимущества, особенно если речь идёт о настройке Linux на глубинном уровне: поднятии сетевого брандмауэра, организации локальной сети или даже управлении пакетами.

Со всеми этими вопросами можно разобраться и с помощью GUI-программ, но CLI даёт более прямой и прицельный доступ к операционной системе. В любом случае, работа GUI-приложений также основана на обращении к ОС с помощью команд (которые прописаны в их программном коде).

Многие известные утилиты с GUI представляют из себя графическую обёртку для инструментов CLI. Например Handbrake, популярный медиа-конвертер с открытым исходным кодом, является GUI-надстройкой над CLI-приложением ffmpeg.

9uAczEvCZUVAAAAAElFTkSuQmCC

Конечно, пользоваться командной строкой сложнее, чем графическим интерфейсом. Однако не стоит переживать по этому поводу. Как правило, для решения повседневных задач достаточно графического управления Linux. Тем не менее, знание основных команд часто бывает весьма полезным.

TUI – текстовый пользовательский интерфейс

Этот термин встречается реже, чем первые два. TUI (Text User Interface) – это наполовину CLI и наполовину GUI. Непонятно, что это значит? Разберёмся поподробнее.

Как было сказано выше, работа со старыми компьютерами была целиком основана на CLI. Однако некоторый ограниченный спектр возможностей GUI можно имитировать и в текстовом терминале. Это и будет TUI: в отличие от интерфейса командной строки, в нём представлено больше виджетов и доступно управление как и с клавиатуры, так и с помощью мыши.

iNxsQgQhYAJG4oxpg4IoQQgghpE0q2w1UGXwAgNddq6HPXyBzliypZgMgbv5Lx76t0nIAq18RQgghhLRN1fYDleMPCMxfIKmblXzRsohWaHJXfrMBEDd1BRqmci0IcMQBhBBCCCFtJjX+QA3zF1S2JGAJS1hJiwJtq4v9f3I9fLLWEkkRAAAAAElFTkSuQmCC

TUI – это сокращение для text-based user interface (текстовый пользовательский интерфейс) или terminal user interface (терминальный пользовательский интерфейс). Слово «текстовый» в этом словосочетании означает, что всё показанное на экране, в сущности, представляет собой большой текст – набор символов, с помощью которого имитируются различные элементы управления, а слово «терминальный» – что обратиться к этому интерфейсу возможно только из терминала.

TUI-приложения не так популярны, как GUI и CLI, но примеров можно найти множество. Так, к этой категории относятся текстовые браузеры и текстовые игры.

ADdgX4hOwBHuAAAAAElFTkSuQmCC

Ещё один случай, когда TUI может встретиться – это если в процессе установки кодеков на Ubuntu необходимо принять EULA или сделать выбор из нескольких предложенных вариантов настройки. TUI сложнее в управлении, чем GUI и часто требует обучения, но пользоваться им всё-таки проще, чем командной строкой.

Выводы

Программы с TUI часто относят в категорию CLI, поскольку их интерфейс доступен только из текстовой консоли. Какого мнения на этот счёт будете придерживаться вы – выбор за вами. Надеюсь, вам понравилась эта статья и теперь вы знаете что такое GUI, CLI и TUI.

Обнаружили ошибку в тексте? Сообщите мне об этом. Выделите текст с ошибкой и нажмите Ctrl+Enter.

Источник

Оцените статью
Adblock
detector