/l3/users/eb/2009/linux10/user :1 :2 :3 :4 :5 :6 :7 :8 :9 :10 :11 :12 |
|
#sendxmpp date.log
Could not connect to 'jubber.ru' on port 5222: IO::Socket::INET: connect: timeout |
#vim .sendxmpprc
|
#sendxmpp date.log
^C |
#sendxmpp < date.log
bash: date.log: Нет такого файла или каталога |
#cd /tmp
|
#sendxmpp < date.log
sendxmpp version 1.15 Copyright (c) 2004 - 2005 Dirk-Jan C. Binnema Copyright (c) 2006 - 2007 Lubomir Host 'rajo' usage: sendxmpp [options] <recipient1> [<recipient2> ...] or refer to the the sendxmpp manpage |
#echo hello | sendxmpp user12@jabber.ru
|
#echo hello | sendxmpp usernvv999@jabber.ru
|
#echo hello | sendxmpp nvv9999@jabber.ru
|
#~
3 # command to install the new version when you edit this file 4 # and files in /etc/cron.d. These files also have username fields, 5 # that none of the other crontabs do. 6 eport /etc/cron.daily ) eport /etc/cron.weekly )test -x /usr/sbin/anacron || ( cd / && run-parts --rr eport /etc/cron.monthly )est -x /usr/sbin/anacron || ( cd / && run-parts --rr 15 # m h dom mon dow user command | sendxmpp div-one@jubber.ru 16 * * * * * root echo `date` >> /tmp/date.log-report /etc/cron.hourly ~ r ~ 6b31 "/etc/crontab" 17L, 843C записано |
#tail -f /tmp/date.log
Wed May 27 11:11:01 EEST 2009 Wed May 27 11:12:01 EEST 2009 Wed May 27 11:13:01 EEST 2009 Wed May 27 11:14:02 EEST 2009 Wed May 27 11:15:01 EEST 2009 Wed May 27 11:16:01 EEST 2009 Wed May 27 11:17:01 EEST 2009 Wed May 27 11:18:01 EEST 2009 Wed May 27 11:19:01 EEST 2009 Wed May 27 11:20:01 EEST 2009 Wed May 27 11:21:01 EEST 2009 ^C |
#tail -f /tmp/date.log
Wed May 27 11:12:01 EEST 2009 Wed May 27 11:13:01 EEST 2009 Wed May 27 11:14:02 EEST 2009 Wed May 27 11:15:01 EEST 2009 Wed May 27 11:16:01 EEST 2009 Wed May 27 11:17:01 EEST 2009 Wed May 27 11:18:01 EEST 2009 Wed May 27 11:19:01 EEST 2009 Wed May 27 11:20:01 EEST 2009 Wed May 27 11:21:01 EEST 2009 ^C У вас есть новая почта в /var/mail/root |
#apt-get install anacron
Чтение списков пакетов... Готово Построение дерева зависимостей Чтение информации о состоянии... Готово Следующие пакеты устанавливались автоматически и больше не требуются: update-inetd portmap Для их удаления используйте 'apt-get autoremove'. НОВЫЕ пакеты, которые будут установлены: anacron обновлено 0, установлено 1 новых пакетов, для удаления отмечено 0 пакетов, и 0 пакетов не обновлено. Необходимо скачать 29,2kБ архивов. После данной операции, объём занятого дискового пространства возрастёт на 193kB. Получено:1 http://10.0.35.1 sid/main anacron 2.3-13.1 [29,2kB] Получено 29,2kБ за 0s (0Б/c) Выбор ранее не выбранного пакета anacron. (Чтение базы данных ... на данный момент установлено 50362 файлов и каталогов.) Распаковывается пакет anacron (из файла .../anacron_2.3-13.1_i386.deb)... Обрабатываются триггеры для man-db ... Настраивается пакет anacron (2.3-13.1) ... Starting anac(h)ronistic cron: anacron. |
#cat /etc/anacrontab
# /etc/anacrontab: configuration file for anacron # See anacron(8) and anacrontab(5) for details. SHELL=/bin/sh PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin # These replace cron's entries 1 5 cron.daily nice run-parts --report /etc/cron.daily 7 10 cron.weekly nice run-parts --report /etc/cron.weekly @monthly 15 cron.monthly nice run-parts --report /etc/cron.monthly |
#pa -Af | grep l3-agent
bash: pa: команда не найдена |
#ps -Af | grep l3-agent
root 3040 1 2 09:40 ? 00:02:29 l3-agent root 7539 3190 0 11:36 pts/5 00:00:00 grep l3-agent |
#~
Wed May 27 11:39:01 EEST 2009 Wed May 27 11:40:02 EEST 2009 Wed May 27 11:41:01 EEST 2009 Wed May 27 11:42:01 EEST 2009 Wed May 27 11:43:01 EEST 2009 Wed May 27 11:44:01 EEST 2009 Wed May 27 11:45:01 EEST 2009 Wed May 27 11:46:01 EEST 2009 Wed May 27 11:47:01 EEST 2009 Wed May 27 11:48:01 EEST 2009 Wed May 27 11:49:01 EEST 2009 ^[[A^[[A^[[B^[[B^[[B^[[B^C |
#?\<2\>
2 # Unlike any other crontab you don't have to run the `crontab' 3 # command to install the new version when you edit this file 4 # and files in /etc/cron.d. These files also have username fields, 5 # that none of the other crontabs do. 6 eport /etc/cron.daily ) eport /etc/cron.weekly )test -x /usr/sbin/anacron || ( cd / && run-parts --rr eport /etc/cron.monthly )est -x /usr/sbin/anacron || ( cd / && run-parts --rr 15 #* * * * * root echo `date` >> /tmp/date.log | sendxmpp div-one@jubber.ru < /tmp/date.log 16 #*/2 * * * * root echo `date` >> /tmp/date2.log ndxmpp div-one@jubber.ru < // 17 */2 * * * * root echo `date` >> /tmp/date2.log ~ r "/etc/crontab" 17L, 861C записано |
#ntpdate ntp.psn.ru
27 May 11:51:57 ntpdate[13721]: step time server 194.149.67.130 offset 0.619706 sec |
#date
Срд Май 27 11:52:07 EEST 2009 |
#vim /etc/rsyslog.conf
|
#cat /var.log/mail.log
cat: /var.log/mail.log: Нет такого файла или каталога |
#cat /var/log/mail.log
May 26 11:49:16 linux10 sendmail[10138]: alias database /etc/mail/aliases rebuilt by root May 26 11:49:16 linux10 sendmail[10138]: /etc/mail/aliases: 4 aliases, longest 10 bytes, 66 bytes total May 26 11:49:17 linux10 sm-mta[10191]: starting daemon (8.14.3): SMTP+queueing@00:10:00 May 27 09:27:37 linux10 sm-mta[2104]: starting daemon (8.14.3): SMTP+queueing@00:10:00 May 27 10:12:01 linux10 sendmail[7290]: n4R7C1XA007290: from=root, size=403, class=0, nrcpts=1, msgid=<200905270712.n4R7C1XA007290@linux10>, relay=root@localhost May 27 10:12:02 linux10 sm-mta[7325]: n4R7C1kE007325: from=<root@linux10>, size=635, class=0, nrcpts=1, msgid=<200905270712.n4R7C1XA007290@linux10>, proto=ESMTP, daemon=MTA-v4, relay=localhost [127.0.0.1] May 27 10:12:02 linux10 sendmail[7290]: n4R7C1XA007290: to=root, ctladdr=root (0/0), delay=00:00:01, xdelay=00:00:01, mailer=relay, pri=30403, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (n4R7C1kE007325 Message accepted for delivery) May 27 10:12:03 linux10 sm-mta[7354]: n4R7C1kE007325: to=<root@linux10>, ctladdr=<root@linux10> (0/0), delay=00:00:02, xdelay=00:00:01, mailer=local, pri=30822, dsn=2.0.0, stat=Sent May 27 10:14:01 linux10 sendmail[8282]: n4R7E1lW008282: from=root, size=403, class=0, nrcpts=1, msgid=<200905270714.n4R7E1lW008282@linux10>, relay=root@localhost May 27 10:14:01 linux10 sm-mta[8289]: n4R7E11q008289: from=<root@linux10>, size=635, class=0, nrcpts=1, msgid=<200905270714.n4R7E1lW008282@linux10>, proto=ESMTP, daemon=MTA-v4, relay=localhost [127.0.0.1] ... May 27 11:22:02 linux10 sm-mta[1522]: n4R8M2LX001509: to=<root@linux10.unix.nt>, ctladdr=<root@linux10.unix.nt> (0/0), delay=00:00:00, xdelay=00:00:00, mailer=local, pri=30950, dsn=2.0.0, stat=Sent May 27 11:23:01 linux10 sendmail[1957]: n4R8N10a001957: from=root, size=467, class=0, nrcpts=1, msgid=<200905270823.n4R8N10a001957@linux10.unix.nt>, relay=root@localhost May 27 11:23:01 linux10 sm-mta[1961]: n4R8N15O001961: from=<root@linux10.unix.nt>, size=731, class=0, nrcpts=1, msgid=<200905270823.n4R8N10a001957@linux10.unix.nt>, proto=ESMTP, daemon=MTA-v4, relay=localhost [127.0.0.1] (may be forged) May 27 11:23:01 linux10 sendmail[1957]: n4R8N10a001957: to=root, ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30467, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (n4R8N15O001961 Message accepted for delivery) May 27 11:23:01 linux10 sm-mta[1974]: n4R8N15O001961: to=<root@linux10.unix.nt>, ctladdr=<root@linux10.unix.nt> (0/0), delay=00:00:00, xdelay=00:00:00, mailer=local, pri=30950, dsn=2.0.0, stat=Sent May 27 11:24:01 linux10 sendmail[2293]: n4R8O1hT002293: from=root, size=467, class=0, nrcpts=1, msgid=<200905270824.n4R8O1hT002293@linux10.unix.nt>, relay=root@localhost May 27 11:24:01 linux10 sm-mta[2299]: n4R8O167002299: from=<root@linux10.unix.nt>, size=731, class=0, nrcpts=1, msgid=<200905270824.n4R8O1hT002293@linux10.unix.nt>, proto=ESMTP, daemon=MTA-v4, relay=localhost [127.0.0.1] (may be forged) May 27 11:24:01 linux10 sendmail[2293]: n4R8O1hT002293: to=root, ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30467, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (n4R8O167002299 Message accepted for delivery) May 27 11:24:01 linux10 sm-mta[2311]: n4R8O167002299: to=<root@linux10.unix.nt>, ctladdr=<root@linux10.unix.nt> (0/0), delay=00:00:00, xdelay=00:00:00, mailer=local, pri=30950, dsn=2.0.0, stat=Sent May 27 12:28:24 linux10 sendmail: hello |
#cat /var/log/sys.log
cat: /var/log/sys.log: Нет такого файла или каталога |
#vim /etc/rsyslog.conf
|
#cat /var/log/syslog
May 24 15:17:28 book kernel: [ 1.561284] hub 2-0:1.0: USB hub found May 24 15:17:28 book kernel: [ 1.561336] hub 2-0:1.0: 2 ports detected May 24 15:17:28 book kernel: [ 1.561532] uhci_hcd 0000:00:1d.1: PCI INT B -> GSI 17 (level, low) -> IRQ 17 May 24 15:17:28 book kernel: [ 1.561588] uhci_hcd 0000:00:1d.1: setting latency timer to 64 May 24 15:17:28 book kernel: [ 1.561592] uhci_hcd 0000:00:1d.1: UHCI Host Controller May 24 15:17:28 book kernel: [ 1.561670] uhci_hcd 0000:00:1d.1: new USB bus registered, assigned bus number 3 May 24 15:17:28 book kernel: [ 1.561766] uhci_hcd 0000:00:1d.1: irq 17, io base 0x00008400 May 24 15:17:28 book kernel: [ 1.561855] usb usb3: New USB device found, idVendor=1d6b, idProduct=0001 May 24 15:17:28 book kernel: [ 1.561904] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1 May 24 15:17:28 book kernel: [ 1.561962] usb usb3: Product: UHCI Host Controller ... May 24 15:17:28 book kernel: [ 7.028648] scsi 0:0:0:0: Direct-Access WD 3200BMV External 1.05 PQ: 0 ANSI: 4 May 24 15:17:28 book kernel: [ 7.030776] sd 0:0:0:0: [sdc] 625142448 512-byte hardware sectors: (320 GB/298 GiB) May 24 15:17:28 book kernel: [ 7.031646] sd 0:0:0:0: [sdc] Write Protect is off May 24 15:17:28 book kernel: [ 7.031698] sd 0:0:0:0: [sdc] Mode Sense: 21 00 00 00 May 24 15:17:28 book kernel: [ 7.031702] sd 0:0:0:0: [sdc] Assuming drive cache: write through May 24 15:17:28 book kernel: [ 7.032526] sd 0:0:0:0: [sdc] 625142448 512-byte hardware sectors: (320 GB/298 GiB) May 24 15:17:28 book kernel: [ 7.033388] sd 0:0:0:0: [sdc] Write Protect is off May 24 15:17:28 book kernel: [ 7.033440] sd 0:0:0:0: [sdc] Mode Sense: 21 00 00 00 May 24 15:17:28 book kernel: [ 7.033444] sd 0:0:0:0: [sdc] Assuming drive cache: write through May 24 15:17:28 book kernel: [ 7.033496] sdc: sdc1 sdc2 sdc3 |
#/var/log/syslog
bash: /var/log/syslog: Отказано в доступе |
#ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:13:d4:b2:4f:e0 inet addr:192.168.15.10 Bcast:192.168.15.255 Mask:255.255.255.0 inet6 addr: fe80::213:d4ff:feb2:4fe0/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:19373 errors:0 dropped:0 overruns:0 frame:0 TX packets:17388 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:13458475 (12.8 MiB) TX bytes:2362157 (2.2 MiB) Memory:cffe0000-d0000000 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:265 errors:0 dropped:0 overruns:0 frame:0 TX packets:265 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:28302 (27.6 KiB) TX bytes:28302 (27.6 KiB) |
#tail -f /var/log/syslog
May 27 12:28:24 linux10 sendmail: hello May 27 12:29:56 linux10 jabberd14[20223]: [stat] (sessions.localhost): delivered messages 0 May 27 12:29:56 linux10 jabberd14[20223]: [stat] (sessions.localhost): delivered presences 0 May 27 12:29:56 linux10 jabberd14[20223]: [stat] (sessions.localhost): delivered iqs 0 May 27 12:29:56 linux10 jabberd14[20223]: [stat] (sessions.localhost): delivered subscriptions 0 May 27 12:33:53 linux10 sendmail: hello May 27 12:34:57 linux10 jabberd14[20223]: [stat] (sessions.localhost): delivered messages 0 May 27 12:34:57 linux10 jabberd14[20223]: [stat] (sessions.localhost): delivered presences 0 May 27 12:34:57 linux10 jabberd14[20223]: [stat] (sessions.localhost): delivered iqs 0 May 27 12:34:57 linux10 jabberd14[20223]: [stat] (sessions.localhost): delivered subscriptions 0 ^[[A^C |
#tail -f /var/log/syslog
May 27 12:28:24 linux10 sendmail: hello May 27 12:29:56 linux10 jabberd14[20223]: [stat] (sessions.localhost): delivered messages 0 May 27 12:29:56 linux10 jabberd14[20223]: [stat] (sessions.localhost): delivered presences 0 May 27 12:29:56 linux10 jabberd14[20223]: [stat] (sessions.localhost): delivered iqs 0 May 27 12:29:56 linux10 jabberd14[20223]: [stat] (sessions.localhost): delivered subscriptions 0 May 27 12:33:53 linux10 sendmail: hello May 27 12:34:57 linux10 jabberd14[20223]: [stat] (sessions.localhost): delivered messages 0 May 27 12:34:57 linux10 jabberd14[20223]: [stat] (sessions.localhost): delivered presences 0 May 27 12:34:57 linux10 jabberd14[20223]: [stat] (sessions.localhost): delivered iqs 0 May 27 12:34:57 linux10 jabberd14[20223]: [stat] (sessions.localhost): delivered subscriptions 0 ^C |
#tail -f /var/log/mail.log
May 27 11:23:01 linux10 sendmail[1957]: n4R8N10a001957: from=root, size=467, class=0, nrcpts=1, msgid=<200905270823.n4R8N10a001957@linux10.unix.nt>, relay=root@localhost May 27 11:23:01 linux10 sm-mta[1961]: n4R8N15O001961: from=<root@linux10.unix.nt>, size=731, class=0, nrcpts=1, msgid=<200905270823.n4R8N10a001957@linux10.unix.nt>, proto=ESMTP, daemon=MTA-v4, relay=localhost [127.0.0.1] (may be forged) May 27 11:23:01 linux10 sendmail[1957]: n4R8N10a001957: to=root, ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30467, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (n4R8N15O001961 Message accepted for delivery) May 27 11:23:01 linux10 sm-mta[1974]: n4R8N15O001961: to=<root@linux10.unix.nt>, ctladdr=<root@linux10.unix.nt> (0/0), delay=00:00:00, xdelay=00:00:00, mailer=local, pri=30950, dsn=2.0.0, stat=Sent May 27 11:24:01 linux10 sendmail[2293]: n4R8O1hT002293: from=root, size=467, class=0, nrcpts=1, msgid=<200905270824.n4R8O1hT002293@linux10.unix.nt>, relay=root@localhost May 27 11:24:01 linux10 sm-mta[2299]: n4R8O167002299: from=<root@linux10.unix.nt>, size=731, class=0, nrcpts=1, msgid=<200905270824.n4R8O1hT002293@linux10.unix.nt>, proto=ESMTP, daemon=MTA-v4, relay=localhost [127.0.0.1] (may be forged) May 27 11:24:01 linux10 sendmail[2293]: n4R8O1hT002293: to=root, ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30467, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (n4R8O167002299 Message accepted for delivery) May 27 11:24:01 linux10 sm-mta[2311]: n4R8O167002299: to=<root@linux10.unix.nt>, ctladdr=<root@linux10.unix.nt> (0/0), delay=00:00:00, xdelay=00:00:00, mailer=local, pri=30950, dsn=2.0.0, stat=Sent May 27 12:28:24 linux10 sendmail: hello May 27 12:33:53 linux10 sendmail: hello ^C |
#tail -f /var/log/mail.log
May 27 11:23:01 linux10 sendmail[1957]: n4R8N10a001957: from=root, size=467, class=0, nrcpts=1, msgid=<200905270823.n4R8N10a001957@linux10.unix.nt>, relay=root@localhost May 27 11:23:01 linux10 sm-mta[1961]: n4R8N15O001961: from=<root@linux10.unix.nt>, size=731, class=0, nrcpts=1, msgid=<200905270823.n4R8N10a001957@linux10.unix.nt>, proto=ESMTP, daemon=MTA-v4, relay=localhost [127.0.0.1] (may be forged) May 27 11:23:01 linux10 sendmail[1957]: n4R8N10a001957: to=root, ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30467, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (n4R8N15O001961 Message accepted for delivery) May 27 11:23:01 linux10 sm-mta[1974]: n4R8N15O001961: to=<root@linux10.unix.nt>, ctladdr=<root@linux10.unix.nt> (0/0), delay=00:00:00, xdelay=00:00:00, mailer=local, pri=30950, dsn=2.0.0, stat=Sent May 27 11:24:01 linux10 sendmail[2293]: n4R8O1hT002293: from=root, size=467, class=0, nrcpts=1, msgid=<200905270824.n4R8O1hT002293@linux10.unix.nt>, relay=root@localhost May 27 11:24:01 linux10 sm-mta[2299]: n4R8O167002299: from=<root@linux10.unix.nt>, size=731, class=0, nrcpts=1, msgid=<200905270824.n4R8O1hT002293@linux10.unix.nt>, proto=ESMTP, daemon=MTA-v4, relay=localhost [127.0.0.1] (may be forged) May 27 11:24:01 linux10 sendmail[2293]: n4R8O1hT002293: to=root, ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30467, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (n4R8O167002299 Message accepted for delivery) May 27 11:24:01 linux10 sm-mta[2311]: n4R8O167002299: to=<root@linux10.unix.nt>, ctladdr=<root@linux10.unix.nt> (0/0), delay=00:00:00, xdelay=00:00:00, mailer=local, pri=30950, dsn=2.0.0, stat=Sent May 27 12:28:24 linux10 sendmail: hello May 27 12:33:53 linux10 sendmail: hello ^C |
#vim /etc/default/rsyslog
|
#/etc/init.d/rsyslog restart
Stopping enhanced syslogd: rsyslogd. Starting enhanced syslogd: rsyslogdrsyslogd: WARNING: rsyslogd is running in compatibility mode. Automatically generated config directives may interfer with your rsyslog.conf settings. We suggest upgrading your config and adding -c3 as the first rsyslogd option. . |
#echo hello | logger -t sendmail -p mail.6
|
#echo lamer | logger -t sendmail -p mail.6
|
#cat /dev/urandom | hexdump -C | head | nc -u 192.168.15.9 514
^C |
$su - root
Пароль: l3-agent is already running: pid=3040; pidfile=/root/.lilalo/l3-agent.pid |
#echo test | nc -u 192.168.15.9 514
^C |
#apt-get install nc
Чтение списков пакетов... Готово Построение дерева зависимостей Чтение информации о состоянии... Готово E: Не удалось найти пакет nc |
#cat /dev/zero | nv -l -p 3000
bash: nv: команда не найдена |
#cat /dev/zero | nc -l -p 3000
^C |
$ssh root@10.0.35.100
root@10.0.35.100's password: Linux linux0 2.6.18-6-xen-686 #1 SMP Sun Feb 10 22:43:13 UTC 2008 i686 The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. Last login: Wed May 27 14:10:36 2009 from linux13.unix.nt |
#less /etc/logrotate.d
|
#cat /etc/logrotate.d less
cat: /etc/logrotate.d: Это каталог cat: less: Нет такого файла или каталога |
#cat /etc/logrotate.conf less
# see "man logrotate" for details # rotate log files weekly weekly # keep 4 weeks worth of backlogs rotate 4 # create new (empty) log files after rotating old ones create # uncomment this if you want your log files compressed #compress # packages drop log rotation information into this directory ... rotate 1 } /var/log/btmp { missingok monthly create 0660 root utmp rotate 1 } # system-specific logs may be configured here cat: less: Нет такого файла или каталога |
#screen -x
|
#lastw
bash: lastw: команда не найдена |
#lastb
(unknown tty7 :0 Wed May 27 09:28 - 09:28 (00:00) (unknown tty7 :0 Wed May 27 09:27 - 09:27 (00:00) (unknown tty7 :0 Tue May 26 09:36 - 09:36 (00:00) (unknown tty7 :0 Tue May 26 09:36 - 09:36 (00:00) (unknown tty7 :0 Tue May 26 09:36 - 09:36 (00:00) UNKNOWN tty1 Mon May 25 12:19 - 12:19 (00:00) UNKNOWN tty2 Mon May 25 10:30 - 10:30 (00:00) (unknown tty7 :0 Mon May 25 01:10 - 01:10 (00:00) btmp begins Mon May 25 01:10:56 2009 |
#cat /etc/logrotate.conf | less
|
#cat /etc/logrotate.d/rsysylog
cat: /etc/logrotate.d/rsysylog: Нет такого файла или каталога |
#cat /etc/logrotate.d/rsyslog | less
|
#find /var/log/ | grep -v '\.' [0..9] | less
|
#cat /etc/syslog.conf | grep '^#'
cat: /etc/syslog.conf: Нет такого файла или каталога |
#cat /etc/rsyslog.conf | grep '^#'
# /etc/rsyslog.conf Configuration file for rsyslog v3. # # For more information see # /usr/share/doc/rsyslog-doc/html/rsyslog_conf.html ################# #### MODULES #### ################# #$ModLoad immark # provides --MARK-- message capability # provides UDP syslog reception # provides TCP syslog reception ... # *.=debug;*.=info;\ # *.=notice;*.=warn /dev/tty8 # The named pipe /dev/xconsole is for the `xconsole' utility. To use it, # you must invoke `xconsole' with the `-file' option: # # $ xconsole -file /dev/xconsole [...] # # NOTE: adjust the list below, or you'll go crazy if you have a reasonably # busy site.. # |
#cat /etc/rsyslog.conf | grep '^#d'
#daemon,mail.*;\ |
#cat /etc/rsyslog.conf | grep '^#d' | less
|
#cat /etc/rsyslog.conf | grep '^%#d' | less
|
#cat /etc/rsyslog.conf | grep '^%#' | less
|
#cat /etc/rsyslog.conf | grep '^#' | less
|
#cat /etc/rsyslog.conf | grep '^$' | less
|
#cat /etc/rsyslog.conf | grep '^?' | less
|
#cat /etc/rsyslog.conf | grep '^#' | less
|
#cat /etc/rsyslog.conf | grep '^#' | less
|
#cat /etc/rsyslog.conf | grep '^!#' | less
|
#cat /etc/rsyslog.conf | grep '^#d' | less
|
#vim `/.sendxmpprc
|
#vim ~/.sendxmpprc
|
#~
|
#echo test | sendxmpp nvv9999@jabber.ru
|
#echo test | sendxmpp xmana@jabber.kiev.ua
|
#tail - f /var/log/sys.log
==> стандартный ввод <== ^C |
#tail - f /var/log/syslog
==> стандартный ввод <== ^C |
#tail - f /var/log/syslog
==> стандартный ввод <== ^[[A^C |
#tail -f /var/log/syslog
May 27 15:15:39 linux10 jabberd14[20223]: [stat] (sessions.localhost): delivered iqs 0 May 27 15:15:39 linux10 jabberd14[20223]: [stat] (sessions.localhost): delivered subscriptions 0 May 27 15:17:01 linux10 /USR/SBIN/CRON[19808]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly) May 27 15:20:01 linux10 /USR/SBIN/CRON[20188]: (smmsp) CMD (test -x /etc/init.d/sendmail && /usr/share/sendmail/sendmail cron-msp) May 27 15:20:40 linux10 jabberd14[20223]: [stat] (sessions.localhost): delivered messages 0 May 27 15:20:40 linux10 jabberd14[20223]: [stat] (sessions.localhost): delivered presences 0 May 27 15:20:40 linux10 jabberd14[20223]: [stat] (sessions.localhost): delivered iqs 0 May 27 15:20:40 linux10 jabberd14[20223]: [stat] (sessions.localhost): delivered subscriptions 0 May 27 15:21:01 linux10 syslog-ng[20680]: syslog-ng starting up; version='2.0.9' May 27 15:23:05 linux10 logger: hello world ^C |
#ssh root@127.0.0.1
The authenticity of host '127.0.0.1 (127.0.0.1)' can't be established. RSA key fingerprint is 34:6c:c2:da:38:7c:d7:17:e9:cd:17:8d:e7:cf:f1:a6. Are you sure you want to continue connecting (yes/no)? yes Warning: Permanently added '127.0.0.1' (RSA) to the list of known hosts. root@127.0.0.1's password: Permission denied, please try again. root@127.0.0.1's password: Permission denied, please try again. root@127.0.0.1's password: Permission denied (publickey,password). |
#tail -f /var/log/syslog
May 27 15:15:39 linux10 jabberd14[20223]: [stat] (sessions.localhost): delivered iqs 0 May 27 15:15:39 linux10 jabberd14[20223]: [stat] (sessions.localhost): delivered subscriptions 0 May 27 15:17:01 linux10 /USR/SBIN/CRON[19808]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly) May 27 15:20:01 linux10 /USR/SBIN/CRON[20188]: (smmsp) CMD (test -x /etc/init.d/sendmail && /usr/share/sendmail/sendmail cron-msp) May 27 15:20:40 linux10 jabberd14[20223]: [stat] (sessions.localhost): delivered messages 0 May 27 15:20:40 linux10 jabberd14[20223]: [stat] (sessions.localhost): delivered presences 0 May 27 15:20:40 linux10 jabberd14[20223]: [stat] (sessions.localhost): delivered iqs 0 May 27 15:20:40 linux10 jabberd14[20223]: [stat] (sessions.localhost): delivered subscriptions 0 May 27 15:21:01 linux10 syslog-ng[20680]: syslog-ng starting up; version='2.0.9' May 27 15:23:05 linux10 logger: hello world ^C |
#tail -f /var/log/syslog
May 27 15:15:39 linux10 jabberd14[20223]: [stat] (sessions.localhost): delivered iqs 0 May 27 15:15:39 linux10 jabberd14[20223]: [stat] (sessions.localhost): delivered subscriptions 0 May 27 15:17:01 linux10 /USR/SBIN/CRON[19808]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly) May 27 15:20:01 linux10 /USR/SBIN/CRON[20188]: (smmsp) CMD (test -x /etc/init.d/sendmail && /usr/share/sendmail/sendmail cron-msp) May 27 15:20:40 linux10 jabberd14[20223]: [stat] (sessions.localhost): delivered messages 0 May 27 15:20:40 linux10 jabberd14[20223]: [stat] (sessions.localhost): delivered presences 0 May 27 15:20:40 linux10 jabberd14[20223]: [stat] (sessions.localhost): delivered iqs 0 May 27 15:20:40 linux10 jabberd14[20223]: [stat] (sessions.localhost): delivered subscriptions 0 May 27 15:21:01 linux10 syslog-ng[20680]: syslog-ng starting up; version='2.0.9' May 27 15:23:05 linux10 logger: hello world ^[[A^C |
#vim /etc/syslog-ng/syslog-ng.conf
|
#ps -Af | grep syslog2jabber
root 21202 1 0 15:40 pts/5 00:00:00 /bin/sh /usr/local/bin/syslog2jabber root 21227 3190 0 15:42 pts/5 00:00:00 grep syslog2jabber |
#ps ax | grep syslog2jabber
21202 pts/5 S 0:00 /bin/sh /usr/local/bin/syslog2jabber 21236 pts/5 R+ 0:00 grep syslog2jabber |
#top
top - 15:49:50 up 6:23, 4 users, load average: 0.47, 0.26, 0.13 Tasks: 111 total, 2 running, 108 sleeping, 0 stopped, 1 zombie Cpu(s): 89.8%us, 0.3%sy, 0.0%ni, 9.6%id, 0.0%wa, 0.3%hi, 0.0%si, 0.0%st Mem: 3237696k total, 552932k used, 2684764k free, 39732k buffers PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND Swap: 0k total, 0k used, 0k free, 256648k cached 3040 root 20 0 10500 7000 1496 R 89.9 0.2 9:11.14 l3-agent 21375 root 20 0 2424 1172 916 R 0.3 0.0 0:00.02 top 1 root 20 0 2128 712 620 S 0.0 0.0 0:01.21 init 2 root 15 -5 0 0 0 S 0.0 0.0 0:00.00 kthreadd ... 6 root 15 -5 0 0 0 S 0.0 0.0 0:00.00 cpuset 7 root 15 -5 0 0 0 S 0.0 0.0 0:00.24 events/0 8 root 15 -5 0 0 0 S 0.0 0.0 0:00.00 work_on_cpu/0 9 root 15 -5 0 0 0 S 0.0 0.0 0:00.00 khelper 12 root 15 -5 0 0 0 S 0.0 0.0 0:00.00 netns 61 root 15 -5 0 0 0 S 0.0 0.0 0:00.00 kintegrityd/0 63 root 15 -5 0 0 0 S 0.0 0.0 0:00.00 kblockd/0 65 root 15 -5 0 0 0 S 0.0 0.0 0:00.00 kacpid 66 root 15 -5 0 0 0 S 0.0 0.0 0:00.00 kacpi_notify 133 root 15 -5 0 0 0 S 0.0 0.0 0:00.00 kseriod |
#/etc/init.d/syslog-ng restart
Stopping system logging: syslog-ng. Starting system logging: syslog-ng. |
#ps -Af | grep syslo2jabber
root 21821 3190 0 16:06 pts/5 00:00:00 grep syslo2jabber |
#kill 21821
bash: kill: (21821) - Нет такого процесса |
#ps -Af | grep syslo2jabber
root 21837 3190 0 16:06 pts/5 00:00:00 grep syslo2jabber |
#ps -Af | grep syslo2jabber
root 21853 3190 0 16:07 pts/5 00:00:00 grep syslo2jabber |
#ps -Af | grep syslo2jabber
root 21869 3190 0 16:07 pts/5 00:00:00 grep syslo2jabber |
#apt-get install xpdf
Чтение списков пакетов... Готово Построение дерева зависимостей Чтение информации о состоянии... Готово Следующие пакеты устанавливались автоматически и больше не требуются: update-inetd portmap Для их удаления используйте 'apt-get autoremove'. Будут установлены следующие дополнительные пакеты: gsfonts-x11 lesstif2 libt1-5 libxp6 xpdf-common xpdf-reader xpdf-utils Предлагаемые пакеты: pdftk ... Обрабатываются триггеры для menu ... Настраивается пакет gsfonts-x11 (0.21) ... Настраивается пакет libxp6 (1:1.0.0.xsf1-2) ... Настраивается пакет lesstif2 (1:0.95.0-2.3) ... Настраивается пакет libt1-5 (5.1.2-3) ... Настраивается пакет xpdf-common (3.02-1.4) ... Настраивается пакет xpdf-reader (3.02-1.4) ... Настраивается пакет xpdf-utils (3.02-1.4) ... Настраивается пакет xpdf (3.02-1.4) ... Обрабатываются триггеры для menu ... |
#фзе-пуе штapt-get install monit
Чтение списков пакетов... Готово Построение дерева зависимостей Чтение информации о состоянии... Готово Следующие пакеты устанавливались автоматически и больше не требуются: update-inetd portmap Для их удаления используйте 'apt-get autoremove'. НОВЫЕ пакеты, которые будут установлены: monit обновлено 0, установлено 1 новых пакетов, для удаления отмечено 0 пакетов, и 0 пакетов не обновлено. Необходимо скачать 267kБ архивов. ... Выбор ранее не выбранного пакета monit. (Чтение базы данных ... на данный момент установлено 50519 файлов и каталогов.) Распаковывается пакет monit (из файла .../monit_1%3a4.10.1-4_i386.deb)... Обрабатываются триггеры для man-db ... Настраивается пакет monit (1:4.10.1-4) ... Starting daemon monitor: monit won't be started/stopped unless it it's configured please configure monit and then edit /etc/default/monit and set the "startup" variable to 1 in order to allow monit to start |
#vim /etc/monit/monitrc
|
#cat /etc/default/monit
# Defaults for monit initscript # sourced by /etc/init.d/monit # installed at /etc/default/monit by maintainer scripts # Fredrik Steen <stone@debian.org> # You must set this variable to for monit to start startup=0 # To change the intervals which monit should run uncomment # and change this variable. # CHECK_INTERVALS=180 |
## Description: $DESCRIPTION #
2 # sourced by /etc/init.d/monit 3 # installed at /etc/default/monit by maintainer scripts 4 # Fredr=1 5 6 # You must set this variable to for monit to start ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ "/etc/default/monit" 11L, 326C записано |
# /etc/anacrontab: configuration file for anacron # See anacron(8) and anacrontab(5) for details. SHELL=/bin/sh PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin # These replace cron's entries 1 5 cron.daily nice run-parts --report /etc/cron.daily 7 10 cron.weekly nice run-parts --report /etc/cron.weekly @monthly 15 cron.monthly nice run-parts --report /etc/cron.monthly
# Defaults for monit initscript # sourced by /etc/init.d/monit # installed at /etc/default/monit by maintainer scripts # Fredrik Steen <stone@debian.org> # You must set this variable to for monit to start startup=0 # To change the intervals which monit should run uncomment # and change this variable. # CHECK_INTERVALS=180
/var/log/syslog { rotate 7 daily missingok notifempty delaycompress compress postrotate invoke-rc.d rsyslog reload > /dev/null endscript } /var/log/mail.info /var/log/mail.warn /var/log/mail.err /var/log/mail.log /var/log/daemon.log /var/log/kern.log /var/log/auth.log /var/log/user.log /var/log/lpr.log /var/log/cron.log /var/log/debug /var/log/messages { rotate 4 weekly missingok notifempty compress delaycompress sharedscripts postrotate invoke-rc.d rsyslog reload > /dev/null endscript }
May 26 11:49:16 linux10 sendmail[10138]: alias database /etc/mail/aliases rebuilt by root May 26 11:49:16 linux10 sendmail[10138]: /etc/mail/aliases: 4 aliases, longest 10 bytes, 66 bytes total May 26 11:49:17 linux10 sm-mta[10191]: starting daemon (8.14.3): SMTP+queueing@00:10:00 May 27 09:27:37 linux10 sm-mta[2104]: starting daemon (8.14.3): SMTP+queueing@00:10:00 May 27 10:12:01 linux10 sendmail[7290]: n4R7C1XA007290: from=root, size=403, class=0, nrcpts=1, msgid=<200905270712.n4R7C1XA007290@linux10>, relay=root@localhost May 27 10:12:02 linux10 sm-mta[7325]: n4R7C1kE007325: from=<root@linux10>, size=635, class=0, nrcpts=1, msgid=<200905270712.n4R7C1XA007290@linux10>, proto=ESMTP, daemon=MTA-v4, relay=localhost [127.0.0.1] May 27 10:12:02 linux10 sendmail[7290]: n4R7C1XA007290: to=root, ctladdr=root (0/0), delay=00:00:01, xdelay=00:00:01, mailer=relay, pri=30403, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (n4R7C1kE007325 Message accepted for delivery) May 27 10:12:03 linux10 sm-mta[7354]: n4R7C1kE007325: to=<root@linux10>, ctladdr=<root@linux10> (0/0), delay=00:00:02, xdelay=00:00:01, mailer=local, pri=30822, dsn=2.0.0, stat=Sent May 27 10:14:01 linux10 sendmail[8282]: n4R7E1lW008282: from=root, size=403, class=0, nrcpts=1, msgid=<200905270714.n4R7E1lW008282@linux10>, relay=root@localhost May 27 10:14:01 linux10 sm-mta[8289]: n4R7E11q008289: from=<root@linux10>, size=635, class=0, nrcpts=1, msgid=<200905270714.n4R7E1lW008282@linux10>, proto=ESMTP, daemon=MTA-v4, relay=localhost [127.0.0.1] May 27 10:14:01 linux10 sendmail[8282]: n4R7E1lW008282: to=root, ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30403, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (n4R7E11q008289 Message accepted for delivery) May 27 10:14:01 linux10 sm-mta[8301]: n4R7E11q008289: to=<root@linux10>, ctladdr=<root@linux10> (0/0), delay=00:00:00, xdelay=00:00:00, mailer=local, pri=30822, dsn=2.0.0, stat=Sent May 27 10:35:01 linux10 sendmail[16463]: n4R7Z1a0016463: from=root, size=349, class=0, nrcpts=1, msgid=<200905270735.n4R7Z1a0016463@linux10>, relay=root@localhost May 27 10:35:01 linux10 sm-mta[16467]: n4R7Z1p4016467: from=<root@linux10>, size=581, class=0, nrcpts=1, msgid=<200905270735.n4R7Z1a0016463@linux10>, proto=ESMTP, daemon=MTA-v4, relay=localhost [127.0.0.1] May 27 10:35:01 linux10 sendmail[16463]: n4R7Z1a0016463: to=root, ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30349, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (n4R7Z1p4016467 Message accepted for delivery) May 27 10:35:01 linux10 sm-mta[16479]: n4R7Z1p4016467: to=<root@linux10>, ctladdr=<root@linux10> (0/0), delay=00:00:00, xdelay=00:00:00, mailer=local, pri=30768, dsn=2.0.0, stat=Sent May 27 10:36:01 linux10 sendmail[16723]: n4R7a1Kn016723: from=root, size=349, class=0, nrcpts=1, msgid=<200905270736.n4R7a1Kn016723@linux10>, relay=root@localhost May 27 10:36:01 linux10 sm-mta[16728]: n4R7a1Pc016728: from=<root@linux10>, size=581, class=0, nrcpts=1, msgid=<200905270736.n4R7a1Kn016723@linux10>, proto=ESMTP, daemon=MTA-v4, relay=localhost [127.0.0.1] May 27 10:36:02 linux10 sendmail[16723]: n4R7a1Kn016723: to=root, ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30349, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (n4R7a1Pc016728 Message accepted for delivery) May 27 10:36:02 linux10 sm-mta[16740]: n4R7a1Pc016728: to=<root@linux10>, ctladdr=<root@linux10> (0/0), delay=00:00:01, xdelay=00:00:00, mailer=local, pri=30768, dsn=2.0.0, stat=Sent May 27 10:37:01 linux10 sendmail[17173]: n4R7b1AJ017173: from=root, size=349, class=0, nrcpts=1, msgid=<200905270737.n4R7b1AJ017173@linux10>, relay=root@localhost May 27 10:37:01 linux10 sm-mta[17178]: n4R7b1MB017178: from=<root@linux10>, size=581, class=0, nrcpts=1, msgid=<200905270737.n4R7b1AJ017173@linux10>, proto=ESMTP, daemon=MTA-v4, relay=localhost [127.0.0.1] May 27 10:37:01 linux10 sendmail[17173]: n4R7b1AJ017173: to=root, ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30349, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (n4R7b1MB017178 Message accepted for delivery) May 27 10:37:01 linux10 sm-mta[17190]: n4R7b1MB017178: to=<root@linux10>, ctladdr=<root@linux10> (0/0), delay=00:00:00, xdelay=00:00:00, mailer=local, pri=30768, dsn=2.0.0, stat=Sent May 27 10:38:01 linux10 sendmail[17463]: n4R7c1DY017463: from=root, size=346, class=0, nrcpts=1, msgid=<200905270738.n4R7c1DY017463@linux10>, relay=root@localhost May 27 10:38:01 linux10 sm-mta[17469]: n4R7c1jn017469: from=<root@linux10>, size=578, class=0, nrcpts=1, msgid=<200905270738.n4R7c1DY017463@linux10>, proto=ESMTP, daemon=MTA-v4, relay=localhost [127.0.0.1] May 27 10:38:01 linux10 sendmail[17463]: n4R7c1DY017463: to=root, ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30346, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (n4R7c1jn017469 Message accepted for delivery) May 27 10:38:01 linux10 sm-mta[17482]: n4R7c1jn017469: to=<root@linux10>, ctladdr=<root@linux10> (0/0), delay=00:00:00, xdelay=00:00:00, mailer=local, pri=30765, dsn=2.0.0, stat=Sent May 27 10:52:12 linux10 sendmail[22841]: n4R7qCJR022841: from=root, size=398, class=0, nrcpts=1, msgid=<200905270752.n4R7qCJR022841@linux10.unix.nt>, relay=root@localhost May 27 10:52:12 linux10 sm-mta[22842]: n4R7qCWG022842: from=<root@linux10.unix.nt>, size=662, class=0, nrcpts=1, msgid=<200905270752.n4R7qCJR022841@linux10.unix.nt>, proto=ESMTP, daemon=MTA-v4, relay=localhost [127.0.0.1] (may be forged) May 27 10:52:12 linux10 sendmail[22841]: n4R7qCJR022841: to=root, ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30398, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (n4R7qCWG022842 Message accepted for delivery) May 27 10:52:12 linux10 sm-mta[22843]: n4R7qCWG022842: to=<root@linux10.unix.nt>, ctladdr=<root@linux10.unix.nt> (0/0), delay=00:00:00, xdelay=00:00:00, mailer=local, pri=30881, dsn=2.0.0, stat=Sent May 27 11:22:02 linux10 sendmail[1503]: n4R8M2wP001503: from=root, size=467, class=0, nrcpts=1, msgid=<200905270822.n4R8M2wP001503@linux10.unix.nt>, relay=root@localhost May 27 11:22:02 linux10 sm-mta[1509]: n4R8M2LX001509: from=<root@linux10.unix.nt>, size=731, class=0, nrcpts=1, msgid=<200905270822.n4R8M2wP001503@linux10.unix.nt>, proto=ESMTP, daemon=MTA-v4, relay=localhost [127.0.0.1] (may be forged) May 27 11:22:02 linux10 sendmail[1503]: n4R8M2wP001503: to=root, ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30467, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (n4R8M2LX001509 Message accepted for delivery) May 27 11:22:02 linux10 sm-mta[1522]: n4R8M2LX001509: to=<root@linux10.unix.nt>, ctladdr=<root@linux10.unix.nt> (0/0), delay=00:00:00, xdelay=00:00:00, mailer=local, pri=30950, dsn=2.0.0, stat=Sent May 27 11:23:01 linux10 sendmail[1957]: n4R8N10a001957: from=root, size=467, class=0, nrcpts=1, msgid=<200905270823.n4R8N10a001957@linux10.unix.nt>, relay=root@localhost May 27 11:23:01 linux10 sm-mta[1961]: n4R8N15O001961: from=<root@linux10.unix.nt>, size=731, class=0, nrcpts=1, msgid=<200905270823.n4R8N10a001957@linux10.unix.nt>, proto=ESMTP, daemon=MTA-v4, relay=localhost [127.0.0.1] (may be forged) May 27 11:23:01 linux10 sendmail[1957]: n4R8N10a001957: to=root, ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30467, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (n4R8N15O001961 Message accepted for delivery) May 27 11:23:01 linux10 sm-mta[1974]: n4R8N15O001961: to=<root@linux10.unix.nt>, ctladdr=<root@linux10.unix.nt> (0/0), delay=00:00:00, xdelay=00:00:00, mailer=local, pri=30950, dsn=2.0.0, stat=Sent May 27 11:24:01 linux10 sendmail[2293]: n4R8O1hT002293: from=root, size=467, class=0, nrcpts=1, msgid=<200905270824.n4R8O1hT002293@linux10.unix.nt>, relay=root@localhost May 27 11:24:01 linux10 sm-mta[2299]: n4R8O167002299: from=<root@linux10.unix.nt>, size=731, class=0, nrcpts=1, msgid=<200905270824.n4R8O1hT002293@linux10.unix.nt>, proto=ESMTP, daemon=MTA-v4, relay=localhost [127.0.0.1] (may be forged) May 27 11:24:01 linux10 sendmail[2293]: n4R8O1hT002293: to=root, ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30467, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (n4R8O167002299 Message accepted for delivery) May 27 11:24:01 linux10 sm-mta[2311]: n4R8O167002299: to=<root@linux10.unix.nt>, ctladdr=<root@linux10.unix.nt> (0/0), delay=00:00:00, xdelay=00:00:00, mailer=local, pri=30950, dsn=2.0.0, stat=Sent May 27 12:28:24 linux10 sendmail: hello
cat: /var/log/sys.log: Нет такого файла или каталога
May 24 15:17:28 book kernel: [ 1.561284] hub 2-0:1.0: USB hub found May 24 15:17:28 book kernel: [ 1.561336] hub 2-0:1.0: 2 ports detected May 24 15:17:28 book kernel: [ 1.561532] uhci_hcd 0000:00:1d.1: PCI INT B -> GSI 17 (level, low) -> IRQ 17 May 24 15:17:28 book kernel: [ 1.561588] uhci_hcd 0000:00:1d.1: setting latency timer to 64 May 24 15:17:28 book kernel: [ 1.561592] uhci_hcd 0000:00:1d.1: UHCI Host Controller May 24 15:17:28 book kernel: [ 1.561670] uhci_hcd 0000:00:1d.1: new USB bus registered, assigned bus number 3 May 24 15:17:28 book kernel: [ 1.561766] uhci_hcd 0000:00:1d.1: irq 17, io base 0x00008400 May 24 15:17:28 book kernel: [ 1.561855] usb usb3: New USB device found, idVendor=1d6b, idProduct=0001 May 24 15:17:28 book kernel: [ 1.561904] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1 May 24 15:17:28 book kernel: [ 1.561962] usb usb3: Product: UHCI Host Controller May 24 15:17:28 book kernel: [ 1.562007] usb usb3: Manufacturer: Linux 2.6.29-2-686 uhci_hcd May 24 15:17:28 book kernel: [ 1.562053] usb usb3: SerialNumber: 0000:00:1d.1 May 24 15:17:28 book kernel: [ 1.562169] usb usb3: configuration #1 chosen from 1 choice May 24 15:17:28 book kernel: [ 1.562250] hub 3-0:1.0: USB hub found May 24 15:17:28 book kernel: [ 1.562302] hub 3-0:1.0: 2 ports detected rsyslogd: [origin software="rsyslogd" swVersion="3.22.0" x-pid="2107" x-info="http://www.rsyslog.com"] restart May 24 15:17:28 book kernel: [ 1.562503] uhci_hcd 0000:00:1d.2: PCI INT C -> GSI 18 (level, low) -> IRQ 18 May 24 15:17:28 book kernel: [ 1.562560] uhci_hcd 0000:00:1d.2: setting latency timer to 64 May 24 15:17:28 book kernel: [ 1.562564] uhci_hcd 0000:00:1d.2: UHCI Host Controller May 24 15:17:28 book kernel: [ 1.562642] uhci_hcd 0000:00:1d.2: new USB bus registered, assigned bus number 4 May 24 15:17:28 book kernel: [ 1.562736] uhci_hcd 0000:00:1d.2: irq 18, io base 0x00008800 May 24 15:17:28 book kernel: [ 1.562825] usb usb4: New USB device found, idVendor=1d6b, idProduct=0001 May 24 15:17:28 book kernel: [ 1.562875] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1 May 24 15:17:28 book kernel: [ 1.562935] usb usb4: Product: UHCI Host Controller May 24 15:17:28 book kernel: [ 1.562979] usb usb4: Manufacturer: Linux 2.6.29-2-686 uhci_hcd May 24 15:17:28 book kernel: [ 1.563025] usb usb4: SerialNumber: 0000:00:1d.2 May 24 15:17:28 book kernel: [ 1.563141] usb usb4: configuration #1 chosen from 1 choice May 24 15:17:28 book kernel: [ 1.563973] hub 4-0:1.0: USB hub found May 24 15:17:28 book kernel: [ 1.564067] hub 4-0:1.0: 2 ports detected May 24 15:17:28 book kernel: [ 1.564272] uhci_hcd 0000:00:1d.3: PCI INT D -> GSI 19 (level, low) -> IRQ 19 May 24 15:17:28 book kernel: [ 1.564337] uhci_hcd 0000:00:1d.3: setting latency timer to 64 May 24 15:17:28 book kernel: [ 1.564342] uhci_hcd 0000:00:1d.3: UHCI Host Controller May 24 15:17:28 book kernel: [ 1.564419] uhci_hcd 0000:00:1d.3: new USB bus registered, assigned bus number 5 May 24 15:17:28 book kernel: [ 1.564514] uhci_hcd 0000:00:1d.3: irq 19, io base 0x00009000 May 24 15:17:28 book kernel: [ 1.564608] usb usb5: New USB device found, idVendor=1d6b, idProduct=0001 May 24 15:17:28 book kernel: [ 1.564657] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1 May 24 15:17:28 book kernel: [ 1.564716] usb usb5: Product: UHCI Host Controller May 24 15:17:28 book kernel: [ 1.564760] usb usb5: Manufacturer: Linux 2.6.29-2-686 uhci_hcd May 24 15:17:28 book kernel: [ 1.564806] usb usb5: SerialNumber: 0000:00:1d.3 May 24 15:17:28 book kernel: [ 1.564927] usb usb5: configuration #1 chosen from 1 choice May 24 15:17:28 book kernel: [ 1.565010] hub 5-0:1.0: USB hub found May 24 15:17:28 book kernel: [ 1.565062] hub 5-0:1.0: 2 ports detected May 24 15:17:28 book kernel: [ 1.569889] it821x 0000:01:04.0: IDE controller (0x1283:0x8211 rev 0x11) May 24 15:17:28 book kernel: [ 1.569955] ITE821x IDE 0000:01:04.0: PCI INT A -> GSI 19 (level, low) -> IRQ 19 May 24 15:17:28 book kernel: [ 1.570035] it821x 0000:01:04.0: controller in pass through mode May 24 15:17:28 book kernel: [ 1.570082] it821x 0000:01:04.0: 100% native mode on irq 19 May 24 15:17:28 book kernel: [ 1.570132] ide0: BM-DMA at 0xb400-0xb407 May 24 15:17:28 book kernel: [ 1.570184] ide1: BM-DMA at 0xb408-0xb40f May 24 15:17:28 book kernel: [ 1.570233] Probing IDE interface ide0... May 24 15:17:28 book kernel: [ 1.583065] piix 0000:00:1f.1: IDE controller (0x8086:0x27df rev 0x01) May 24 15:17:28 book kernel: [ 1.583131] PIIX_IDE 0000:00:1f.1: PCI INT A -> GSI 18 (level, low) -> IRQ 18 May 24 15:17:28 book kernel: [ 1.583201] piix 0000:00:1f.1: not 100% native mode: will probe irqs later May 24 15:17:28 book kernel: [ 1.583253] ide2: BM-DMA at 0xffa0-0xffa7 May 24 15:17:28 book kernel: [ 1.583306] ide3: BM-DMA at 0xffa8-0xffaf May 24 15:17:28 book kernel: [ 1.583355] Probing IDE interface ide2... May 24 15:17:28 book kernel: [ 1.618999] 0000:02:00.0: eth0: (PCI Express:2.5GB/s:Width x1) 00:13:d4:b2:4f:e0 May 24 15:17:28 book kernel: [ 1.619064] 0000:02:00.0: eth0: Intel(R) PRO/1000 Network Connection May 24 15:17:28 book kernel: [ 1.619284] 0000:02:00.0: eth0: MAC: 2, PHY: 2, PBA No: ffffff-0ff May 24 15:17:28 book kernel: [ 1.625304] SCSI subsystem initialized May 24 15:17:28 book kernel: [ 1.655257] libata version 3.00 loaded. May 24 15:17:28 book kernel: [ 1.864065] usb 1-2: new high speed USB device using ehci_hcd and address 2 May 24 15:17:28 book kernel: [ 1.997241] usb 1-2: New USB device found, idVendor=1058, idProduct=0704 May 24 15:17:28 book kernel: [ 1.997296] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3 May 24 15:17:28 book kernel: [ 1.997347] usb 1-2: Product: External HDD May 24 15:17:28 book kernel: [ 1.997392] usb 1-2: Manufacturer: Western Digital May 24 15:17:28 book kernel: [ 1.997438] usb 1-2: SerialNumber: 575845383038483632323231 May 24 15:17:28 book kernel: [ 1.997594] usb 1-2: configuration #1 chosen from 1 choice May 24 15:17:28 book kernel: [ 2.027618] Initializing USB Mass Storage driver... May 24 15:17:28 book kernel: [ 2.029421] scsi0 : SCSI emulation for USB Mass Storage devices May 24 15:17:28 book kernel: [ 2.029649] usbcore: registered new interface driver usb-storage May 24 15:17:28 book kernel: [ 2.029701] USB Mass Storage support registered. May 24 15:17:28 book kernel: [ 2.030324] usb-storage: device found at 2 May 24 15:17:28 book kernel: [ 2.030328] usb-storage: waiting for device to settle before scanning May 24 15:17:28 book kernel: [ 2.148069] Probing IDE interface ide1... May 24 15:17:28 book kernel: [ 2.324224] hde: HL-DT-STDVD-ROM GDR8163B, ATAPI CD/DVD-ROM drive May 24 15:17:28 book kernel: [ 2.660060] hde: host max PIO4 wanted PIO255(auto-tune) selected PIO4 May 24 15:17:28 book kernel: [ 2.665495] hde: UDMA/33 mode selected May 24 15:17:28 book kernel: [ 2.665994] Probing IDE interface ide3... May 24 15:17:28 book kernel: [ 2.728076] ide0 at 0xc800-0xc807,0xc402 on irq 19 May 24 15:17:28 book kernel: [ 2.728168] ide1 at 0xc000-0xc007,0xb802 on irq 19 May 24 15:17:28 book kernel: [ 3.232092] ide2 at 0x1f0-0x1f7,0x3f6 on irq 14 May 24 15:17:28 book kernel: [ 3.239309] ide3 at 0x170-0x177,0x376 on irq 15 May 24 15:17:28 book kernel: [ 3.239898] ata_piix 0000:00:1f.2: version 2.12 May 24 15:17:28 book kernel: [ 3.239920] ata_piix 0000:00:1f.2: PCI INT B -> GSI 17 (level, low) -> IRQ 17 May 24 15:17:28 book kernel: [ 3.239976] ata_piix 0000:00:1f.2: MAP [ P0 P2 P1 P3 ] May 24 15:17:28 book kernel: [ 3.240219] ata_piix 0000:00:1f.2: setting latency timer to 64 May 24 15:17:28 book kernel: [ 3.244100] scsi1 : ata_piix May 24 15:17:28 book kernel: [ 3.244532] scsi2 : ata_piix May 24 15:17:28 book kernel: [ 3.244654] ata1: SATA max UDMA/133 cmd 0xa800 ctl 0xa400 bmdma 0x9400 irq 17 May 24 15:17:28 book kernel: [ 3.244705] ata2: SATA max UDMA/133 cmd 0xa000 ctl 0x9800 bmdma 0x9408 irq 17 May 24 15:17:28 book kernel: [ 3.408234] ata1.00: ATA-7: Hitachi HDS721680PLA380, P21OABDA, max UDMA/100 May 24 15:17:28 book kernel: [ 3.408287] ata1.00: 156301488 sectors, multi 16: LBA48 NCQ (depth 0/32) May 24 15:17:28 book kernel: [ 3.424254] ata1.00: configured for UDMA/100 May 24 15:17:28 book kernel: [ 3.424428] scsi 1:0:0:0: Direct-Access ATA Hitachi HDS72168 P21O PQ: 0 ANSI: 5 May 24 15:17:28 book kernel: [ 3.588866] ata2.00: ATA-8: WDC WD3200AAKS-00B3A0, 01.03A01, max UDMA/133 May 24 15:17:28 book kernel: [ 3.588920] ata2.00: 625142448 sectors, multi 16: LBA48 NCQ (depth 0/32) May 24 15:17:28 book kernel: [ 3.604854] ata2.00: configured for UDMA/133 May 24 15:17:28 book kernel: [ 3.605026] scsi 2:0:0:0: Direct-Access ATA WDC WD3200AAKS-0 01.0 PQ: 0 ANSI: 5 May 24 15:17:28 book kernel: [ 3.619437] ide-cd driver 5.00 May 24 15:17:28 book kernel: [ 3.625990] ide-cd: hde: ATAPI 52X DVD-ROM drive, 256kB Cache May 24 15:17:28 book kernel: [ 3.626150] Uniform CD-ROM driver Revision: 3.20 May 24 15:17:28 book kernel: [ 3.717194] Driver 'sd' needs updating - please use bus_type methods May 24 15:17:28 book kernel: [ 3.717383] sd 1:0:0:0: [sda] 156301488 512-byte hardware sectors: (80.0 GB/74.5 GiB) May 24 15:17:28 book kernel: [ 3.717467] sd 1:0:0:0: [sda] Write Protect is off May 24 15:17:28 book kernel: [ 3.717514] sd 1:0:0:0: [sda] Mode Sense: 00 3a 00 00 May 24 15:17:28 book kernel: [ 3.717548] sd 1:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA May 24 15:17:28 book kernel: [ 3.717710] sd 1:0:0:0: [sda] 156301488 512-byte hardware sectors: (80.0 GB/74.5 GiB) May 24 15:17:28 book kernel: [ 3.717792] sd 1:0:0:0: [sda] Write Protect is off May 24 15:17:28 book kernel: [ 3.717838] sd 1:0:0:0: [sda] Mode Sense: 00 3a 00 00 May 24 15:17:28 book kernel: [ 3.717873] sd 1:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA May 24 15:17:28 book kernel: [ 3.717940] sda: sda1 May 24 15:17:28 book kernel: [ 3.725518] sd 1:0:0:0: [sda] Attached SCSI disk May 24 15:17:28 book kernel: [ 3.725691] sd 2:0:0:0: [sdb] 625142448 512-byte hardware sectors: (320 GB/298 GiB) May 24 15:17:28 book kernel: [ 3.725773] sd 2:0:0:0: [sdb] Write Protect is off May 24 15:17:28 book kernel: [ 3.725820] sd 2:0:0:0: [sdb] Mode Sense: 00 3a 00 00 May 24 15:17:28 book kernel: [ 3.725854] sd 2:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA May 24 15:17:28 book kernel: [ 3.726013] sd 2:0:0:0: [sdb] 625142448 512-byte hardware sectors: (320 GB/298 GiB) May 24 15:17:28 book kernel: [ 3.726092] sd 2:0:0:0: [sdb] Write Protect is off May 24 15:17:28 book kernel: [ 3.726138] sd 2:0:0:0: [sdb] Mode Sense: 00 3a 00 00 May 24 15:17:28 book kernel: [ 3.726173] sd 2:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA May 24 15:17:28 book kernel: [ 3.726237] sdb: sdb1 sdb2 < sdb5 > May 24 15:17:28 book kernel: [ 3.756702] sd 2:0:0:0: [sdb] Attached SCSI disk May 24 15:17:28 book kernel: [ 4.173252] kjournald starting. Commit interval 5 seconds May 24 15:17:28 book kernel: [ 4.173315] EXT3-fs: mounted filesystem with ordered data mode. May 24 15:17:28 book kernel: [ 5.035888] udev: starting version 141 May 24 15:17:28 book kernel: [ 5.167047] input: Power Button (FF) as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input1 May 24 15:17:28 book kernel: [ 5.167117] ACPI: Power Button (FF) [PWRF] May 24 15:17:28 book kernel: [ 5.167263] input: Power Button (CM) as /devices/LNXSYSTM:00/device:00/PNP0C0C:00/input/input2 May 24 15:17:28 book kernel: [ 5.167329] ACPI: Power Button (CM) [PWRB] May 24 15:17:28 book kernel: [ 5.191283] parport_pc 00:07: reported by Plug and Play ACPI May 24 15:17:28 book kernel: [ 5.191452] parport0: PC-style at 0x378 (0x778), irq 7 [PCSPP,TRISTATE,EPP] May 24 15:17:28 book kernel: [ 5.498004] intel_rng: FWH not detected May 24 15:17:28 book kernel: [ 5.661885] input: PC Speaker as /devices/platform/pcspkr/input/input3 May 24 15:17:28 book kernel: [ 5.736358] i801_smbus 0000:00:1f.3: PCI INT B -> GSI 17 (level, low) -> IRQ 17 May 24 15:17:28 book kernel: [ 5.806372] Error: Driver 'pcspkr' is already registered, aborting... May 24 15:17:28 book kernel: [ 5.901261] HDA Intel 0000:00:1b.0: PCI INT A -> GSI 19 (level, low) -> IRQ 19 May 24 15:17:28 book kernel: [ 5.901428] HDA Intel 0000:00:1b.0: setting latency timer to 64 May 24 15:17:28 book kernel: [ 6.490797] input: ImExPS/2 Generic Explorer Mouse as /devices/platform/i8042/serio1/input/input4 May 24 15:17:28 book kernel: [ 7.028159] usb-storage: device scan complete May 24 15:17:28 book kernel: [ 7.028648] scsi 0:0:0:0: Direct-Access WD 3200BMV External 1.05 PQ: 0 ANSI: 4 May 24 15:17:28 book kernel: [ 7.030776] sd 0:0:0:0: [sdc] 625142448 512-byte hardware sectors: (320 GB/298 GiB) May 24 15:17:28 book kernel: [ 7.031646] sd 0:0:0:0: [sdc] Write Protect is off May 24 15:17:28 book kernel: [ 7.031698] sd 0:0:0:0: [sdc] Mode Sense: 21 00 00 00 May 24 15:17:28 book kernel: [ 7.031702] sd 0:0:0:0: [sdc] Assuming drive cache: write through May 24 15:17:28 book kernel: [ 7.032526] sd 0:0:0:0: [sdc] 625142448 512-byte hardware sectors: (320 GB/298 GiB) May 24 15:17:28 book kernel: [ 7.033388] sd 0:0:0:0: [sdc] Write Protect is off May 24 15:17:28 book kernel: [ 7.033440] sd 0:0:0:0: [sdc] Mode Sense: 21 00 00 00 May 24 15:17:28 book kernel: [ 7.033444] sd 0:0:0:0: [sdc] Assuming drive cache: write through May 24 15:17:28 book kernel: [ 7.033496] sdc: sdc1 sdc2 sdc3
Время первой команды журнала | 09:55:21 2009- 5-27 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Время последней команды журнала | 15:35:11 2009- 5-27 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Количество командных строк в журнале | 101 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Процент команд с ненулевым кодом завершения, % | 17.82 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Процент синтаксически неверно набранных команд, % | 1.98 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Суммарное время работы с терминалом *, час | 4.14 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Количество командных строк в единицу времени, команда/мин | 0.41 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Частота использования команд |
|
В журнал автоматически попадают все команды, данные в любом терминале системы.
Для того чтобы убедиться, что журнал на текущем терминале ведётся, и команды записываются, дайте команду 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