/l3/users/kolya/nt-ladm-2006-03-13/linux4.unix.nt/root :1 :2 :3 :4 :5 :6 :7 :8 |
|
#aprt-get update
bash: aprt-get: command not found |
#apt-get update
E: Type 'dep' is not known on line 8 in source list /etc/apt/sources.list |
#vi /etc/apt/sources.list
|
#aprt-get update
bash: aprt-get: command not found |
#apt-get update
E: Type 'dep' is not known on line 8 in source list /etc/apt/sources.list |
#vi /etc/apt/sources.list
|
#apt-get update
Get:1 http://debian.org.ua unstable/main Packages [4018kB] Hit http://security.debian.org testing/updates/main Packages Hit http://security.debian.org testing/updates/main Release Hit http://security.debian.org testing/updates/contrib Packages Hit http://security.debian.org testing/updates/contrib Release Get:2 http://debian.org.ua unstable/main Release [82B] Err http://debian.org.ua unstable/constrib Packages 404 Not Found Ign http://debian.org.ua unstable/constrib Release Err http://debian.org.ua unstable/non Packages 404 Not Found Ign http://debian.org.ua unstable/non Release Err http://debian.org.ua unstable/free Packages 404 Not Found Ign http://debian.org.ua unstable/free Release Fetched 4018kB in 20s (193kB/s) Failed to fetch http://debian.org.ua/debian/dists/unstable/constrib/binary-i386/Packages.gz 404 Not Found Failed to fetch http://debian.org.ua/debian/dists/unstable/non/binary-i386/Packages.gz 404 Not Found Failed to fetch http://debian.org.ua/debian/dists/unstable/free/binary-i386/Packages.gz 404 Not Found Reading Package Lists... Done E: Some index files failed to download, they have been ignored, or old ones used instead. |
#mount
/dev/hdb1 on / type ext3 (rw,errors=remount-ro) proc on /proc type proc (rw) sysfs on /sys type sysfs (rw) devpts on /dev/pts type devpts (rw,gid=5,mode=620) tmpfs on /dev/shm type tmpfs (rw) /dev/hdb8 on /home type ext3 (rw) /dev/hdb6 on /tmp type ext3 (rw) /dev/hdb9 on /usr type ext3 (rw) /dev/hdb7 on /var type ext3 (rw) usbfs on /proc/bus/usb type usbfs (rw) |
#vi /etc/apt/sources.list
|
#apt-get update
Hit http://debian.org.ua unstable/main Packages Hit http://debian.org.ua unstable/main Release Get:1 http://debian.org.ua unstable/contrib Packages [56,3kB] Get:2 http://debian.org.ua unstable/contrib Release [85B] Get:3 http://debian.org.ua unstable/non-free Packages [72,7kB] Get:4 http://debian.org.ua unstable/non-free Release [86B] Fetched 129kB in 29s (4392B/s) Reading Package Lists... Done |
#apt-get upgrade
Reading Package Lists... Done Building Dependency Tree... Done The following packages have been kept back: adduser amor apt apt-utils aptitude ark arts artsbuilder at atlantik atlantikdesigner base-config base-passwd bash bc bind9-host binutils bison bsdmainutils bsdutils console-common console-tools coreutils cpio cpp cpp-3.3 cron cvs dash dc dcoprss debianutils dhcp-client dictd dictzip discover1 discover1-data dnsutils dosfstools dpkg dpkg-dev dselect e2fslibs e2fsprogs eject enscript exim4 exim4-base exim4-config exim4-daemon-light eyesapplet fdutils fifteenapplet file findutils finger flex fontconfig ftp g++ g++-3.3 gcc gcc-3.3 gcc-3.3-base gconf2 gdb gdm gettext-base gksu gnome-keyring gnupg gpm grep groff-base grub gs-gpl gzip hostname imagemagick imlib11 info initscripts ipchains ipmasqadm iptables iputils-ping ispell ... libidl0 libieee1284-3 libio-stringy-perl libmailtools-perl libmime-perl libnews-nntpclient-perl libpam-runtime libsnmp-base libss2 libtext-wrapi18n-perl libtimedate-perl liburi-perl libwww-perl linux-kernel-headers localization-config makedev manpages manpages-dev manpages-ru menu-xdg mime-support myspell-ru ncurses-term nvi pppconfig pppoeconf reportbug sysv-rc time ttf-bitstream-vera ucf wamerican xfonts-100dpi xfonts-75dpi xfonts-base xfonts-scalable xlibmesa-dri xlibs xlibs-data 86 upgraded, 0 newly installed, 0 to remove and 530 not upgraded. Need to get 75,3MB of archives. After unpacking 12,0MB of additional disk space will be used. Do you want to continue? [Y/n] n Abort. |
#vi /etc/apt/sources.list
|
#vi /etc/apt/sources.list
|
#apt-get install konqueror/unstable
Reading Package Lists... Done Building Dependency Tree... Done Selected version 4:3.5.1-1 (Debian:unstable) for konqueror The following extra packages will be installed: akregator amor ark arts artsbuilder atlantik atlantikdesigner dcoprss debianutils dirmngr e2fslibs e2fsprogs eyesapplet fifteenapplet fontconfig fontconfig-config gcc-4.0-base gettext gnupg-agent gnupg2 gpgsm initscripts kaboodle kaddressbook kaddressbook-plugins kalarm kalzium kalzium-data kamera kanagram kandy kappfinder karm kasteroids kate kate-plugins katomic kaudiocreator kbackgammon kbattleship kblackbox kbounce kbruch kcalc kcharselect kcoloredit kcontrol kcron kdat kdeaddons kdeaddons-kfile-plugins kdeadmin kdeadmin-kfile-plugins kdeartwork-style kdeartwork-theme-window kdebase-bin kdebase-data ... libartsc0 libasound2 libaspell15 libc6 libc6-dev libcvsservice0 libdb4.3 libfontconfig1 libfribidi0 libgadu3 libgcc1 libgcrypt11 libglib2.0-0 libgpg-error0 libgphoto2-2 libgphoto2-port0 libidn11 libkcddb1 libkdegames1 libkgantt0 libkonq4 libkpimexchange1 libkpimidentities1 libkrb53 libkscan1 libksieve0 libncurses5 libogg0 libopencdk8 librss1 libsasl2 libselinux1 libsensors3 libsnmp-base libtasn1-2 libusb-0.1-4 libvorbis0a libvorbisenc2 libvorbisfile3 libxml2 libxrender1 libxslt1.1 locales lskat mpeglib noatun noatun-plugins perl perl-base perl-modules quanta quanta-data secpolicy ssh sysv-rc 253 upgraded, 89 newly installed, 26 to remove and 355 not upgraded. Need to get 206MB of archives. After unpacking 55,2MB of additional disk space will be used. Do you want to continue? [Y/n] |
#man apt-config
|
#man apt.conf
|
#man apt_preferences
|
#apt-get install konqueror/unstable
kandy kappfinder karm kasteroids kate kate-plugins katomic kaudiocreator kbackgammon kbattleship kblackbox kbounce kbruch kcalc kcharselect kcoloredit kcontrol kcron kdat kdeaddons kdeaddons-kfile-plugins kdeadmin kdeadmin-kfile-plugins kdeartwork-style kdeartwork-theme-window kdebase-bin kdebase-data kdebase-kio-plugins kdeedu kdeedu-data kdegraphics-kfile-plugins kdelibs kdelibs-bin kdelibs-data kdelibs4c2a kdelirc kdemultimedia-kfile-plugins kdemultimedia-kio-plugins kdenetwork-filesharing kdepasswd kdepim kdepim-kfile-plugins kdepim-kio-plugins kdepim-kresources kdepim-wizards kdeprint kdesktop kdessh kdf kdict kdm kdvi kedit keduca kenolaba kfax kfilereplace kfind kfloppy kfouleggs kgamma kget kghostview kgoldrunner kgpg khangman khelpcenter khexedit kicker kicker-applets kiconedit kig kimagemapeditor kitchensync kiten kjots kjumpingcube klaptopdaemon klatin kleopatra klettres klettres-data klickety klines klinkstatus klipper kmahjongg kmail kmailcvt kmenuedit kmid kmilo kmines kmix kmoon kmplot kmrml ... Get:44 http://debian.org.ua unstable/main libkdegames1 4:3.5.1-1 [311kB] Get:45 http://debian.org.ua unstable/main kasteroids 4:3.5.1-1 [474kB] Get:46 http://debian.org.ua unstable/main libxau6 6.9.0.dfsg.1-4 [193kB] Get:47 http://debian.org.ua unstable/main libxdmcp6 6.9.0.dfsg.1-4 [196kB] Get:48 http://debian.org.ua unstable/main libxcomposite1 6.9.0.dfsg.1-4 [192kB] Get:49 http://debian.org.ua unstable/main libxfixes3 6.9.0.dfsg.1-4 [195kB] Get:50 http://debian.org.ua unstable/main kicker 4:3.5.1-1 [1986kB] Err http://debian.org.ua unstable/main libusb-0.1-4 2:0.1.11-6 404 Not Found Get:51 http://debian.org.ua unstable/main kcontrol 4:3.5.1-1 [8095kB] |
#ssh linux3
The authenticity of host 'linux3 (192.168.15.3)' can't be established. RSA key fingerprint is 93:5b:25:e8:25:26:f0:4e:41:ac:33:1b:1c:c7:a7:76. Are you sure you want to continue connecting (yes/no)? y Please type 'yes' or 'no': yes Warning: Permanently added 'linux3' (RSA) to the list of known hosts. Password: Password: Password: |
#ssh user@linux3
Password: Linux linux3 2.6.8-2-686-smp #1 SMP Mon Jan 24 02:32:52 EST 2005 i686 GNU/Linux No mail. Last login: Thu Mar 16 12:56:36 2006 |
$ssh user@linux1
ssh: connect to host linux1 port 22: No route to host |
$ssh user@freebsd1
ssh: freebsd1: Name or service not known |
$ssh user@fbsd2
The authenticity of host 'fbsd2 (192.168.15.22)' can't be established. DSA key fingerprint is 59:2b:66:c8:2c:39:35:97:d6:5a:60:00:fe:0f:96:eb. Are you sure you want to continue connecting (yes/no)? yes Warning: Permanently added 'fbsd2,192.168.15.22' (DSA) to the list of known hosts. Password: Last login: Thu Mar 16 14:17:04 2006 Copyright (c) 1980, 1983, 1986, 1988, 1990, 1991, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 6.0-RELEASE (GENERIC) #0: Thu Nov 3 09:36:13 UTC 2005 |
$host
Usage: host [-aCdlriTwv] [-c class] [-N ndots] [-t type] [-W time] [-R number] hostname [server] -a is equivalent to -v -t * -c specifies query class for non-IN data -C compares SOA records on authoritative nameservers -d is equivalent to -v -l lists all hosts in a domain, using AXFR -i IP6.INT reverse lookups -N changes the number of dots allowed before root lookup is done -r disables recursive processing -R specifies number of retries for UDP packets -t specifies the query type -T enables TCP/IP mode -v enables verbose output -w specifies to wait forever for a reply -W specifies how long to wait for a reply -4 use IPv4 query transport only -6 use IPv6 query transport only |
$host
Usage: host [-aCdlriTwv] [-c class] [-N ndots] [-t type] [-W time] [-R number] hostname [server] -a is equivalent to -v -t * -c specifies query class for non-IN data -C compares SOA records on authoritative nameservers -d is equivalent to -v -l lists all hosts in a domain, using AXFR -i IP6.INT reverse lookups -N changes the number of dots allowed before root lookup is done -r disables recursive processing -R specifies number of retries for UDP packets -t specifies the query type -T enables TCP/IP mode -v enables verbose output -w specifies to wait forever for a reply -W specifies how long to wait for a reply -4 use IPv4 query transport only -6 use IPv6 query transport only |
$hostlocal
bash: hostlocal: command not found |
$hostname
fbsd2.unix.nt |
#etc/init.d/kdm stop
bash: etc/init.d/kdm: No such file or directory |
#/etc/init.d/kdm stop
Stopping K Display Manager: kdm not running (/var/run/kdm.pid not found). |
#/etc/init.d/kdm start
Not starting K Display Manager (kdm); it is not the default display manager. |
#vi /etc/apt/sources.list
8c8,9 < deb http://debian.org.ua/debian unstable main contrib non-free --- > dep http://debian.org.ua/debian unstable main contrib non-free > #deb http://debian.org.ua/debian unstable main contrib non-free |
#apt-get install konqueror/unstable
E: Type 'dep' is not known on line 8 in source list /etc/apt/sources.list E: The list of sources could not be read. |
#apt-get install konqueror/unstable
E: Type 'dep' is not known on line 9 in source list /etc/apt/sources.list E: The list of sources could not be read. |
#vi /etc/apt/sources.list
8,9c8,9 < #dep http://debian.org.ua/debian unstable main contrib non-free < dep http://ftp.debian.org/debian unstable main contrib non-free --- > #deb http://debian.org.ua/debian unstable main contrib non-free > deb http://ftp.debian.org/debian unstable main contrib non-free |
#apt-get install konqueror/unstable
Reading Package Lists... Done Building Dependency Tree... Done W: Couldn't stat source package list http://ftp.debian.org unstable/main Packages (/var/lib/apt/lists/ftp.debian.org_debian_dists_unstable_main_binary-i386_Packages) - stat (2 No such file or directory) W: Couldn't stat source package list http://ftp.debian.org unstable/contrib Packages (/var/lib/apt/lists/ftp.debian.org_debian_dists_unstable_contrib_binary-i386_Packages) - stat (2 No such file or directory) W: Couldn't stat source package list http://ftp.debian.org unstable/non-free Packages (/var/lib/apt/lists/ftp.debian.org_debian_dists_unstable_non-free_binary-i386_Packages) - stat (2 No such file or directory) W: Couldn't stat source package list http://ftp.debian.org unstable/main Packages (/var/lib/apt/lists/ftp.debian.org_debian_dists_unstable_main_binary-i386_Packages) - stat (2 No such file or directory) W: Couldn't stat source package list http://ftp.debian.org unstable/contrib Packages (/var/lib/apt/lists/ftp.debian.org_debian_dists_unstable_contrib_binary-i386_Packages) - stat (2 No such file or directory) W: Couldn't stat source package list http://ftp.debian.org unstable/non-free Packages (/var/lib/apt/lists/ftp.debian.org_debian_dists_unstable_non-free_binary-i386_Packages) - stat (2 No such file or directory) W: You may want to run apt-get update to correct these problems E: Release ‘unstable’ for ‘konqueror’ was not found |
#apt-get update
Get:1 http://ftp.debian.org unstable/main Packages [4018kB] Get:2 http://ftp.debian.org unstable/main Release [82B] Get:3 http://ftp.debian.org unstable/contrib Packages [56,3kB] Get:4 http://ftp.debian.org unstable/contrib Release [85B] Get:5 http://ftp.debian.org unstable/non-free Packages [72,7kB] Get:6 http://ftp.debian.org unstable/non-free Release [86B] Fetched 4147kB in 1m16s (54,5kB/s) Reading Package Lists... Done |
#apt-get install konqueror/unstable
Selected version 4:3.5.1-1 (Debian:unstable) for konqueror The following extra packages will be installed: akregator amor ark arts artsbuilder atlantik atlantikdesigner dcoprss debianutils dirmngr e2fslibs e2fsprogs eyesapplet fifteenapplet fontconfig fontconfig-config gcc-4.0-base gettext gnupg-agent gnupg2 gpgsm initscripts kaboodle kaddressbook kaddressbook-plugins kalarm kalzium kalzium-data kamera kanagram kandy kappfinder karm kasteroids kate kate-plugins katomic kaudiocreator kbackgammon kbattleship kblackbox kbounce kbruch kcalc kcharselect kcoloredit kcontrol kcron kdat kdeaddons kdeaddons-kfile-plugins kdeadmin kdeadmin-kfile-plugins kdeartwork-style kdeartwork-theme-window ... Get:1 http://ftp.debian.org unstable/main libssl0.9.8 0.9.8a-8 [2693kB] Get:2 http://ftp.debian.org unstable/main libusb-0.1-4 2:0.1.11-6 [18,4kB] Get:3 http://ftp.debian.org unstable/main perl-modules 5.8.8-3 [2319kB] Get:4 http://ftp.debian.org unstable/main perl-base 5.8.8-3 [751kB] Get:5 http://ftp.debian.org unstable/main perl 5.8.8-3 [3570kB] Get:6 http://ftp.debian.org unstable/main libperl5.8 5.8.8-3 [533kB] Get:7 http://ftp.debian.org unstable/main perl-suid 5.8.8-3 [30,7kB] Fetched 9915kB in 2m25s (68,3kB/s) E: This installation run will require temporarily removing the essential package e2fsprogs due to a Conflicts/Pre-Depends loop. This is often bad, but if you really want to do it, activate the APT::Force-LoopBreak option. E: Internal Error, Could not early remove e2fsprogs |
#vi /etc/apt/apt.conf
|
#apt-get install konqueror/unstable
kernel-image-2.6.8-2-686-smp зависит от initrd-tools (>= 0.1.63). Удаляется пакет initrd-tools... dpkg: предупреждение -- проблема игнорируется, поскольку задан параметр --force: Этот пакет является пакетом первой необходимости и не должен быть удалён. dpkg: зависимости мешают удалению пакета e2fsprogs, но по вашему указанию он всё равно будет удалён: initscripts зависит от e2fsprogs (>= 1.19-1). Удаляется пакет e2fsprogs... При обработке следующих пакетов произошли ошибки: kernel-image-2.6.8-2-686-smp E: Sub-process /usr/bin/dpkg returned an error code (1) |
#apt-get install initrd-tools
Reading Package Lists... Done Building Dependency Tree... Done You might want to run ‘apt-get -f install’ to correct these: The following packages have unmet dependencies: initscripts: Depends: e2fsprogs (>= 1.19-1) but it is not going to be installed E: Unmet dependencies. Try ‘apt-get -f install’ with no packages (or specify a solution). |
#apt-get install e2fsprogs
Reading Package Lists... Done Building Dependency Tree... Done You might want to run ‘apt-get -f install’ to correct these: The following packages have unmet dependencies: e2fsprogs: PreDepends: e2fslibs (= 1.38+1.39-WIP-2005.12.31-1) but 1.35-6 is to be installed PreDepends: libc6 (>= 2.3.5-1) but 2.3.2.ds1-20 is to be installed kernel-image-2.6.8-2-686-smp: Depends: initrd-tools (>= 0.1.63) but it is not going to be installed E: Unmet dependencies. Try ‘apt-get -f install’ with no packages (or specify a solution). |
#apt-cache search kernel-source
cpad-common - common files to support the Synaptics cPad driver kernel modules cpad-kernel-source - source for the Synaptics cPad driver kernel-patch-debian-2.4.27 - Debian patches to Linux 2.4.27 kernel-source-2.2.25 - Linux kernel source for version 2.2.25 kernel-source-2.4.27 - Linux kernel source for version 2.4.27 with Debian patches kernel-tree-2.4.27 - Linux kernel source tree for building Debian kernel images |
#apt-cache search 2.6.15
ieee80211softmac-headers-2.6.15-1 - IEEE 802.11 SoftMAC headers for Linux 2.6.15-1 ieee80211softmac-modules-2.6.15-1-486 - IEEE 802.11 SoftMAC kernel module for Linux 2.6.15-1-486 ieee80211softmac-modules-2.6.15-1-686 - IEEE 802.11 SoftMAC kernel module for Linux 2.6.15-1-686 ieee80211softmac-modules-2.6.15-1-686-smp - IEEE 802.11 SoftMAC kernel module for Linux 2.6.15-1-686-smp ieee80211softmac-modules-2.6.15-1-k7 - IEEE 802.11 SoftMAC kernel module for Linux 2.6.15-1-k7 ieee80211softmac-modules-2.6.15-1-k7-smp - IEEE 802.11 SoftMAC kernel module for Linux 2.6.15-1-k7-smp linux-doc-2.6.15 - Linux kernel specific documentation for version 2.6.15 linux-headers-2.6.15 - All header files for Linux kernel 2.6.15 linux-headers-2.6.15-1 - Common header files for Linux kernel 2.6.15 linux-headers-2.6.15-1-486 - Header files for Linux kernel 2.6.15 on 486-class machines ... nvidia-kernel-2.6.15-1-486 - NVIDIA binary kernel module for Linux 2.6.15-1-486 nvidia-kernel-2.6.15-1-686 - NVIDIA binary kernel module for Linux 2.6.15-1-686 nvidia-kernel-2.6.15-1-686-smp - NVIDIA binary kernel module for Linux 2.6.15-1-686-smp nvidia-kernel-2.6.15-1-k7 - NVIDIA binary kernel module for Linux 2.6.15-1-k7 nvidia-kernel-2.6.15-1-k7-smp - NVIDIA binary kernel module for Linux 2.6.15-1-k7-smp nvidia-kernel-legacy-2.6.15-1-486 - NVIDIA binary kernel module for Linux 2.6.15-1-486 (legacy version) nvidia-kernel-legacy-2.6.15-1-686 - NVIDIA binary kernel module for Linux 2.6.15-1-686 (legacy version) nvidia-kernel-legacy-2.6.15-1-686-smp - NVIDIA binary kernel module for Linux 2.6.15-1-686-smp (legacy version) nvidia-kernel-legacy-2.6.15-1-k7 - NVIDIA binary kernel module for Linux 2.6.15-1-k7 (legacy version) nvidia-kernel-legacy-2.6.15-1-k7-smp - NVIDIA binary kernel module for Linux 2.6.15-1-k7-smp (legacy version) |
#apt-get install linux-source-2.6.15
Reading Package Lists... Done Building Dependency Tree... Done You might want to run ‘apt-get -f install’ to correct these: The following packages have unmet dependencies: initscripts: Depends: e2fsprogs (>= 1.19-1) but it is not going to be installed kernel-image-2.6.8-2-686-smp: Depends: initrd-tools (>= 0.1.63) but it is not going to be installed linux-source-2.6.15: Depends: bzip2 but it is not going to be installed E: Unmet dependencies. Try ‘apt-get -f install’ with no packages (or specify a solution). |
#apt-get install -f linux-source-2.6.15
Reading Package Lists... Done Building Dependency Tree... Done You might want to run ‘apt-get -f install’ to correct these: The following packages have unmet dependencies: initscripts: Depends: e2fsprogs (>= 1.19-1) but it is not going to be installed kernel-image-2.6.8-2-686-smp: Depends: initrd-tools (>= 0.1.63) but it is not going to be installed linux-source-2.6.15: Depends: bzip2 but it is not going to be installed E: Unmet dependencies. Try ‘apt-get -f install’ with no packages (or specify a solution). |
#apt-get install bzip2
Reading Package Lists... Done Building Dependency Tree... Done You might want to run ‘apt-get -f install’ to correct these: The following packages have unmet dependencies: bzip2: Depends: libbz2-1.0 (= 1.0.3-2) but 1.0.2-1 is to be installed initscripts: Depends: e2fsprogs (>= 1.19-1) but it is not going to be installed kernel-image-2.6.8-2-686-smp: Depends: initrd-tools (>= 0.1.63) but it is not going to be installed E: Unmet dependencies. Try ‘apt-get -f install’ with no packages (or specify a solution). |
#apt-get install libbz2-1.0
Reading Package Lists... Done Building Dependency Tree... Done You might want to run ‘apt-get -f install’ to correct these: The following packages have unmet dependencies: initscripts: Depends: e2fsprogs (>= 1.19-1) but it is not going to be installed kernel-image-2.6.8-2-686-smp: Depends: initrd-tools (>= 0.1.63) but it is not going to be installed libbz2-1.0: Depends: libc6 (>= 2.3.5-1) but 2.3.2.ds1-20 is to be installed E: Unmet dependencies. Try ‘apt-get -f install’ with no packages (or specify a solution). |
#apt-get install libc6
Reading Package Lists... Done Building Dependency Tree... Done You might want to run ‘apt-get -f install’ to correct these: The following packages have unmet dependencies: initscripts: Depends: e2fsprogs (>= 1.19-1) but it is not going to be installed kernel-image-2.6.8-2-686-smp: Depends: initrd-tools (>= 0.1.63) but it is not going to be installed libc6-dev: Depends: libc6 (= 2.3.2.ds1-20) but 2.3.6-3 is to be installed locales: Depends: glibc-2.3.2.ds1-20 E: Unmet dependencies. Try ‘apt-get -f install’ with no packages (or specify a solution). |
#apt-get install libc6
Reading Package Lists... Done Building Dependency Tree... Done You might want to run ‘apt-get -f install’ to correct these: The following packages have unmet dependencies: initscripts: Depends: e2fsprogs (>= 1.19-1) but it is not going to be installed kernel-image-2.6.8-2-686-smp: Depends: initrd-tools (>= 0.1.63) but it is not going to be installed libc6-dev: Depends: libc6 (= 2.3.2.ds1-20) but 2.3.6-3 is to be installed locales: Depends: glibc-2.3.2.ds1-20 E: Unmet dependencies. Try ‘apt-get -f install’ with no packages (or specify a solution). |
#cd /boot/
|
#ls -l
итого 6840 -rw-r--r-- 1 root root 55199 2005-01-24 09:29 config-2.6.8-2-686-smp drwxr-xr-x 2 root root 1024 2006-03-16 10:07 grub -rw-r--r-- 1 root root 4829184 2006-03-15 11:50 initrd.img-2.6.8-2-686-smp -rw-r--r-- 1 root root 853929 2005-01-24 11:54 System.map-2.6.8-2-686-smp -rw-r--r-- 1 root root 1231478 2005-01-24 11:54 vmlinuz-2.6.8-2-686-smp |
#vm vmlinuz-2.6.8-2-686-smp vmlinuz-2.6.8
bash: vm: command not found |
#cp vmlinuz-2.6.8-2-686-smp vmlinuz-2.6.8
|
#cp initrd.img-2.6.8-2-686-smp initrd.img-2.6.8
|
#ls -l
итого 12785 -rw-r--r-- 1 root root 55199 2005-01-24 09:29 config-2.6.8-2-686-smp drwxr-xr-x 2 root root 1024 2006-03-16 10:07 grub -rw-r--r-- 1 root root 4829184 2006-03-16 14:56 initrd.img-2.6.8 -rw-r--r-- 1 root root 4829184 2006-03-15 11:50 initrd.img-2.6.8-2-686-smp -rw-r--r-- 1 root root 853929 2005-01-24 11:54 System.map-2.6.8-2-686-smp -rw-r--r-- 1 root root 1231478 2006-03-16 14:52 vmlinuz-2.6.8 -rw-r--r-- 1 root root 1231478 2005-01-24 11:54 vmlinuz-2.6.8-2-686-smp |
#cp config-2.6.8-2-686-smp config-2.6.8
|
#apt-get install libc6
Reading Package Lists... Done Building Dependency Tree... Done You might want to run ‘apt-get -f install’ to correct these: The following packages have unmet dependencies: initscripts: Depends: e2fsprogs (>= 1.19-1) but it is not going to be installed kernel-image-2.6.8-2-686-smp: Depends: initrd-tools (>= 0.1.63) but it is not going to be installed libc6-dev: Depends: libc6 (= 2.3.2.ds1-20) but 2.3.6-3 is to be installed locales: Depends: glibc-2.3.2.ds1-20 E: Unmet dependencies. Try ‘apt-get -f install’ with no packages (or specify a solution). |
#apt-get install initrd-tools
Reading Package Lists... Done Building Dependency Tree... Done You might want to run ‘apt-get -f install’ to correct these: The following packages have unmet dependencies: initscripts: Depends: e2fsprogs (>= 1.19-1) but it is not going to be installed E: Unmet dependencies. Try ‘apt-get -f install’ with no packages (or specify a solution). |
#apt-get install initrd-tools e2fsprogs
Reading Package Lists... Done Building Dependency Tree... Done You might want to run ‘apt-get -f install’ to correct these: The following packages have unmet dependencies: e2fsprogs: PreDepends: e2fslibs (= 1.38+1.39-WIP-2005.12.31-1) but 1.35-6 is to be installed PreDepends: libc6 (>= 2.3.5-1) but 2.3.2.ds1-20 is to be installed E: Unmet dependencies. Try ‘apt-get -f install’ with no packages (or specify a solution). |
#apt-get install initrd-tools e2fsprogs e2fslibs libc6
Reading Package Lists... Done Building Dependency Tree... Done You might want to run ‘apt-get -f install’ to correct these: The following packages have unmet dependencies: libc6-dev: Depends: libc6 (= 2.3.2.ds1-20) but 2.3.6-3 is to be installed locales: Depends: glibc-2.3.2.ds1-20 E: Unmet dependencies. Try ‘apt-get -f install’ with no packages (or specify a solution). |
#apt-get install initrd-tools e2fsprogs e2fslibs libc6 glibc
Reading Package Lists... Done Building Dependency Tree... Done E: Couldn't find package glibc |
#apt-get install initrd-tools e2fsprogs e2fslibs libc6 glibc-2
Reading Package Lists... Done Building Dependency Tree... Done E: Couldn't find package glibc-2 |
#apt-get install initrd-tools e2fsprogs e2fslibs libc6 glibc2
Reading Package Lists... Done Building Dependency Tree... Done Package glibc2 is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source However the following packages replace it: locales E: Package glibc2 has no installation candidate |
#apt-get install initrd-tools e2fsprogs e2fslibs libc6 locales
Reading Package Lists... Done Building Dependency Tree... Done You might want to run ‘apt-get -f install’ to correct these: The following packages have unmet dependencies: libc6-dev: Depends: libc6 (= 2.3.2.ds1-20) but 2.3.6-3 is to be installed E: Unmet dependencies. Try ‘apt-get -f install’ with no packages (or specify a solution). |
#apt-get install initrd-tools e2fsprogs e2fslibs libc6 locales libc6-dev
Reading Package Lists... Done Building Dependency Tree... Done Suggested packages: gpart parted e2fsck-static glibc-doc The following NEW packages will be installed: e2fsprogs initrd-tools The following packages will be upgraded: e2fslibs libc6 libc6-dev locales 4 upgraded, 2 newly installed, 0 to remove and 606 not upgraded. Need to get 32,0kB/12,5MB of archives. ... perl: warning: Falling back to the standard locale ("C"). locale: Cannot set LC_CTYPE to default locale: No such file or directory locale: Cannot set LC_MESSAGES to default locale: No such file or directory locale: Cannot set LC_ALL to default locale: No such file or directory Generating locales (this might take a while)... ru_UA.KOI8-U... done ru_RU.UTF-8... done Generation complete. Setting up initrd-tools (0.1.84) ... Installing new version of config file /etc/mkinitrd/mkinitrd.conf ... |
#apt-get install konqueror/unstable
Распаковывается замена для пакета ktip... Подготовка к замене пакета kicker-applets 4:3.3.1-1 (используется файл .../kicker-applets_4%3a3.5.1-1_i386.deb)... Распаковывается замена для пакета kicker-applets... Подготовка к замене пакета kdeartwork-style 4:3.3.2-1 (используется файл .../kdeartwork-style_4%3a3.5.1-2_i386.deb)... Распаковывается замена для пакета kdeartwork-style... Подготовка к замене пакета karm 4:3.3.1-3 (используется файл .../karm_4%3a3.5.1-1_i386.deb)... Распаковывается замена для пакета karm... Подготовка к замене пакета libkpimidentities1 4:3.3.1-3 (используется файл .../libkpimidentities1_4%3a3.5.1-1_i386.deb)... Распаковывается замена для пакета libkpimidentities1... (Чтение базы данных... на данный момент установлено 66831 файлов и каталогов.) ... Распаковывается замена для пакета ksnake... Подготовка к замене пакета kdemultimedia-kfile-plugins 4:3.3.1-1 (используется файл .../kdemultimedia-kfile-plugins_4%3a3.5.1-1_i386.deb)... Распаковывается замена для пакета kdemultimedia-kfile-plugins... Подготовка к замене пакета ark 4:3.3.2-1 (используется файл .../ark_4%3a3.5.1-2_i386.deb)... Распаковывается замена для пакета ark... Подготовка к замене пакета kalzium 4:3.3.1-3 (используется файл .../kalzium_4%3a3.5.1-1_i386.deb)... Распаковывается замена для пакета kalzium... Подготовка к замене пакета khexedit 4:3.3.2-1 (используется файл .../khexedit_4%3a3.5.1-2_i386.deb)... Распаковывается замена для пакета khexedit... Подготовка к замене пакета ksig 4:3.3.1-1 (используется файл .../ksig_4%3a3.5.1-1_i386.deb)... |
#apt-cache search apti
apt-index-watcher - Updater for apt-front indexes apticron - cron-script to mail impending apt updates aptitude - terminal-based apt frontend aptitude-doc-cs - Czech manual for aptitude, a terminal-based apt frontend aptitude-doc-en - English manual for aptitude, a terminal-based apt frontend aptitude-doc-fi - Finnish manual for aptitude, a terminal-based apt frontend aptitude-doc-fr - French manual for aptitude, a terminal-based apt frontend avida-base - Auto-adaptive genetic system for Artificial Life research avida-qt-viewer - qt viewer for avida avida-viewer - ncurses viewer for avida ... ogle-mmx - DVD player with support for DVD menus phpgroupware-eldaptir - phpGroupWare LDAP tree editor module pkgsync - automated package list synchronization preload - an adaptive readahead daemon qsynaptics - A QT application to configure Synaptic TouchPad scrabble - Popular crossword game synaptic - Graphical package manager tpconfig - configure touchpad devices xfree86-driver-synaptics - Synaptics TouchPad driver for X.Org/XFree86 server zvbi - video Blank Interval (VBI) proxy daemon and wrapper |
#exit
|
#apt-
apt-cache apt-extracttemplates apt-sortpkgs apt-cdrom apt-ftparchive apt-config apt-get |
#apt-cache search ofice
|
#apt-cache search office
myspell-de-de-oldspell - German dictionary for myspell (old orthography) myspell-el-gr - Greek (el_GR) dictionary for myspell myspell-en-gb - English_british dictionary for myspell myspell-en-us - English_american dictionary for myspell myspell-eo - The Esperanto dictionary for myspell myspell-es - The Spanish dictionary for myspell myspell-et - Estonian dictionary for MySpell myspell-fi - The Finnish dictionary for myspell myspell-fr-gut - The French dictionary for myspell (GUTenberg version) myspell-ga - An Irish (Gaeilge) dictionary for OpenOffice and Mozilla ... thescoder - compiler for OpenOffice 1.x thesaurus files translate-toolkit - Toolkit assisting in the localization of software ttf-opensymbol - The OpenSymbol TrueType font vigor - nvi with the evil paperclip wbulgarian - The Bulgarian dictionary words for /usr/share/dict wmhdplop - A hard drive activity monitor dockapp wpd2sxw - WordPerfect to OpenOffice.org converter xfig-libs - XFig image libraries and examples zope-archetypes - framework for developing and deploying new content types zope-textindexng2 - full text index for Zope |
#apt-get install openofice.org
Reading Package Lists... Done Building Dependency Tree... Done E: Couldn't find package openofice.orgarch |
#apt-get install openofice.org
Reading Package Lists... Done Building Dependency Tree... Done E: Couldn't find package openofice.org |
#apt-get install openoffice.org
4% [3 kaffe-common 3922452/7808kB 50%] 56,4kB/s 33m9s 4% [3 kaffe-common 3926832/7808kB 50%] 56,4kB/s 33m9s 4% [3 kaffe-common 3947272/7808kB 50%] 56,4kB/s 33m8s 4% [3 kaffe-common 3966252/7808kB 50%] 56,4kB/s 33m8s 4% [3 kaffe-common 4005672/7808kB 51%] 56,4kB/s 33m7s 4% [3 kaffe-common 4026112/7808kB 51%] 56,4kB/s 33m7s 4% [3 kaffe-common 4064072/7808kB 52%] 56,4kB/s 33m6s 4% [3 kaffe-common 4084512/7808kB 52%] 56,4kB/s 33m6s 4% [3 kaffe-common 4118092/7808kB 52%] 56,4kB/s 33m5s 4% [3 kaffe-common 4157512/7808kB 53%] 56,4kB/s 33m4s ... 4% [3 kaffe-common 4275772/7808kB 54%] 52,3kB/s 35m38s 4% [3 kaffe-common 4316652/7808kB 55%] 52,3kB/s 35m37s 4% [3 kaffe-common 4357532/7808kB 55%] 52,3kB/s 35m36s 5% [3 kaffe-common 4577992/7808kB 58%] 52,3kB/s 35m32s 5% [3 kaffe-common 4618872/7808kB 59%] 52,3kB/s 35m31s 5% [3 kaffe-common 4678732/7808kB 59%] 52,3kB/s 35m30s 5% [3 kaffe-common 4713772/7808kB 60%] 52,3kB/s 35m29s 5% [3 kaffe-common 4719612/7808kB 60%] 52,3kB/s 35m29s 5% [3 kaffe-common 4740052/7808kB 60%] 77,5kB/s 23m56s 6% [3 kaffe-common 5659852/7808kB 72%] 57,4kB/s 32m3slL^L^L^L^L^L^L^L^L^L^L^L^L^L^L |
#ÑÑapt-cache search apttid
|
#apt-cache search aptit
apt-index-watcher - Updater for apt-front indexes aptitude - terminal-based apt frontend aptitude-doc-cs - Czech manual for aptitude, a terminal-based apt frontend aptitude-doc-en - English manual for aptitude, a terminal-based apt frontend aptitude-doc-fi - Finnish manual for aptitude, a terminal-based apt frontend aptitude-doc-fr - French manual for aptitude, a terminal-based apt frontend cron-apt - automatic update of packages using apt-get pkgsync - automated package list synchronization |
#man pkgsync
|
#apt-get install pkgsync
Reading Package Lists... Done Building Dependency Tree... Done The following extra packages will be installed: apt apt-utils aptitude libapt-pkg-perl libncursesw5 libsigc++-2.0-0c2a Suggested packages: apt-doc bzip2 libparse-debianchangelog-perl debtags cfengine2 cfengine rdist tagcoll Recommended packages: debian-archive-keyring aptitude-doc-en aptitude-doc The following NEW packages will be installed: libsigc++-2.0-0c2a pkgsync The following packages will be upgraded: apt apt-utils aptitude libapt-pkg-perl libncursesw5 5 upgraded, 2 newly installed, 0 to remove and 353 not upgraded. Need to get 4537kB of archives. After unpacking 3719kB of additional disk space will be used. Do you want to continue? [Y/n] Get:1 http://ftp.debian.org unstable/main apt-utils 0.6.43.3 [196kB] Get:2 http://ftp.debian.org unstable/main libncursesw5 5.5-1 [311kB] Get:3 http://ftp.debian.org unstable/main libsigc++-2.0-0c2a 2.0.16-3 [32,9kB] Get:4 http://ftp.debian.org unstable/main aptitude 0.4.1-1 [2600kB] 22% [4 aptitude 482936/2600kB 18%] 43,0kB/s 1m21s |
#apt-cache search apti
apt-index-watcher - Updater for apt-front indexes apticron - cron-script to mail impending apt updates aptitude - terminal-based apt frontend aptitude-doc-cs - Czech manual for aptitude, a terminal-based apt frontend aptitude-doc-en - English manual for aptitude, a terminal-based apt frontend aptitude-doc-fi - Finnish manual for aptitude, a terminal-based apt frontend aptitude-doc-fr - French manual for aptitude, a terminal-based apt frontend avida-base - Auto-adaptive genetic system for Artificial Life research avida-qt-viewer - qt viewer for avida avida-viewer - ncurses viewer for avida ... ogle-mmx - DVD player with support for DVD menus phpgroupware-eldaptir - phpGroupWare LDAP tree editor module pkgsync - automated package list synchronization preload - an adaptive readahead daemon qsynaptics - A QT application to configure Synaptic TouchPad scrabble - Popular crossword game synaptic - Graphical package manager tpconfig - configure touchpad devices xfree86-driver-synaptics - Synaptics TouchPad driver for X.Org/XFree86 server zvbi - video Blank Interval (VBI) proxy daemon and wrapper |
#apt-get install aptitude
Reading Package Lists... Done Building Dependency Tree... Done E: Couldn't find package search |
#apt-get install aptitude
Reading Package Lists... Done Building Dependency Tree... Done The following extra packages will be installed: apt apt-utils libapt-pkg-perl libncursesw5 libsigc++-2.0-0c2a Suggested packages: apt-doc bzip2 libparse-debianchangelog-perl debtags Recommended packages: debian-archive-keyring aptitude-doc-en aptitude-doc The following NEW packages will be installed: libsigc++-2.0-0c2a ... Подготовка к замене пакета libapt-pkg-perl 0.1.13 (используется файл .../libapt-pkg-perl_0.1.18+b1_i386.deb)... Распаковывается замена для пакета libapt-pkg-perl... Подготовка к замене пакета apt 0.5.28.1 (используется файл .../archives/apt_0.6.43.3_i386.deb)... Распаковывается замена для пакета apt... Настраивается пакет apt (0.6.43.3) ... Настраивается пакет apt-utils (0.6.43.3) ... Настраивается пакет libncursesw5 (5.5-1) ... Настраивается пакет libsigc++-2.0-0c2a (2.0.16-3) ... Настраивается пакет aptitude (0.4.1-1) ... Настраивается пакет libapt-pkg-perl (0.1.18+b1) ... |
#less /etc
|
#ls /etc
adduser.conf groff mtools.conf adjtime group Muttrc aliases group- nanorc alternatives gs-gpl network apm gshadow nsswitch.conf apt gshadow- openoffice at.deny gtk opt bash.bashrc gtk-2.0 pam.conf bash_completion host.conf pam.d bash_completion.d hostname pango ... esound menu-methods udev exim4 mime.types updatedb.conf fdmount.conf mkinitrd vga fonts modprobe.d vim fstab modules w3m gconf modules.conf wgetrc gdm modules.conf.old X11 gnome-vfs-2.0 modutils xdg gnome-vfs-mime-magic motd Xprint gpm.conf mtab |
#less --help
|
#cat /boot/grub/menu.lst
# menu.lst - See: grub(8), info grub, update-grub(8) # grub-install(8), grub-floppy(8), # grub-md5-crypt, /usr/share/doc/grub # and /usr/share/doc/grub-doc/. ## default num # Set the default entry to the entry number NUM. Numbering starts from 0, and # the entry number 0 is the default if the command is not used. # # You can specify 'saved' instead of a number. In this case, the default entry # is the entry saved with the command 'savedefault'. ... title Debian GNU/Linux, kernel 2.6.8-2-686-smp (recovery mode) root (hd0,0) kernel /boot/vmlinuz-2.6.8-2-686-smp root=/dev/hdb1 ro single initrd /boot/initrd.img-2.6.8-2-686-smp savedefault password topsecret boot title Windows root (hd0,1) chainloader +1 |
#apt-get install initrd-tools e2fsprogs e2fslibs libc6 glibc
|
#exit
|
#cat /boot/grub/menu.lst
# menu.lst - See: grub(8), info grub, update-grub(8) # grub-install(8), grub-floppy(8), # grub-md5-crypt, /usr/share/doc/grub # and /usr/share/doc/grub-doc/. ## default num # Set the default entry to the entry number NUM. Numbering starts from 0, and # the entry number 0 is the default if the command is not used. # # You can specify 'saved' instead of a number. In this case, the default entry # is the entry saved with the command 'savedefault'. ... title Debian GNU/Linux, kernel 2.6.8-2-686-smp (recovery mode) root (hd0,0) kernel /boot/vmlinuz-2.6.8-2-686-smp root=/dev/hdb1 ro single initrd /boot/initrd.img-2.6.8-2-686-smp savedefault password topsecret boot title Windows root (hd0,1) chainloader +1 |
#vi /boot/grub/menu.lst
17c17 < timeout 5 --- > timeout 50 |
#reboot
|
#shutdown -f
exit Usage: shutdown [-akrhHPfnc] [-t secs] time [warning message] -a: use /etc/shutdown.allow -k: don't really shutdown, only warn. -r: reboot after shutdown. -h: halt after shutdown. -P: halt action is to turn off power. -H: halt action is to just halt. -f: do a 'fast' reboot (skip fsck). -F: Force fsck on reboot. -n: do not go through "init" but go down real fast. -c: cancel a running shutdown. -t secs: delay between warning and kill signal. ** the "time" argument is mandatory! (try "now") ** |
# menu.lst - See: grub(8), info grub, update-grub(8) # grub-install(8), grub-floppy(8), # grub-md5-crypt, /usr/share/doc/grub # and /usr/share/doc/grub-doc/. ## default num # Set the default entry to the entry number NUM. Numbering starts from 0, and # the entry number 0 is the default if the command is not used. # # You can specify 'saved' instead of a number. In this case, the default entry # is the entry saved with the command 'savedefault'. default 0 ## timeout sec # Set a timeout, in SEC seconds, before automatically booting the default entry # (normally the first entry defined). timeout 5 # Pretty colours color cyan/blue white/blue ## password ['--md5'] passwd # If used in the first section of a menu file, disable all interactive editing # control (menu entry editor and command-line) and entries protected by the # command 'lock' # e.g. password topsecret # password --md5 $1$gLhU0/$aW78kHK1QfV3P2b2znUoe/ password --md5 $1$b.eML1$jAUMUf7gkrhPDgFxeSv6D. # # examples # # title Windows 95/98/NT/2000 # root (hd0,0) # makeactive # chainloader +1 # # title Linux # root (hd0,1) # kernel /vmlinuz root=/dev/hda2 ro # # # Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST ### BEGIN AUTOMAGIC KERNELS LIST ## lines between the AUTOMAGIC KERNELS LIST markers will be modified ## by the debian update-grub script except for the default optons below ## DO NOT UNCOMMENT THEM, Just edit them to your needs ## ## Start Default Options ## ## default kernel options ## default kernel options for automagic boot options ## If you want special options for specifiv kernels use kopt_x_y_z ## where x.y.z is kernel version. Minor versions can be omitted. ## e.g. kopt=root=/dev/hda1 ro # kopt=root=/dev/hdb1 ro ## default grub root device ## e.g. groot=(hd0,0) # groot=(hd0,0) ## should update-grub create alternative automagic boot options ## e.g. alternative=true ## alternative=false # alternative=true ## should update-grub lock alternative automagic boot options ## e.g. lockalternative=true ## lockalternative=false # lockalternative=false ## altoption boot targets option ## multiple altoptions lines are allowed ## e.g. altoptions=(extra menu suffix) extra boot options ## altoptions=(recovery mode) single # altoptions=(recovery mode) single ## controls how many kernels should be put into the menu.lst ## only counts the first occurence of a kernel, not the ## alternative kernel options ## e.g. howmany=all ## howmany=7 # howmany=all ## should update-grub create memtest86 boot option ## e.g. memtest86=true ## memtest86=false # memtest86=true ## ## End Default Options ## title Debian GNU/Linux, kernel 2.6.8-2-686-smp root (hd0,0) kernel /boot/vmlinuz-2.6.8-2-686-smp root=/dev/hdb1 ro initrd /boot/initrd.img-2.6.8-2-686-smp savedefault boot title Debian GNU/Linux, kernel 2.6.8-2-686-smp (recovery mode) root (hd0,0) kernel /boot/vmlinuz-2.6.8-2-686-smp root=/dev/hdb1 ro single initrd /boot/initrd.img-2.6.8-2-686-smp savedefault password topsecret boot title Windows root (hd0,1) chainloader +1
Время первой команды журнала | 12:47:08 2006- 3-16 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Время последней команды журнала | 09:29:21 2006- 3-17 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Количество командных строк в журнале | 101 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Процент команд с ненулевым кодом завершения, % | 39.60 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Процент синтаксически неверно набранных команд, % | 4.95 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Суммарное время работы с терминалом *, час | 2.51 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Количество командных строк в единицу времени, команда/мин | 0.67 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Частота использования команд |
|
В журнал автоматически попадают все команды, данные в любом терминале системы.
Для того чтобы убедиться, что журнал на текущем терминале ведётся, и команды записываются, дайте команду w. В поле WHAT, соответствующем текущему терминалу, должна быть указана программа script.
Команды, при наборе которых были допущены синтаксические ошибки, выводятся перечёркнутым текстом:
$ l s-l bash: l: command not found |
Если код завершения команды равен нулю, команда была выполнена без ошибок. Команды, код завершения которых отличен от нуля, выделяются цветом.
$ test 5 -lt 4 |
Команды, ход выполнения которых был прерван пользователем, выделяются цветом.
$ find / -name abc find: /home/devi-orig/.gnome2: Keine Berechtigung find: /home/devi-orig/.gnome2_private: Keine Berechtigung find: /home/devi-orig/.nautilus/metafiles: Keine Berechtigung find: /home/devi-orig/.metacity: Keine Berechtigung find: /home/devi-orig/.inkscape: Keine Berechtigung ^C |
Команды, выполненные с привилегиями суперпользователя, выделяются слева красной чертой.
# id uid=0(root) gid=0(root) Gruppen=0(root) |
Изменения, внесённые в текстовый файл с помощью редактора, запоминаются и показываются в журнале в формате ed. Строки, начинающиеся символом "<", удалены, а строки, начинающиеся символом ">" -- добавлены.
$ vi ~/.bashrc
|
Для того чтобы изменить файл в соответствии с показанными в диффшоте изменениями, можно воспользоваться командой patch. Нужно скопировать изменения, запустить программу patch, указав в качестве её аргумента файл, к которому применяются изменения, и всавить скопированный текст:
$ patch ~/.bashrc |
Для того чтобы получить краткую справочную информацию о команде, нужно подвести к ней мышь. Во всплывающей подсказке появится краткое описание команды.
Если справочная информация о команде есть, команда выделяется голубым фоном, например: vi. Если справочная информация отсутствует, команда выделяется розовым фоном, например: notepad.exe. Справочная информация может отсутствовать в том случае, если (1) команда введена неверно; (2) если распознавание команды LiLaLo выполнено неверно; (3) если информация о команде неизвестна LiLaLo. Последнее возможно для редких команд.
Большие, в особенности многострочные, всплывающие подсказки лучше всего показываются браузерами KDE Konqueror, Apple Safari и Microsoft Internet Explorer. В браузерах Mozilla и Firefox они отображаются не полностью, а вместо перевода строки выводится специальный символ.
Время ввода команды, показанное в журнале, соответствует времени начала ввода командной строки, которое равно тому моменту, когда на терминале появилось приглашение интерпретатора
Имя терминала, на котором была введена команда, показано в специальном блоке. Этот блок показывается только в том случае, если терминал текущей команды отличается от терминала предыдущей.
Вывод не интересующих вас в настоящий момент элементов журнала, таких как время, имя терминала и других, можно отключить. Для этого нужно воспользоваться формой управления журналом вверху страницы.
Небольшие комментарии к командам можно вставлять прямо из командной строки. Комментарий вводится прямо в командную строку, после символов #^ или #v. Символы ^ и v показывают направление выбора команды, к которой относится комментарий: ^ - к предыдущей, v - к следующей. Например, если в командной строке было введено:
$ whoami
user
$ #^ Интересно, кто я?в журнале это будет выглядеть так:
$ whoami
user
Интересно, кто я? |
Если комментарий содержит несколько строк, его можно вставить в журнал следующим образом:
$ whoami
user
$ cat > /dev/null #^ Интересно, кто я?
Программа whoami выводит имя пользователя, под которым мы зарегистрировались в системе. - Она не может ответить на вопрос о нашем назначении в этом мире.В журнале это будет выглядеть так:
$ whoami user
|
Комментарии, не относящиеся непосредственно ни к какой из команд, добавляются точно таким же способом, только вместо симолов #^ или #v нужно использовать символы #=
1 2 3 4Группы команд, выполненных на разных терминалах, разделяются специальной линией. Под этой линией в правом углу показано имя терминала, на котором выполнялись команды. Для того чтобы посмотреть команды только одного сенса, нужно щёкнуть по этому названию.
LiLaLo (L3) расшифровывается как Live Lab Log.
Программа разработана для повышения эффективности обучения Unix/Linux-системам.
(c) Игорь Чубин, 2004-2008