which 명령어
[root@master1 ~]# which ls
alias ls='ls --color=auto'
/usr/bin/ls
alias 명령어
unalias 명령어
환경변수 PATH
man 명령어
리눅스에서 사용하는 명령어들의 매뉴얼(manual) 제공
예시) $ man ls
# man ls
LS(1) User Commands LS(1)
NAME
ls - list directory contents
SYNOPSIS
ls [OPTION]... [FILE]...
DESCRIPTION
List information about the FILEs (the current directory by default).
Sort entries alphabetically if none of -cftuvSUX nor --sort is speci‐
fied.
Mandatory arguments to long options are mandatory for short options
too.
-a, --all
do not ignore entries starting with .
-A, --almost-all
do not list implied . and ..
...
info 명령어
리눅스 명령어의 사용 방법, 옵션 등을 나타냄
man보다 상세화된 매뉴얼
예시) $ info ls
# info ls
Next: dir invocation, Up: Directory listing
10.1 ‘ls’: List directory contents
==================================
The ‘ls’ program lists information about files (of any type, including
directories). Options and file arguments can be intermixed arbitrarily,
as usual.
For non-option command-line arguments that are directories, by
default ‘ls’ lists the contents of directories, not recursively, and
omitting files with names beginning with ‘.’. For other non-option
arguments, by default ‘ls’ lists just the file name. If no non-option
argument is specified, ‘ls’ operates on the current directory, acting as
if it had been invoked with a single argument of ‘.’.
By default, the output is sorted alphabetically, according to the
locale settings in effect.(1) If standard output is a terminal, the
output is in columns (sorted vertically) and control characters are
output as question marks; otherwise, the output is listed one per line
and control characters are output as-is.
Because ‘ls’ is such a fundamental program, it has accumulated many
options over the years. They are described in the subsections below;
within each section, options are listed alphabetically (ignoring case).
The division of options into the subsections is not absolute, since some
options affect more than one aspect of ‘ls’’s operation.
Exit status:
0 success
...
whatis 명령어
# whatis ls
ls (1) - list directory contents
ls (1p) - list directory contents
manpath 명령어
# manpath
/usr/local/share/man:/usr/share/man
whereis 명령어
# whereis ls
ls: /usr/bin/ls /usr/share/man/man1/ls.1.gz /usr/share/man/man1p/ls.1p.gz
apropos 명령어
# apropos floppy
fd (4) - floppy disk device
fdformat (8) - low-level format a floppy disk
mbadblocks (1) - tests a floppy disk, and marks the bad blocks in the FAT
mformat (1) - add an MSDOS filesystem to a low-level formatted floppy disk
# apropos system | grep ^system
system (3) - execute a shell command
system (3p) - issue a command
system-auth (5) - Common configuration file for PAMified services
system.conf.d (5) - System and session service manager configuration files
systemctl (1) - Control the systemd system and service manager
systemd (1) - systemd system and service manager
systemd-analyze (1) - Analyze and debug system manager
systemd-ask-password (1) - Query the user for a system password
systemd-ask-password-console.path (8) - Query the user for system passwords on the console and via wall
systemd-ask-password-console.service (8) - Query the user for system passwords on the console and via wall
...