/l3/users/Sergey-Bondarenko/asterisk/linux3.unix.nt/root :1 :2 :3 :4 :5 :6 :7 |
|
#date
Mon Mar 15 14:46:36 EET 2010 |
#date
Mon Mar 15 14:46:36 EET 2010 |
##hello
|
##hello
|
#cat ~/.bashrc
# ~/.bashrc: executed by bash(1) for non-login shells. export PS1='\h:\w\$ ' umask 022 # You may uncomment the following lines if you want `ls' to be colorized: # export LS_OPTIONS='--color=auto' # eval "`dircolors`" # alias ls='ls $LS_OPTIONS' # alias ll='ls $LS_OPTIONS -l' # alias l='ls $LS_OPTIONS -lA' # # Some more alias to avoid making mistakes: # alias rm='rm -i' # alias cp='cp -i' # alias mv='mv -i' . /root/.lilalo/l3bashrc && _l3_start |
#cat ~/.bashrc
# ~/.bashrc: executed by bash(1) for non-login shells. export PS1='\h:\w\$ ' umask 022 # You may uncomment the following lines if you want `ls' to be colorized: # export LS_OPTIONS='--color=auto' # eval "`dircolors`" # alias ls='ls $LS_OPTIONS' # alias ll='ls $LS_OPTIONS -l' # alias l='ls $LS_OPTIONS -lA' # # Some more alias to avoid making mistakes: # alias rm='rm -i' # alias cp='cp -i' # alias mv='mv -i' . /root/.lilalo/l3bashrc && _l3_start |
#cat ~/.bash_profile
l3-agent . ~/.bashrc |
#cat ~/.bash_profile
l3-agent . ~/.bashrc |
#passwd
Enter new UNIX password: Retype new UNIX password: passwd: password updated successfully |
#passwd
Enter new UNIX password: Retype new UNIX password: passwd: password updated successfully |
#ping ya.ru
PING ya.ru (77.88.21.8) 56(84) bytes of data. 64 bytes from ya.ru (77.88.21.8): icmp_seq=1 ttl=50 time=53.3 ms ^C --- ya.ru ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 53.389/53.389/53.389/0.000 ms |
#ping ya.ru
PING ya.ru (77.88.21.8) 56(84) bytes of data. 64 bytes from ya.ru (77.88.21.8): icmp_seq=1 ttl=50 time=53.3 ms ^C --- ya.ru ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 53.389/53.389/53.389/0.000 ms |
#ifconfig
eth0 Link encap:Ethernet HWaddr 00:1b:fc:7d:bc:f0 inet addr:192.168.15.3 Bcast:192.168.15.255 Mask:255.255.255.0 inet6 addr: fe80::21b:fcff:fe7d:bcf0/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:21941 errors:0 dropped:0 overruns:0 frame:0 TX packets:14205 errors:0 dropped:0 overruns:0 carrier:2 collisions:0 txqueuelen:1000 RX bytes:24752679 (23.6 MiB) TX bytes:1081360 (1.0 MiB) eth1 Link encap:Ethernet HWaddr 00:07:e9:0c:4f:9d UP BROADCAST MULTICAST MTU:1500 Metric:1 ... collisions:0 txqueuelen:1000 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) 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:8 errors:0 dropped:0 overruns:0 frame:0 TX packets:8 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:560 (560.0 B) TX bytes:560 (560.0 B) |
#ifconfig
eth0 Link encap:Ethernet HWaddr 00:1b:fc:7d:bc:f0 inet addr:192.168.15.3 Bcast:192.168.15.255 Mask:255.255.255.0 inet6 addr: fe80::21b:fcff:fe7d:bcf0/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:21941 errors:0 dropped:0 overruns:0 frame:0 TX packets:14205 errors:0 dropped:0 overruns:0 carrier:2 collisions:0 txqueuelen:1000 RX bytes:24752679 (23.6 MiB) TX bytes:1081360 (1.0 MiB) eth1 Link encap:Ethernet HWaddr 00:07:e9:0c:4f:9d UP BROADCAST MULTICAST MTU:1500 Metric:1 ... collisions:0 txqueuelen:1000 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) 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:8 errors:0 dropped:0 overruns:0 frame:0 TX packets:8 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:560 (560.0 B) TX bytes:560 (560.0 B) |
#cat /etc/network/interfaces
# This file describes the network interfaces available on your system # and how to activate them. For more information, see interfaces(5). # The loopback network interface auto lo iface lo inet loopback # The primary network interface allow-hotplug eth0 iface eth0 inet static address 192.168.15.3 netmask 255.255.255.0 network 192.168.15.0 broadcast 192.168.15.255 gateway 192.168.15.254 # dns-* options are implemented by the resolvconf package, if installed dns-nameservers 10.0.35.1 dns-search unix.nt |
#cat /etc/network/interfaces
# This file describes the network interfaces available on your system # and how to activate them. For more information, see interfaces(5). # The loopback network interface auto lo iface lo inet loopback # The primary network interface allow-hotplug eth0 iface eth0 inet static address 192.168.15.3 netmask 255.255.255.0 network 192.168.15.0 broadcast 192.168.15.255 gateway 192.168.15.254 # dns-* options are implemented by the resolvconf package, if installed dns-nameservers 10.0.35.1 dns-search unix.nt |
#nano /etc/network/interfaces
|
#This file describes the network interfaces available on your system
127.0.0.1 localhost 192.168.15.3 linux3.unix.nt linux3 # The following lines are desirable for IPv6 capable hosts ::1 localhost ip6-localhost ip6-loopback fe00::0 ip6-localnet ff00::0 ip6-mcastprefix ff02::1 ip6-allnodes ff02::2 ip6-allrouters ff02::3 ip6-allhosts |
#This file describes the network interfaces available on your system
127.0.0.1 localhost 192.168.15.3 linux3.unix.nt linux3 # The following lines are desirable for IPv6 capable hosts ::1 localhost ip6-localhost ip6-loopback fe00::0 ip6-localnet ff00::0 ip6-mcastprefix ff02::1 ip6-allnodes ff02::2 ip6-allrouters ff02::3 ip6-allhosts |
#This file describes the network interfaces available on your system
GNU nano 2.0.7 File: /etc/hosts Modified 127.0.0.1 localhost 192.168.16 # The following lines are desirable for IPv6 capable hosts ::1 localhost ip6-localhost ip6-loopback fe00::0 ip6-localnet ff00::0 ip6-mcastprefix ff02::1 ip6-allnodes ff02::2 ip6-allrouters ff02::3 ip6-allhosts [ Read 10 lines ] ^G Get Help ^O WriteOut ^R Read File ^Y Prev Page ^K Cut Text ^C Cur Pos ^X Exit ^J Justify ^W Where Is ^V Next Page ^U UnCut Text^T To Spell |
#This file describes the network interfaces available on your system
GNU nano 2.0.7 File: /etc/hosts Modified 127.0.0.1 localhost 192.168.16 # The following lines are desirable for IPv6 capable hosts ::1 localhost ip6-localhost ip6-loopback fe00::0 ip6-localnet ff00::0 ip6-mcastprefix ff02::1 ip6-allnodes ff02::2 ip6-allrouters ff02::3 ip6-allhosts [ Read 10 lines ] ^G Get Help ^O WriteOut ^R Read File ^Y Prev Page ^K Cut Text ^C Cur Pos ^X Exit ^J Justify ^W Where Is ^V Next Page ^U UnCut Text^T To Spell |
#cat /etc/hosts
127.0.0.1 localhost 192.168.16.3 linux3.unix.nt linux3 # The following lines are desirable for IPv6 capable hosts ::1 localhost ip6-localhost ip6-loopback fe00::0 ip6-localnet ff00::0 ip6-mcastprefix ff02::1 ip6-allnodes ff02::2 ip6-allrouters ff02::3 ip6-allhosts |
#cat /etc/hosts
127.0.0.1 localhost 192.168.16.3 linux3.unix.nt linux3 # The following lines are desirable for IPv6 capable hosts ::1 localhost ip6-localhost ip6-loopback fe00::0 ip6-localnet ff00::0 ip6-mcastprefix ff02::1 ip6-allnodes ff02::2 ip6-allrouters ff02::3 ip6-allhosts |
#ifconfig
eth0 Link encap:Ethernet HWaddr 00:1b:fc:7d:bc:f0 inet addr:192.168.15.3 Bcast:192.168.15.255 Mask:255.255.255.0 inet6 addr: fe80::21b:fcff:fe7d:bcf0/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:22337 errors:0 dropped:0 overruns:0 frame:0 TX packets:14562 errors:0 dropped:0 overruns:0 carrier:2 collisions:0 txqueuelen:1000 RX bytes:24813440 (23.6 MiB) TX bytes:1120744 (1.0 MiB) eth1 Link encap:Ethernet HWaddr 00:07:e9:0c:4f:9d UP BROADCAST MULTICAST MTU:1500 Metric:1 ... collisions:0 txqueuelen:1000 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) 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:8 errors:0 dropped:0 overruns:0 frame:0 TX packets:8 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:560 (560.0 B) TX bytes:560 (560.0 B) |
#ifconfig
eth0 Link encap:Ethernet HWaddr 00:1b:fc:7d:bc:f0 inet addr:192.168.15.3 Bcast:192.168.15.255 Mask:255.255.255.0 inet6 addr: fe80::21b:fcff:fe7d:bcf0/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:22337 errors:0 dropped:0 overruns:0 frame:0 TX packets:14562 errors:0 dropped:0 overruns:0 carrier:2 collisions:0 txqueuelen:1000 RX bytes:24813440 (23.6 MiB) TX bytes:1120744 (1.0 MiB) eth1 Link encap:Ethernet HWaddr 00:07:e9:0c:4f:9d UP BROADCAST MULTICAST MTU:1500 Metric:1 ... collisions:0 txqueuelen:1000 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) 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:8 errors:0 dropped:0 overruns:0 frame:0 TX packets:8 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:560 (560.0 B) TX bytes:560 (560.0 B) |
#/etc/init.d/networking restart
Reconfiguring network interfaces...SIOCDELRT: No such process done. |
#/etc/init.d/networking restart
Reconfiguring network interfaces...SIOCDELRT: No such process done. |
#ifconfig
eth0 Link encap:Ethernet HWaddr 00:1b:fc:7d:bc:f0 inet addr:192.168.15.3 Bcast:192.168.15.255 Mask:255.255.255.0 inet6 addr: fe80::21b:fcff:fe7d:bcf0/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:22493 errors:0 dropped:0 overruns:0 frame:0 TX packets:14707 errors:0 dropped:0 overruns:0 carrier:2 collisions:0 txqueuelen:1000 RX bytes:24842854 (23.6 MiB) TX bytes:1135228 (1.0 MiB) eth1 Link encap:Ethernet HWaddr 00:07:e9:0c:4f:9d UP BROADCAST MULTICAST MTU:1500 Metric:1 ... collisions:0 txqueuelen:1000 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) 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:8 errors:0 dropped:0 overruns:0 frame:0 TX packets:8 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:560 (560.0 B) TX bytes:560 (560.0 B) |
#ifconfig
eth0 Link encap:Ethernet HWaddr 00:1b:fc:7d:bc:f0 inet addr:192.168.15.3 Bcast:192.168.15.255 Mask:255.255.255.0 inet6 addr: fe80::21b:fcff:fe7d:bcf0/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:22493 errors:0 dropped:0 overruns:0 frame:0 TX packets:14707 errors:0 dropped:0 overruns:0 carrier:2 collisions:0 txqueuelen:1000 RX bytes:24842854 (23.6 MiB) TX bytes:1135228 (1.0 MiB) eth1 Link encap:Ethernet HWaddr 00:07:e9:0c:4f:9d UP BROADCAST MULTICAST MTU:1500 Metric:1 ... collisions:0 txqueuelen:1000 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) 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:8 errors:0 dropped:0 overruns:0 frame:0 TX packets:8 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:560 (560.0 B) TX bytes:560 (560.0 B) |
#ifconfig
eth0 Link encap:Ethernet HWaddr 00:1b:fc:7d:bc:f0 inet addr:192.168.15.3 Bcast:192.168.15.255 Mask:255.255.255.0 inet6 addr: fe80::21b:fcff:fe7d:bcf0/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:22499 errors:0 dropped:0 overruns:0 frame:0 TX packets:14712 errors:0 dropped:0 overruns:0 carrier:2 collisions:0 txqueuelen:1000 RX bytes:24843712 (23.6 MiB) TX bytes:1135552 (1.0 MiB) eth1 Link encap:Ethernet HWaddr 00:07:e9:0c:4f:9d UP BROADCAST MULTICAST MTU:1500 Metric:1 ... collisions:0 txqueuelen:1000 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) 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:8 errors:0 dropped:0 overruns:0 frame:0 TX packets:8 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:560 (560.0 B) TX bytes:560 (560.0 B) |
#ifconfig
eth0 Link encap:Ethernet HWaddr 00:1b:fc:7d:bc:f0 inet addr:192.168.15.3 Bcast:192.168.15.255 Mask:255.255.255.0 inet6 addr: fe80::21b:fcff:fe7d:bcf0/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:22499 errors:0 dropped:0 overruns:0 frame:0 TX packets:14712 errors:0 dropped:0 overruns:0 carrier:2 collisions:0 txqueuelen:1000 RX bytes:24843712 (23.6 MiB) TX bytes:1135552 (1.0 MiB) eth1 Link encap:Ethernet HWaddr 00:07:e9:0c:4f:9d UP BROADCAST MULTICAST MTU:1500 Metric:1 ... collisions:0 txqueuelen:1000 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) 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:8 errors:0 dropped:0 overruns:0 frame:0 TX packets:8 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:560 (560.0 B) TX bytes:560 (560.0 B) |
#ifconfig
eth0 Link encap:Ethernet HWaddr 00:1b:fc:7d:bc:f0 inet addr:192.168.15.3 Bcast:192.168.15.255 Mask:255.255.255.0 inet6 addr: fe80::21b:fcff:fe7d:bcf0/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:22499 errors:0 dropped:0 overruns:0 frame:0 TX packets:14712 errors:0 dropped:0 overruns:0 carrier:2 collisions:0 txqueuelen:1000 RX bytes:24843712 (23.6 MiB) TX bytes:1135552 (1.0 MiB) eth1 Link encap:Ethernet HWaddr 00:07:e9:0c:4f:9d UP BROADCAST MULTICAST MTU:1500 Metric:1 ... collisions:0 txqueuelen:1000 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) 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:8 errors:0 dropped:0 overruns:0 frame:0 TX packets:8 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:560 (560.0 B) TX bytes:560 (560.0 B) |
#ifconfig
eth0 Link encap:Ethernet HWaddr 00:1b:fc:7d:bc:f0 inet addr:192.168.15.3 Bcast:192.168.15.255 Mask:255.255.255.0 inet6 addr: fe80::21b:fcff:fe7d:bcf0/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:22499 errors:0 dropped:0 overruns:0 frame:0 TX packets:14712 errors:0 dropped:0 overruns:0 carrier:2 collisions:0 txqueuelen:1000 RX bytes:24843712 (23.6 MiB) TX bytes:1135552 (1.0 MiB) eth1 Link encap:Ethernet HWaddr 00:07:e9:0c:4f:9d UP BROADCAST MULTICAST MTU:1500 Metric:1 ... collisions:0 txqueuelen:1000 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) 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:8 errors:0 dropped:0 overruns:0 frame:0 TX packets:8 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:560 (560.0 B) TX bytes:560 (560.0 B) |
#ifconfig
eth0 Link encap:Ethernet HWaddr 00:1b:fc:7d:bc:f0 inet addr:192.168.15.3 Bcast:192.168.15.255 Mask:255.255.255.0 inet6 addr: fe80::21b:fcff:fe7d:bcf0/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:22500 errors:0 dropped:0 overruns:0 frame:0 TX packets:14712 errors:0 dropped:0 overruns:0 carrier:2 collisions:0 txqueuelen:1000 RX bytes:24844054 (23.6 MiB) TX bytes:1135552 (1.0 MiB) eth1 Link encap:Ethernet HWaddr 00:07:e9:0c:4f:9d UP BROADCAST MULTICAST MTU:1500 Metric:1 ... collisions:0 txqueuelen:1000 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) 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:8 errors:0 dropped:0 overruns:0 frame:0 TX packets:8 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:560 (560.0 B) TX bytes:560 (560.0 B) |
#ifconfig
eth0 Link encap:Ethernet HWaddr 00:1b:fc:7d:bc:f0 inet addr:192.168.15.3 Bcast:192.168.15.255 Mask:255.255.255.0 inet6 addr: fe80::21b:fcff:fe7d:bcf0/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:22500 errors:0 dropped:0 overruns:0 frame:0 TX packets:14712 errors:0 dropped:0 overruns:0 carrier:2 collisions:0 txqueuelen:1000 RX bytes:24844054 (23.6 MiB) TX bytes:1135552 (1.0 MiB) eth1 Link encap:Ethernet HWaddr 00:07:e9:0c:4f:9d UP BROADCAST MULTICAST MTU:1500 Metric:1 ... collisions:0 txqueuelen:1000 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) 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:8 errors:0 dropped:0 overruns:0 frame:0 TX packets:8 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:560 (560.0 B) TX bytes:560 (560.0 B) |
#ifconfig
eth0 Link encap:Ethernet HWaddr 00:1b:fc:7d:bc:f0 inet addr:192.168.16.3 Bcast:192.168.16.255 Mask:255.255.255.0 inet6 addr: fe80::21b:fcff:fe7d:bcf0/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:22604 errors:0 dropped:0 overruns:0 frame:0 TX packets:14854 errors:0 dropped:0 overruns:0 carrier:2 collisions:0 txqueuelen:1000 RX bytes:24860941 (23.7 MiB) TX bytes:1169588 (1.1 MiB) eth1 Link encap:Ethernet HWaddr 00:07:e9:0c:4f:9d UP BROADCAST MULTICAST MTU:1500 Metric:1 ... collisions:0 txqueuelen:1000 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) 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:12 errors:0 dropped:0 overruns:0 frame:0 TX packets:12 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:877 (877.0 B) TX bytes:877 (877.0 B) |
#ifconfig
eth0 Link encap:Ethernet HWaddr 00:1b:fc:7d:bc:f0 inet addr:192.168.16.3 Bcast:192.168.16.255 Mask:255.255.255.0 inet6 addr: fe80::21b:fcff:fe7d:bcf0/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:22604 errors:0 dropped:0 overruns:0 frame:0 TX packets:14854 errors:0 dropped:0 overruns:0 carrier:2 collisions:0 txqueuelen:1000 RX bytes:24860941 (23.7 MiB) TX bytes:1169588 (1.1 MiB) eth1 Link encap:Ethernet HWaddr 00:07:e9:0c:4f:9d UP BROADCAST MULTICAST MTU:1500 Metric:1 ... collisions:0 txqueuelen:1000 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) 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:12 errors:0 dropped:0 overruns:0 frame:0 TX packets:12 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:877 (877.0 B) TX bytes:877 (877.0 B) |
#vi proba
--- /dev/null 2010-03-15 12:13:10.504049577 +0200 +++ proba 2010-03-15 15:00:04.000000000 +0200 @@ -0,0 +1 @@ +djkwkfwkfwkfkwef |
#ls - l
ls: cannot access -: No such file or directory ls: cannot access l: No such file or directory |
#ls - l
ls: cannot access -: No such file or directory ls: cannot access l: No such file or directory |
#ls -l
total 12 -rw-r--r-- 1 root root 5241 2010-03-15 14:41 install -rw-r--r-- 1 root root 17 2010-03-15 15:00 proba |
#ls -l
total 12 -rw-r--r-- 1 root root 5241 2010-03-15 14:41 install -rw-r--r-- 1 root root 17 2010-03-15 15:00 proba |
#vi proba
--- /tmp/l3-saved-5789.18642.28345 2010-03-15 15:00:15.000000000 +0200 +++ proba 2010-03-15 15:00:41.000000000 +0200 @@ -1 +1,13 @@ -djkwkfwkfwkfkwef +djkwkfw + + + + + + + + + + + +kfwkfkwef |
#ping 192.168.16.254
PING 192.168.16.254 (192.168.16.254) 56(84) bytes of data. ^C --- 192.168.16.254 ping statistics --- 2 packets transmitted, 0 received, 100% packet loss, time 1012ms |
#ping 192.168.16.254
PING 192.168.16.254 (192.168.16.254) 56(84) bytes of data. ^C --- 192.168.16.254 ping statistics --- 2 packets transmitted, 0 received, 100% packet loss, time 1012ms |
#ping 192.168.15.254
PING 192.168.15.254 (192.168.15.254) 56(84) bytes of data. ^C --- 192.168.15.254 ping statistics --- 2 packets transmitted, 0 received, 100% packet loss, time 1012ms |
#ping 192.168.15.254
PING 192.168.15.254 (192.168.15.254) 56(84) bytes of data. ^C --- 192.168.15.254 ping statistics --- 2 packets transmitted, 0 received, 100% packet loss, time 1012ms |
#route -n
Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 192.168.16.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 0.0.0.0 192.168.16.254 0.0.0.0 UG 0 0 0 eth0 |
#route -n
Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 192.168.16.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 0.0.0.0 192.168.16.254 0.0.0.0 UG 0 0 0 eth0 |
#ping 192.168.16.254
PING 192.168.16.254 (192.168.16.254) 56(84) bytes of data. From 192.168.16.3 icmp_seq=2 Destination Host Unreachable From 192.168.16.3 icmp_seq=3 Destination Host Unreachable From 192.168.16.3 icmp_seq=4 Destination Host Unreachable ^C --- 192.168.16.254 ping statistics --- 4 packets transmitted, 0 received, +3 errors, 100% packet loss, time 2999ms , pipe 3 |
#ping 192.168.16.254
PING 192.168.16.254 (192.168.16.254) 56(84) bytes of data. From 192.168.16.3 icmp_seq=2 Destination Host Unreachable From 192.168.16.3 icmp_seq=3 Destination Host Unreachable From 192.168.16.3 icmp_seq=4 Destination Host Unreachable ^C --- 192.168.16.254 ping statistics --- 4 packets transmitted, 0 received, +3 errors, 100% packet loss, time 2999ms , pipe 3 |
#ping 192.168.16.254
PING 192.168.16.254 (192.168.16.254) 56(84) bytes of data. From 192.168.16.3 icmp_seq=2 Destination Host Unreachable From 192.168.16.3 icmp_seq=3 Destination Host Unreachable From 192.168.16.3 icmp_seq=5 Destination Host Unreachable From 192.168.16.3 icmp_seq=6 Destination Host Unreachable From 192.168.16.3 icmp_seq=8 Destination Host Unreachable From 192.168.16.3 icmp_seq=9 Destination Host Unreachable From 192.168.16.3 icmp_seq=10 Destination Host Unreachable From 192.168.16.3 icmp_seq=12 Destination Host Unreachable From 192.168.16.3 icmp_seq=13 Destination Host Unreachable ... 64 bytes from 192.168.16.254: icmp_seq=113 ttl=64 time=0.592 ms 64 bytes from 192.168.16.254: icmp_seq=114 ttl=64 time=0.585 ms 64 bytes from 192.168.16.254: icmp_seq=115 ttl=64 time=0.593 ms 64 bytes from 192.168.16.254: icmp_seq=116 ttl=64 time=0.675 ms 64 bytes from 192.168.16.254: icmp_seq=117 ttl=64 time=1.05 ms 64 bytes from 192.168.16.254: icmp_seq=118 ttl=64 time=0.704 ms ^C --- 192.168.16.254 ping statistics --- 118 packets transmitted, 68 received, +33 errors, 42% packet loss, time 117089ms rtt min/avg/max/mdev = 0.567/6.060/370.112/44.476 ms, pipe 3 |
#ping 192.168.16.254
PING 192.168.16.254 (192.168.16.254) 56(84) bytes of data. From 192.168.16.3 icmp_seq=2 Destination Host Unreachable From 192.168.16.3 icmp_seq=3 Destination Host Unreachable From 192.168.16.3 icmp_seq=5 Destination Host Unreachable From 192.168.16.3 icmp_seq=6 Destination Host Unreachable From 192.168.16.3 icmp_seq=8 Destination Host Unreachable From 192.168.16.3 icmp_seq=9 Destination Host Unreachable From 192.168.16.3 icmp_seq=10 Destination Host Unreachable From 192.168.16.3 icmp_seq=12 Destination Host Unreachable From 192.168.16.3 icmp_seq=13 Destination Host Unreachable ... 64 bytes from 192.168.16.254: icmp_seq=113 ttl=64 time=0.592 ms 64 bytes from 192.168.16.254: icmp_seq=114 ttl=64 time=0.585 ms 64 bytes from 192.168.16.254: icmp_seq=115 ttl=64 time=0.593 ms 64 bytes from 192.168.16.254: icmp_seq=116 ttl=64 time=0.675 ms 64 bytes from 192.168.16.254: icmp_seq=117 ttl=64 time=1.05 ms 64 bytes from 192.168.16.254: icmp_seq=118 ttl=64 time=0.704 ms ^C --- 192.168.16.254 ping statistics --- 118 packets transmitted, 68 received, +33 errors, 42% packet loss, time 117089ms rtt min/avg/max/mdev = 0.567/6.060/370.112/44.476 ms, pipe 3 |
#fg
bash: fg: current: no such job |
#ping 195.214.195.105
PING 195.214.195.105 (195.214.195.105) 56(84) bytes of data. ^C --- 195.214.195.105 ping statistics --- 2 packets transmitted, 0 received, 100% packet loss, time 1014ms |
#ping 195.214.195.105
PING 195.214.195.105 (195.214.195.105) 56(84) bytes of data. ^C --- 195.214.195.105 ping statistics --- 2 packets transmitted, 0 received, 100% packet loss, time 1014ms |
#ping 195.214.195.105
PING 195.214.195.105 (195.214.195.105) 56(84) bytes of data. 64 bytes from 195.214.195.105: icmp_seq=41 ttl=57 time=6.81 ms 64 bytes from 195.214.195.105: icmp_seq=42 ttl=57 time=19.0 ms 64 bytes from 195.214.195.105: icmp_seq=43 ttl=57 time=9.45 ms 64 bytes from 195.214.195.105: icmp_seq=44 ttl=57 time=10.3 ms 64 bytes from 195.214.195.105: icmp_seq=45 ttl=57 time=5.03 ms 64 bytes from 195.214.195.105: icmp_seq=46 ttl=57 time=9.12 ms 64 bytes from 195.214.195.105: icmp_seq=47 ttl=57 time=11.2 ms 64 bytes from 195.214.195.105: icmp_seq=48 ttl=57 time=3.69 ms ^C --- 195.214.195.105 ping statistics --- 48 packets transmitted, 8 received, 83% packet loss, time 47041ms rtt min/avg/max/mdev = 3.690/9.344/19.071/4.421 ms |
#ping 195.214.195.105
PING 195.214.195.105 (195.214.195.105) 56(84) bytes of data. 64 bytes from 195.214.195.105: icmp_seq=41 ttl=57 time=6.81 ms 64 bytes from 195.214.195.105: icmp_seq=42 ttl=57 time=19.0 ms 64 bytes from 195.214.195.105: icmp_seq=43 ttl=57 time=9.45 ms 64 bytes from 195.214.195.105: icmp_seq=44 ttl=57 time=10.3 ms 64 bytes from 195.214.195.105: icmp_seq=45 ttl=57 time=5.03 ms 64 bytes from 195.214.195.105: icmp_seq=46 ttl=57 time=9.12 ms 64 bytes from 195.214.195.105: icmp_seq=47 ttl=57 time=11.2 ms 64 bytes from 195.214.195.105: icmp_seq=48 ttl=57 time=3.69 ms ^C --- 195.214.195.105 ping statistics --- 48 packets transmitted, 8 received, 83% packet loss, time 47041ms rtt min/avg/max/mdev = 3.690/9.344/19.071/4.421 ms |
#ping 195.214.195.105
PING 195.214.195.105 (195.214.195.105) 56(84) bytes of data. 64 bytes from 195.214.195.105: icmp_seq=1 ttl=57 time=7.68 ms 64 bytes from 195.214.195.105: icmp_seq=2 ttl=57 time=4.63 ms 64 bytes from 195.214.195.105: icmp_seq=3 ttl=57 time=7.90 ms 64 bytes from 195.214.195.105: icmp_seq=4 ttl=57 time=5.88 ms 64 bytes from 195.214.195.105: icmp_seq=5 ttl=57 time=4.90 ms ^C --- 195.214.195.105 ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4019ms rtt min/avg/max/mdev = 4.630/6.201/7.902/1.370 ms |
#ping 195.214.195.105
PING 195.214.195.105 (195.214.195.105) 56(84) bytes of data. 64 bytes from 195.214.195.105: icmp_seq=1 ttl=57 time=7.68 ms 64 bytes from 195.214.195.105: icmp_seq=2 ttl=57 time=4.63 ms 64 bytes from 195.214.195.105: icmp_seq=3 ttl=57 time=7.90 ms 64 bytes from 195.214.195.105: icmp_seq=4 ttl=57 time=5.88 ms 64 bytes from 195.214.195.105: icmp_seq=5 ttl=57 time=4.90 ms ^C --- 195.214.195.105 ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4019ms rtt min/avg/max/mdev = 4.630/6.201/7.902/1.370 ms |
#ping ya.ru
PING ya.ru (93.158.134.8) 56(84) bytes of data. 64 bytes from ya.ru (93.158.134.8): icmp_seq=1 ttl=49 time=141 ms 64 bytes from ya.ru (93.158.134.8): icmp_seq=2 ttl=49 time=67.8 ms 64 bytes from ya.ru (93.158.134.8): icmp_seq=3 ttl=49 time=65.0 ms ^C --- ya.ru ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2006ms rtt min/avg/max/mdev = 65.032/91.550/141.757/35.520 ms |
#ping ya.ru
PING ya.ru (93.158.134.8) 56(84) bytes of data. 64 bytes from ya.ru (93.158.134.8): icmp_seq=1 ttl=49 time=141 ms 64 bytes from ya.ru (93.158.134.8): icmp_seq=2 ttl=49 time=67.8 ms 64 bytes from ya.ru (93.158.134.8): icmp_seq=3 ttl=49 time=65.0 ms ^C --- ya.ru ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2006ms rtt min/avg/max/mdev = 65.032/91.550/141.757/35.520 ms |
#apt-get install dhcp3server
Reading package lists... Done Building dependency tree Reading state information... Done E: Couldn't find package dhcp3server |
#apt-get install dhcp3server
Reading package lists... Done Building dependency tree Reading state information... Done E: Couldn't find package dhcp3server |
#apt-get install audacity
Reading package lists... Done Building dependency tree Reading state information... Done The following extra packages will be installed: libflac++6 libfreebob0 libjack0 libsndfile1 libsoundtouch1c2 libwxbase2.6-0 libwxgtk2.6-0 Suggested packages: ladspa-plugin jackd The following NEW packages will be installed: audacity libflac++6 libfreebob0 libjack0 libsndfile1 libsoundtouch1c2 ... Processing triggers for menu ... Setting up libflac++6 (1.2.1-1.2) ... Setting up libfreebob0 (1.0.7-1) ... Setting up libjack0 (0.109.2-5) ... Setting up libsndfile1 (1.0.17-4+lenny2) ... Setting up libsoundtouch1c2 (1.3.1-2) ... Setting up libwxbase2.6-0 (2.6.3.2.2-3+lenny1) ... Setting up libwxgtk2.6-0 (2.6.3.2.2-3+lenny1) ... Setting up audacity (1.3.5-2+lenny1) ... Processing triggers for menu ... |
#apt-get install audacity
Reading package lists... Done Building dependency tree Reading state information... Done The following extra packages will be installed: libflac++6 libfreebob0 libjack0 libsndfile1 libsoundtouch1c2 libwxbase2.6-0 libwxgtk2.6-0 Suggested packages: ladspa-plugin jackd The following NEW packages will be installed: audacity libflac++6 libfreebob0 libjack0 libsndfile1 libsoundtouch1c2 ... Processing triggers for menu ... Setting up libflac++6 (1.2.1-1.2) ... Setting up libfreebob0 (1.0.7-1) ... Setting up libjack0 (0.109.2-5) ... Setting up libsndfile1 (1.0.17-4+lenny2) ... Setting up libsoundtouch1c2 (1.3.1-2) ... Setting up libwxbase2.6-0 (2.6.3.2.2-3+lenny1) ... Setting up libwxgtk2.6-0 (2.6.3.2.2-3+lenny1) ... Setting up audacity (1.3.5-2+lenny1) ... Processing triggers for menu ... |
#apt-get install dhcp3 server
Reading package lists... Done Building dependency tree Reading state information... Done E: Couldn't find package dhcp3 |
127.0.0.1 localhost 192.168.16.3 linux3.unix.nt linux3 # The following lines are desirable for IPv6 capable hosts ::1 localhost ip6-localhost ip6-loopback fe00::0 ip6-localnet ff00::0 ip6-mcastprefix ff02::1 ip6-allnodes ff02::2 ip6-allrouters ff02::3 ip6-allhosts
# This file describes the network interfaces available on your system # and how to activate them. For more information, see interfaces(5). # The loopback network interface auto lo iface lo inet loopback # The primary network interface allow-hotplug eth0 iface eth0 inet static address 192.168.15.3 netmask 255.255.255.0 network 192.168.15.0 broadcast 192.168.15.255 gateway 192.168.15.254 # dns-* options are implemented by the resolvconf package, if installed dns-nameservers 10.0.35.1 dns-search unix.nt
l3-agent . ~/.bashrc
# ~/.bashrc: executed by bash(1) for non-login shells. export PS1='\h:\w\$ ' umask 022 # You may uncomment the following lines if you want `ls' to be colorized: # export LS_OPTIONS='--color=auto' # eval "`dircolors`" # alias ls='ls $LS_OPTIONS' # alias ll='ls $LS_OPTIONS -l' # alias l='ls $LS_OPTIONS -lA' # # Some more alias to avoid making mistakes: # alias rm='rm -i' # alias cp='cp -i' # alias mv='mv -i' . /root/.lilalo/l3bashrc && _l3_start
Время первой команды журнала | 13:46:35 2010- 3-15 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Время последней команды журнала | 14:49:58 2010- 3-15 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Количество командных строк в журнале | 100 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Процент команд с ненулевым кодом завершения, % | 19.00 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Процент синтаксически неверно набранных команд, % | 2.00 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Суммарное время работы с терминалом *, час | 0.42 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Количество командных строк в единицу времени, команда/мин | 3.97 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Частота использования команд |
|
В журнал автоматически попадают все команды, данные в любом терминале системы.
Для того чтобы убедиться, что журнал на текущем терминале ведётся, и команды записываются, дайте команду 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