Шпаргалка по командам и хоткеям Unix

Стянуто отсюда: http://www.debian.org/doc/manuals/debian-reference/ch01.en.html Хоткеи: key description of key binding Ctrl-U стереть тест перед курсором (erase line before cursor) Ctrl-H стереть символ перед курсром (erase a character before cursor) Ctrl-D terminate input (exit shell if you are using shell) Ctrl-C terminate a running program Ctrl-Z temporarily stop program by moving it to the background job Ctrl-S halt output to screen Ctrl-Q reactivate output to screen Ctrl-Alt-Del reboot/halt the system, see inittab(5) Left-Alt-key (optionally, Windows-key) meta-key for Emacs and the similar UI Up-arrow start command history search under bash Ctrl-R start incremental command history search under bash Tab complete input of the filename to the command line under bash Ctrl-V Tab input Tab without expansion to the command line under bash Команды: command description pwd выводит текущую директорию (display name of current/working directory) whoami выводит имя текущего юзера (display current user name) id выводит id текущего юзера (display current user identity (name, uid, gid, and associated groups)) file <foo> выводит тип файла, переданного в качестве аргумента (display a type of file for the file <foo>) type -p <commandname> выводит расположение файла, вызывающегося при вводе команды (display a file location of command <commandname>) type <commandname> выводит информацию о команде (display information on command <commandname>) apropos <key-word> находит команды, связанные с переданным аргумеентом find commands related to <key-word> whatis <commandname> display one line explanation on command <commandname> man -a <commandname> display explanation on command <commandname> (Unix style) info <commandname> display rather long explanation on command <commandname> (GNU style) ls list contents of directory (non-dot files and directories) ls -a list contents of directory (all files and directories) ls -A list contents of directory (almost all files and directories, i.

Читать дальше ➠