블로그 이미지
by 놀러와

NOTICE

CALENDAR

«   2024/07   »
1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 31
  • Total :
  • Today :  | Yesterday :

CATEGORY

분류 전체보기 (18)
linux-ubuntu (5)
linux-kali (5)
linux-help (6)
today nothing (1)
wordpress (0)

RECENT ARTICLE

RECENT COMMENT

RECENT TRACKBACK

ARCHIVE

LINK



  1. 2017.09.23
    apt-cache #설치에 관한 정보 조회 및 표시
  2. 2017.09.23
    git #
  3. 2017.09.23
    dpkg #deb 패키지의 설치, 삭제, 정보 제공
  4. 2017.09.23
    cat #텍스트 문서를 출력한다.
  5. 2017.09.23
    chsh #쉘을 바꿔보자
  6. 2017.09.19
    apt-get #데비안 계열 패키지 설치 제거에 필요한 명령어.

apt 1.2.24 (amd64)
Usage: apt-cache [options] command

apt-cache [options] show pkg1 [pkg2 ...]

apt-cache queries and displays available information about installed
and installable packages. It works exclusively on the data acquired
into the local cache via the 'update' command of e.g. apt-get. The
displayed information may therefore be outdated if the last update was
too long ago, but in exchange apt-cache works independently of the
availability of the configured sources (e.g. offline).

Most used commands:
showsrc - 소스 기록을 봅니다
search - 정규식 패턴에 맞는 패키지 목록을 찾습니다
depends - 패키지에 대해 의존성 정보를 그대로 봅니다
rdepends - 패키지의 역 의존성 정보를 봅니다
show - 패키지에 대해 읽을 수 있는 기록을 봅니다
pkgnames - 시스템에 들어 있는 패키지의 이름을 모두 봅니다
policy - 정책 설정을 봅니다

See apt-cache(8) for more information about the available commands.
Configuration options and syntax is detailed in apt.conf(5).
Information about how to configure sources can be found in sources.list(5).
Package and version choices can be expressed via apt_preferences(5).
Security details are available in apt-secure(8).

And

사용법: git [--version] [--help] [-C <path>] [-c name=value]

[--exec-path[=<path>]] [--html-path] [--man-path] [--info-path]
[-p | --paginate | --no-pager] [--no-replace-objects] [--bare]
[--git-dir=<path>] [--work-tree=<path>] [--namespace=<name>]
<command> [<args>]

다음은 여러가지 상황에서 자주 사용하는 깃 명령입니다:

작업 공간 시작 (참고: git help tutorial)
clone 저장소를 복제해 새 디렉터리로 가져 옵니다
init 빈 깃 저장소를 만들거나 기존 저장소를 다시 초기화합니다

변경 사항에 대한 작업 (참고: git help everyday)
add 파일 내용을 인덱스에 추가합니다
mv 파일, 디렉터리, 심볼릭 링크를 옮기거나 이름을 바꿉니다
reset 현재 HEAD를 지정한 상태로 재설정화합니다
rm 파일을 작업 폴더에서 제거하고 인덱스에서도 제거합니다

커밋 내역과 상태 보기 (참고: git help revisions)
bisect 이진 탐색으로 버그를 만들어낸 커밋을 찾습니다
grep 패턴과 일치하는 줄을 표시합니다
log 커밋 기록을 표시합니다
show 여러가지 종류의 오브젝트를 표시합니다
status 작업 폴더 상태를 표시합니다

커밋 내역을 키우고, 표시하고, 조작하기
branch 브랜치를 만들거나, 삭제하거나, 목록을 출력합니다
checkout 브랜치를 전환하거나 작업 파일을 복구합니다
commit 바뀐 사항을 저장소에 기록합니다.
diff 커밋과 커밋 사이, 커밋과 작업 내용 사이 등의 바뀐 점을 봅니다
merge 여러 개의 개발 내역을 하나로 합칩니다
rebase 로컬 커밋을 업데이트된 업스트림 head 다음에 맞춰 넣습니다
tag 태그를 만들거나, 표시하거나, 삭제하거나, GPG 서명을 검증합니다

