Журнал лабораторных работ

Содержание

Журнал

Вторник (02/22/11)

/dev/pts/0
10:59:50
#cat /etc/update
updatedb.conf    update-notifier/
10:59:50
#cat /etc/update
updatedb.conf    update-notifier/
10:59:50
#cat /etc/updatedb.conf
PRUNE_BIND_MOUNTS="yes"
# PRUNENAMES=".git .bzr .hg .svn"
PRUNEPATHS="/tmp /var/spool /media"
PRUNEFS="NFS nfs nfs4 rpc_pipefs afs binfmt_misc proc smbfs autofs iso9660 ncpfs coda devpts ftpfs devfs mfs shfs sysfs cifs lustre_lite tmpfs usbfs udf fuse.glusterfs fuse.sshfs"
11:00:13
#cat /etc/apt/
apt.conf.d/     sources.list    sources.list.d/ trusted.gpg
secring.gpg     sources.list~   trustdb.gpg     trusted.gpg~
11:00:13
#cat /etc/apt/sources.list
#
# deb cdrom:[Debian GNU/Linux 5.0.8 _Lenny_ - Official i386 NETINST Binary-1 20110123-01:19]/ squeeze main
#deb cdrom:[Debian GNU/Linux 5.0.8 _Lenny_ - Official i386 NETINST Binary-1 20110123-01:19]/ squeeze main
deb http://10.0.35.1:9999/debian/ squeeze main
#deb-src http://10.0.35.1:9999/debian/ squeeze main
#deb http://security.debian.org/ squeeze/updates main
#deb-src http://security.debian.org/ squeeze/updates main
#deb http://volatile.debian.org/debian-volatile squeeze/volatile main
#deb-src http://volatile.debian.org/debian-volatile squeeze/volatile main
11:00:34
#cat /etc/resolv.conf
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
#     DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
nameserver 10.0.35.1
search unix.nt
11:00:40
#date
Tue Feb 22 12:00:46 EET 2011
11:00:46
#TZ=Asia/Almaty date
Tue Feb 22 16:01:30 ALMT 2011
11:01:38
#apt-cache
apt-cache                     aptitude
apt-cdrom                     aptitude-create-state-bundle
apt-config                    aptitude-run-state-bundle
apt-extracttemplates          apt-key
apt-ftparchive                apt-mark
apt-get                       apt-sortpkgs
11:01:38
#apt-cache
.bash_history        .gconfd/             .metacity/
.bash_logout         .gnome/              .mozilla/
.bash_profile        .gnome2/             .nautilus/
.bashrc              .gnome2_private/     .profile
.dbus/               .gnupg/              .recently-used.xbel
Desktop/             .gstreamer-0.10/     .ssh/
.dmrc                .gvfs/               .update-notifier/
.evolution/          .ICEauthority        .Xauthority
.fontconfig/         .l3rc                .xsession-errors
.gconf/              .lilalo/
11:01:38
#apt-cache --help
apt 0.7.20.2 for i386 compiled on May 12 2010 20:23:46
Usage: apt-cache [options] command
       apt-cache [options] add file1 [file2 ...]
       apt-cache [options] showpkg pkg1 [pkg2 ...]
       apt-cache [options] showsrc pkg1 [pkg2 ...]
apt-cache is a low-level tool used to manipulate APT's binary
cache files, and query information from them
Commands:
   add - Add a package file to the source cache
   gencaches - Build both the package and source cache
...
   policy - Show policy settings
Options:
  -h   This help text.
  -p=? The package cache.
  -s=? The source cache.
  -q   Disable progress indicator.
  -i   Show only important deps for the unmet command.
  -c=? Read this configuration file
  -o=? Set an arbitrary configuration option, eg -o dir::cache=/tmp
See the apt-cache(8) and apt.conf(5) manual pages for more information.
11:01:55
#apt-cache search cfdisk
gpart - Guess PC disk partition table, find lost partitions
11:02:20
#apt-
apt-cache             apt-extracttemplates  apt-key
apt-cdrom             apt-ftparchive        apt-mark
apt-config            apt-get               apt-sortpkgs
11:02:20
#apt-key --help
Usage: apt-key [command] [arguments]
Manage apt's list of trusted keys
  apt-key add <file>          - add the key contained in <file> ('-' for stdin)
  apt-key del <keyid>         - remove the key <keyid>
  apt-key export <keyid>      - output the key <keyid>
  apt-key exportall           - output all trusted keys
  apt-key update              - update keys using the keyring package
  apt-key net-update          - update keys using the network
  apt-key list                - list keys
  apt-key finger              - list fingerprints
  apt-key adv                 - pass advanced options to gpg (download key)
11:02:50
#man apt-key
11:03:02
#cd /etc

11:03:42