Command line linux debian

Command line linux debian

Список команд по умолчанию в Debian основанных на shell и входящие в пакет coreutils

Не забывайте смотреть страницы man. Это первый источник помощи ! Не создавайте здесь копию страниц man.

Если кокой-нибудь команды shell нет в вашей системе, перейдите по следующему адресу заменив MY_COMMAND нужной командой:

A

  • alias: Создать псевдоним
  • awk: Поиск и замена текста в файлах

B

  • basename: Возвращает только имя файла
  • bzip2/bunzip2: Сжать или распаковать файл

C

  • cat: Отобразить содержимое файла
  • cat -n: простой способ указать номер строки для вывода
  • cd: Сменить каталог
  • chgrp: Изменит группу владельца
  • chmod: Изменить права доступа
  • chown: Изменить владельца или группу файла
  • chroot: Выполнить команду от другой директории root
  • clear: Очистить экран терминала
  • cmp: Сравнить два файла
  • comm: Сравнить два отсортированного файла строка за строкой
  • cp Копировать один или несколько файлов в другое место
  • crontab: Запуск команды по расписанию на более позднее время

D

  • date: Показать или изменить дату и время
  • dc: Калькулятор
  • dd: Data Dump — Конвертировать и копировать файл
  • df: Показать свободное место на диске
  • diff: Показать различия между двумя файлами
  • dir: Краткий список содержания каталога
  • dircolors: Установить цвет для ls
  • dirname: Преобразовать полный путь к пути файла
  • dmesg: Output is from the kernel booting, showing the devices it has found and if it has been able to configure them at all (aside from userland configuration).
  • du: Оценка использованного пространства

E

  • echo: Показать сообщение на экран
  • egrep: Вывести строки совпадающие с шаблонам (так же, как grep -E)
  • eject: Извлечь CD-ROM
  • env: Показать, установите или удалить переменные окружения
  • exit: Выход из shell (или нажмите Ctrl-D)
  • export: Установите переменное окружение

F

  • fdisk: Partition table manipulator for Linux
  • fgrep: Вывести строки совпадающие с шаблонам (так же, как grep -F)
  • file : Рассказывать какие файлы перечислены в командной строке
  • find: Поиск файлов, отвечающих желаемым критериям
  • for: Развернуть слова и выполнить команды
  • format: Формат дисков или лент
  • free: Показать использованную память
  • fsck: Проверка и исправление файловой системы.
  • ftp : Передача/приём файлов на/с удалённого хоста

G

  • grep: Вывести строки совпадающие с шаблоном
  • groups: Вывести название группы пользователя
  • gzip/gunzip: Сжатие или распаковка файлов

H

  • head: Вывод первой части файлов
  • history: История команд
  • hostname: Показать или установить имя системы
Читайте также:  Симс для линукс минт

I

  • id: Показать id пользователей и групп
  • if/then/else/elif/fi Условное выполнение команды
  • info: Справочная информация

J

K

  • kill: Остановить запущенный процесс
  • killall: Остановить процесс согласовав с запуском

L

  • less: Display output one screen at a time
  • ln: Сделать ссылки между файлами
  • locate: Найти файлы используя индексированный список.
  • logname: Печатает имя текущего пользователя
  • logout: Выйти из login shell
  • lpc: Line printer control program
  • lpr: Off line print
  • lprint: Print a file
  • lprintq: List the print queue
  • ls: List information about file(s)

M

  • man: Вызов справки
  • mkdir: Создать новую папку(и)
  • more: Display output one screen at a time
  • mount: Монтирование файловой системы
  • mv: Перемещении или переименование файлов или папок

N

P

  • passwd: Изменить пароль пользователя
  • printf: Форматирование и печать данных
  • ps: Состояние процесса (Process Status). Списки запущенных процесса
  • pwd: Показать рабочего каталога (Print Working Directory)

Q

R

  • rgrep: Recursive grep
  • rm: Удалить файл(ы)
  • rmdir: Удалить папку(и)
  • rsync: Удалённое копирование файлов (Синхронизация древа файлов) используя свой протокол. Может быть использован по ssh или rsh.

S

  • scp: Копирование файлов между двумя машинами через ssh
  • sdiff: Интерактивное слияние двух файлов
  • sed: Stream Editor
  • select: Принять ввод с клавиатуры
  • sftp: Безопасная передача файлов (FTP через SSH)
  • shutdown: Выключения или перезагрузка Linux
  • sleep: Задержка в течение определенного времени
  • sort: Сортировать текстовые файлы
  • ssh : Безопасный Shell.
  • su: Substitute user identity
  • sudo: выполнить команду от имени другого пользователя
  • sync: Синхронизация данных на диске с памятью

T

  • tail: Вывод последней части файлов
  • tar: Tape Archiver
  • time: Measure Program Resource Use
  • touch: Изменение временных меток файла или создать пустой файл
  • top: Список процессов работающих в системе
  • traceroute: Trace Route to Host
  • tr: Преобразование, сжатие и/или удаления символов
  • true: Do nothing, successfully