협동 작업 (참고: git help workflows)
fetch 다른 저장소에서 오브젝트와 레퍼런스를 다운로드합니다
pull 다른 저장소 또는 다른 로컬 브랜치에서 가져오거나 통합합니다
push 원격 레퍼런스 및 그와 관련된 오브젝트를 업데이트합니다

And

dpkg

kingsman@localhost:~$ dpkg --help
사용법: dpkg [<옵션> ...] <명령>

Commands:

-i|--install <.deb file name> ... | -R|--recursive <directory> ...
--unpack <.deb file name> ... | -R|--recursive <directory> ...
-A|--record-avail <.deb file name> ... | -R|--recursive <directory> ...
--configure <package> ... | -a|--pending
--triggers-only <package> ... | -a|--pending
-r|--remove <package> ... | -a|--pending
-P|--purge <package> ... | -a|--pending
-V|--verify <package> ... Verify the integrity of package(s).
--get-selections [<pattern> ...] Get list of selections to stdout.
--set-selections Set package selections from stdin.
--clear-selections Deselect every non-essential package.
--update-avail [<Packages-file>] Replace available packages info.
--merge-avail [<Packages-file>] Merge with info from file.
--clear-avail Erase existing available info.
--forget-old-unavail Forget uninstalled unavailable pkgs.
-s|--status <package> ... Display package status details.
-p|--print-avail <package> ... Display available version details.
-L|--listfiles <package> ... List files 'owned' by package(s).
-l|--list [<pattern> ...] List packages concisely.
-S|--search <pattern> ... Find package(s) owning file(s).
-C|--audit [<package> ...] Check for broken package(s).
--yet-to-unpack Print packages selected for installation.
--predep-package Print pre-dependencies to unpack.
--add-architecture <arch> Add <arch> to the list of architectures.
--remove-architecture <arch> Remove <arch> from the list of architectures.
--print-architecture Print dpkg architecture.
--print-foreign-architectures Print allowed foreign architectures.
--assert-<feature> Assert support for the specified feature.
--compare-versions <a> <op> <b> Compare version numbers - see below.
--force-help Show help on forcing.
-Dh|--debug=help Show help on debugging.

-?, --help Show this help message.

--version Show the version.

Assertable features: support-predepends, working-epoch, long-filenames,
multi-conrep, multi-arch, versioned-provides.

Use dpkg with -b, --build, -c, --contents, -e, --control, -I, --info,
-f, --field, -x, --extract, -X, --vextract, --ctrl-tarfile, --fsys-tarfile
on archives (type dpkg-deb --help).

Options:

--admindir=<directory> Use <directory> instead of /var/lib/dpkg.
--root=<directory> Install on a different root directory.
--instdir=<directory> Change installation dir without changing admin dir.
--path-exclude=<pattern> Do not install paths which match a shell pattern.
--path-include=<pattern> Re-include a pattern after a previous exclusion.
-O|--selected-only Skip packages not selected for install/upgrade.
-E|--skip-same-version Skip packages whose same version is installed.
-G|--refuse-downgrade Skip packages with earlier version than installed.
-B|--auto-deconfigure Install even if it would break some other package.
--[no-]triggers Skip or force consequential trigger processing.
--verify-format=<format> Verify output format (supported: 'rpm').
--no-debsig Do not try to verify package signatures.
--no-act|--dry-run|--simulate

Just say what we would do - don't do it.
-D|--debug=<octal> Enable debugging (see -Dhelp or --debug=help).
--status-fd <n> Send status change updates to file descriptor <n>.
--status-logger=<command> Send status change updates to <command>'s stdin.
--log=<filename> Log status changes and actions to <filename>.
--ignore-depends=<package>,...
Ignore dependencies involving <package>.
--force-... Override problems (see --force-help).
--no-force-...|--refuse-...
Stop when problems encountered.
--abort-after <n> Abort after encountering <n> errors.

