Вступ до роботи у командному рядку

This document provides a brief description of the Linux™ command line. It is not a complete guide, but rather an introduction to complement Kubuntu™'s graphical tools.


Table of Contents

Вступ
Запуск термінала
Команди роботи з файлами і каталогами
pwd — print working directory (вивести назву поточного каталогу)
cd — change directory (змінити каталог)
ls — list files (показати список файлів)
touch — створити порожній файл
mkdir — make directory (створити каталог)
cp - copy (копіювати файли або каталоги)
mv — move (пересунути файли або каталоги)
rm — remove (вилучити файли або каталоги)
Команди отримання відомостей щодо системи
df — показати об’єм вільного місця на диску
free — показати дані щодо об’єму вільної та використаної оперативної пам’яті
top — показати впорядкований список процесів
uname — показати параметри поточної системи
lsb_release - print details about current Linux™ release
Виконання команд з підвищеними правами
Додавання нової групи користувачів
Додавання нового запису користувача
Додавання або зміна пароля користувача
Додавання користувача до групи користувачів
Параметри
Команда «man» і отримання довідки
Пошук файлів man
Як вирізати і вставити фрагмент тексту?
Підказки
Додаткова інформація

Вступ

 

Under Linux™ there are GUIs (graphical user interfaces), where you can point and click and drag and hopefully get work done without first reading lots of documentation. The traditional UNIX™ environment is a CLI (command line interface), where you type commands to tell the computer what to do. That is faster and more powerful, but requires finding out what the commands are.

 
 --from man intro(1)

This guide describes some basic GNU™/Linux™ shell commands. It is not intended to be a complete guide to the command line, just an introduction to complement Kubuntu™'s graphical tools.

  • All command names, file names, or paths to directories will be shown using a monospace font.

  • The commands should be issued from a command prompt within a terminal and will be shown as:

    command to type

  • Command Line Linux™ is case sensitive. User, user, and USER are each different and distinct in Linux™.