Debian Reference Card

[Pages:2]dpkg-query -W -showformat format

Dpkg

, '${Package} ${Version} $ .{Installed-Size}\n'

dpkg --getselections > file

.

dpkg --setselections < file

/etc/network/ interfaces

.

Interface configuration (if not

controlled via network-manager).

ip link set device [up] [down]

Start, stop network interfaces according to the file above.

/sbin/ip

ssh -X user@host scp files user@host:path

, .iproute2

.

.)(

GNU General Public https:// . 3 License /usr/share/ copyleft/gpl.html .common-licenses/ GPL-3

2010 ,2004 ? Lior Kaplan (Hebrew) 2016 ,2010 ,2008 ? Omer Zak (Hebrew)

Debian Reference Card

9 .0 - Debian 9 'Stretch' -- 2016-07-09

man page or man bash

.

command [--help, -h] /usr/share/doc/ [package-name/]

.

, . README.Debian

Reference, manuals, FAQs, HOWTOs, etc. at https://

doc/

- https:// lists.

, .users

https://- wiki.

.



/devel/debian-installer

CD

h ttps://- /distrib

boot: expert

, LILO- DHCP

.GRUB-

https://- bugs.

.

h ttps://bugs. wnpp- ,/package-name

.

reportbug

."

h ttps://- Bugs/Reporting

/etc/

./etc/

editor

http://- CUPS hostname:631

. .emacs, vi, joe ,

.

dpkg-reconfigure package-name

, - ,)( keyboard-configuration

.)( locales

update-alternatives options

.

update-grub

./etc/default/grub

daemons

systemctl restart name.service

. daemon ,

systemctl stop name.service

. daemon ,

systemctl start name.service

. daemon ,

systemctl halt systemctl reboot systemctl poweroff systemctl suspend systemctl hibernate /var/log/

. . -

. . .

.

/etc/default/

-daemon .

cat files

.

cd directory

.

cp files dest

.

echo string

.

gzip, bzip2, xz [-d] files

. ,

pager files

.

ls [files]

.

mkdir directorynames

.

mv file1 file2 rm files rmdir dirs tar [c][x][t][z][j][J] -f file.tar [files]

. , .

. Create (c), extract (x), list table

of (t) archive file, z for .gz, j for .bz2, J for .xz.

find directories expressions

-name name .' ,-size +1000

grep search-string files

.

ln -s file link ps [options] kill [-9] PID

.

.

,( ,PID- .) .ps

su - [username]

r oot , .)-(

sudo command

)root( - ./etc/ ,

sudoers

command > file command >> file cmd1 | cmd2

.

.

cmd1 .cmd2

command < file

.

apt update

apt search searchstring apt list -a packagename

APT

/etc/apt/-

, .sources.list ,

.

.search-string

Show versions and archive areas of available packages.

APT

apt show -a packagename

.

apt install packagenames

.

apt upgrade

.

apt full-upgrade

,apt-get upgrade .

apt remove packagenames

Remove packages.

apt autoremove

.

apt depends packagename

.

apt rdepends package-name

.

apt-file update

, .apt update

apt-file search filename

.

apt-file list packagename

.

aptitude

.aptitude ,APT-

synaptic

.synaptic ,APT

dpkg -l [names] dpkg -I pkg.deb dpkg -c pkg.deb dpkg -S filename dpkg -i pkg.deb dpkg -V [packagenames] dpkg-divert [options] file dpkg --compareversions v1 gt v2

Dpkg .

. .

. .

Audit check sums of installed packages.

.

Compare version numbers; view results with echo $?.

................
................

In order to avoid copyright disputes, this page is only a partial summary.

Google Online Preview   Download