--compare-versions에서 사용하는 비교 연산자:
lt le eq ne ge gt (버전이 없는 경우 항상 이전 버전으로 취급)
lt-nl le-nl ge-nl gt-nl (버전이 없는 경우 항상 이후 버전으로 취급)
< << <= = >= >> > (control 파일의 형식과의 호환성을 위해서만 사용).

Use 'apt' or 'aptitude' for user-friendly package management.
kingsman@localhost:~$


And

사용법: cat [<옵션>]... [<파일>]...
Concatenate FILE(s) to standard output.

<파일>이 주어지지 않거나 - 이면 표준 입력을 읽습니다.

-A, --show-all equivalent to -vET
-b, --number-nonblank number nonempty output lines, overrides -n
-e equivalent to -vE
-E, --show-ends display $ at end of each line
-n, --number number all output lines
-s, --squeeze-blank suppress repeated empty output lines
-t -vT와 같음
-T, --show-tabs 탭 문자를 ^I로 표시합니다
-u (무시됨)
-v, --show-nonprinting ^ 와 M- 표기법을 사용합니다 (LFD와 TAB 제외)

--help 이 도움말을 표시하고 끝냅니다
--version 버전 정보를 출력하고 끝냅니다

예제:
cat f - g f 내용, 표준 입력, g 내용을 순서대로 출력.
cat 표준 입력을 표준 출력으로 복사.

GNU coreutils online help: <http://www.gnu.org/software/coreutils/>
Report cat translation bugs to <http://translationproject.org/team/>
Full documentation at: <http://www.gnu.org/software/coreutils/cat>
or available locally via: info '(coreutils) cat invocation'

And

Usage: chsh [options] [LOGIN]

Options:
-h, --help display this help message and exit
-R, --root CHROOT_DIR directory to chroot into
-s, --shell SHELL new login shell for the user account

And
apt 1.5~rc1 (amd64)
Usage: apt-get [options] command
       apt-get [options] install|remove pkg1 [pkg2 ...]
       apt-get [options] source pkg1 [pkg2 ...]

apt-get is a command line interface for retrieval of packages
and information about them from authenticated sources and
for installation, upgrade and removal of packages together
with their dependencies.

Most used commands:
  update - 패키지 목록을 새로 가져옵니다
  upgrade - 업그레이드를 합니다
  install - 새 패키지를 설치합니다 (패키지는 libc6 식으로. libc6.deb 아님)
  remove - 패키지를 지웁니다
  purge - 패키지를 완전히 지웁니다
  autoremove - 사용하지 않는 패키지를 자동으로 전부 지웁니다
  dist-upgrade - 배포판 업그레이드, apt-get(8) 참고
  dselect-upgrade - dselect에서 선택한 걸 따릅니다
  build-dep - 소스 패키지의 빌드 의존성을 설정합니다
  clean - 내려받은 아카이브 파일들을 지웁니다
  autoclean - 과거에 내려받은 아카이브 파일들을 지웁니다
  check - 의존성이 망가지지 않았는지 확인합니다
  source - 소스 아카이브를 다운로드합니다
  download - Download the binary package into the current directory
  changelog - Download and display the changelog for the given package

See apt-get(8) for more information about the available commands.
Configuration options and syntax is detailed in apt.conf(5).
Information about how to configure sources can be found in sources.list(5).
Package and version choices can be expressed via apt_preferences(5).
Security details are available in apt-secure(8).
                    이 APT는 Super Cow Powers로 무장했습니다.


'linux-help' 카테고리의 다른 글

apt-cache #설치에 관한 정보 조회 및 표시  (0) 2017.09.23
git #  (0) 2017.09.23
dpkg #deb 패키지의 설치, 삭제, 정보 제공  (0) 2017.09.23
cat #텍스트 문서를 출력한다.  (0) 2017.09.23
chsh #쉘을 바꿔보자  (0) 2017.09.23
And