U

  • umask: Создать файла маски пользователя
  • umount: Размонтироват (отключить) устройство
  • uname: Показать системную информацию
  • uniq: Uniquify files
  • until: Выполнять команды (до ошибки)
  • useradd: Создать новую учетную запись пользователя
  • usermod: Изменить учетную запись пользователя
  • users: Список пользователей вошедших в систему

V

W

  • watch: Периодически выполнять/показывать программу
  • wc: Print byte, word and line counts
  • which: Locate a program file in the user’s path.
  • who: Print all usernames currently logged in
  • whoami: Print the current user id and name (`id -un’)

X

Источник

Command line linux debian

The GNU Core Utilities (coreutils) are the basic file, shell and text manipulation utilities of the GNU operating system. These are the core utilities which are expected to exist on every UNIX-like operating system.

Читайте также:  Connect to file server linux

You should get a basic knowledge of how to list, display, edit and manipulate files before moving to more specific tasks, and/or writing shell scripts.

Other programs

  • awk — pattern-directed scanning and processing language
  • clear — clear the terminal screen
  • cmp — Compare two files
  • comm — Compare two sorted files line by line
  • crontab — Schedule a command to run at a later time
  • date — Display or change the date & time
  • dc — Desk Calculator
  • dd — Data Dump — Convert and copy a file
  • df — Display free disk space
  • diff — Display the differences between two files
  • dir — Briefly list directory contents
  • dircolors — Colour setup for ls
  • dirname — Convert a full pathname to just a path
  • du — Estimate file space usage
  • eject — Eject CD-ROM
  • env — Display, set, or remove environment variables
  • exit — Exit the shell (or press Ctrl-D)
  • export — Set an environment variable
  • fdisk — Partition table manipulator for Linux
  • file — Tells what kind of files are those listed on command line
  • find — Search for files that meet a desired criteria
  • for — Expand words, and execute commands
  • format — Format disks or tapes
  • free — Display memory usage
  • fsck — Filesystem consistency check and repair.
  • ftp — Transfer/receive files from/to a remote host
  • grep, egrep, fgrep, rgrep — print lines that match patterns
  • groups — Print group names a user is in
  • gzip/gunzip — Compress or decompress named file(s)
  • head — Output the first part of file(s)
  • history — Command History
  • hostname — Print or set system name
  • id — Print user and group id’s
  • info — Help info
  • join — Joins lines on a common field
  • kill — Stops a process from running
  • killall — Stops matching process from running
  • less — Display output one screen at a time
  • ln — Make links between files
  • locate — Find files using an indexed list.
  • logname — Print current login name
  • logout — Exit a login shell
  • lpc — Line printer control program
  • lpr — Off line print
  • lprint — Print a file
  • lprintq — List the print queue
  • ls — List information about file(s)
  • man — Help manual
  • mkdir — Create new folder(s)
  • more — Display output one screen at a time
  • mount — Mount a file system
  • mv — Move or rename files or directories
  • nice — Set the priority of a command or job
  • passwd — Modify a user password
  • printf — Format and print data
  • ps — Process Status. Lists running process
  • pwd — Print Working Directory
  • rgrep — Recursive grep
  • rm — Remove file(s)
  • rmdir — Remove folder(s)
  • rsync — Remote file copy (Synchronize file trees) using its own protocol. It may be used over an ssh or rsh connection.
  • scp — Copy files between two machines over an ssh connection
  • script — make typescript of terminal session
  • sdiff — Merge two files interactively
  • sed — Stream Editor
  • select — Accept keyboard input
  • sftp — Secure file transfer (FTP over SSH)
  • shutdown — Shutdown or restart Linux
  • sleep — Delay for a specified time
  • sort — Sort text files
  • ssh — Secure Shell
  • su — Substitute user identity
  • sync — Synchronize data on disk with memory
  • tail — Output the last part of files
  • tar — Tape Archiver
  • time — Measure Program Resource Use
  • top — List processes running on the system
  • touch — Change file timestamps or create an empty file
  • tr — Translate, squeeze, and/or delete characters
  • traceroute — Trace Route to Host
  • true — Do nothing, successfully
  • umask — Users file creation mask
  • umount — Unmount a device
  • uname — Print system information
  • uniq — Uniquify files
  • until — Execute commands (until error)
  • useradd — Create new user account
  • usermod — Modify user account
  • users — List users currently logged in
  • vdir — Verbosely list directory contents (ls -l -b)
  • watch — Execute/display a program periodically
  • wc — Print byte, word and line counts
  • which — Locate a program file in the user’s path.
  • who — Print all usernames currently logged in
  • whoami — Print the current user id and name (`id -un’)
  • xargs — build and execute command lines from standard input
Читайте также:  What is pacemaker in linux

Fun

  • TODO link to unix books
  • TODOCategoryRedundant: merge other pages ShellToolTricks, PrincipalCommandscoreutils, Shell, ?dash, Sh
  • TODO remove coreutils commands from list, integrate coreutils as section (or page include)?

Источник

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