블로그 이미지
by 놀러와

NOTICE

CALENDAR

«   2024/06   »
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
  • 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



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