/l3/users/12-04-2010/nt-fbsdnet/fbsd3.net.nt/root :1 :2 |
|
#vim .bash_profile
--- /tmp/l3-saved-1722.24127.15676 2008-03-28 16:50:25.000000000 +0000 +++ .bash_profile 2008-03-28 16:50:36.000000000 +0000 @@ -1,2 +1,2 @@ l3-agent - +. .bashrc |
#vim .bash_profile
--- /tmp/l3-saved-1722.24127.15676 2008-03-28 16:50:25.000000000 +0000 +++ .bash_profile 2008-03-28 16:50:36.000000000 +0000 @@ -1,2 +1,2 @@ l3-agent - +. .bashrc |
#l3-a
bash: l3-a: command not found |
#l3-a
bash: l3-a: command not found |
#sh install
| x Term-VT102-0.82/ | x Term-VT102-0.82/t/ | x Term-VT102-0.82/t/04-cursor.t | x Term-VT102-0.82/t/08-options.t | x Term-VT102-0.82/t/05-scrolling.t | x Term-VT102-0.82/t/11-decscrc.t | x Term-VT102-0.82/t/10-decaln.t | x Term-VT102-0.82/t/03-text.t | x Term-VT102-0.82/t/02-setsize.t | x Term-VT102-0.82/t/01-load.t ... If you use xgu.ru backend, your labs will be available at http://xgu.ru/l3//users/Virtual/fbsd-net/fbsdvm.unix.nt Use commands $ l3cd /users/Virtual/MY-NEW-CONTEXT/fbsdvm.unix.nt/USER $ l3pwd to change and to know your current context. For further information see http://xgu.ru/lilalo/ (in Russian). Thank you gor using LiLaLo. Happy Labbing! (don't forget to restart bash or relogin) |
#sh install
| x Term-VT102-0.82/ | x Term-VT102-0.82/t/ | x Term-VT102-0.82/t/04-cursor.t | x Term-VT102-0.82/t/08-options.t | x Term-VT102-0.82/t/05-scrolling.t | x Term-VT102-0.82/t/11-decscrc.t | x Term-VT102-0.82/t/10-decaln.t | x Term-VT102-0.82/t/03-text.t | x Term-VT102-0.82/t/02-setsize.t | x Term-VT102-0.82/t/01-load.t ... If you use xgu.ru backend, your labs will be available at http://xgu.ru/l3//users/Virtual/fbsd-net/fbsdvm.unix.nt Use commands $ l3cd /users/Virtual/MY-NEW-CONTEXT/fbsdvm.unix.nt/USER $ l3pwd to change and to know your current context. For further information see http://xgu.ru/lilalo/ (in Russian). Thank you gor using LiLaLo. Happy Labbing! (don't forget to restart bash or relogin) |
#sudo chmod a+x /usr/local/bin/l3-agent
bash: sudo: ËÏÍÁÎÄÁ ÎÅ ÎÁÊÄÅÎÁ |
#chmod a+x /usr/local/bin/l3-agent
|
#chmod a+x /usr/local/bin/l3-agent
|
#su - user
Removing stale pidfile |
#su - user
Removing stale pidfile |
$ps aux
USER PID %CPU %MEM VSZ RSS TT STAT STARTED TIME COMMAND root 10 94.2 0.0 0 8 ?? RL 4:37PM 15:05.89 [idle: cpu0] root 2263 0.8 1.5 8860 7644 ?? Ss 4:52PM 0:00.56 l3-agent (perl5.8 user 2334 0.5 0.2 1348 948 p0 S+ 4:53PM 0:00.03 script -t 0 -q /h root 21 0.1 0.0 0 8 ?? WL 4:37PM 0:05.01 [irq14: ata0] root 0 0.0 0.0 0 0 ?? WLs 4:37PM 0:00.00 [swapper] root 1 0.0 0.1 768 368 ?? SLs 4:37PM 0:00.02 /sbin/init -- root 2 0.0 0.0 0 8 ?? DL 4:37PM 0:00.06 [g_event] root 3 0.0 0.0 0 8 ?? DL 4:37PM 0:04.48 [g_up] root 4 0.0 0.0 0 8 ?? DL 4:37PM 0:06.13 [g_down] ... root 1039 0.0 0.2 1352 948 v3 Is+ 4:37PM 0:00.00 /usr/libexec/gett root 1040 0.0 0.2 1352 948 v4 Is+ 4:37PM 0:00.00 /usr/libexec/gett root 1041 0.0 0.2 1352 948 v5 Is+ 4:37PM 0:00.00 /usr/libexec/gett root 1042 0.0 0.2 1352 948 v6 Is+ 4:37PM 0:00.00 /usr/libexec/gett root 1043 0.0 0.2 1352 948 v7 Is+ 4:37PM 0:00.00 /usr/libexec/gett root 294 0.0 0.2 1472 1072 con- I+ 4:37PM 0:00.01 dhclient: re0 [pr root 2300 0.0 0.4 3288 2104 p0 Ss 4:52PM 0:00.02 /usr/local/bin/ba root 2333 0.0 0.3 1804 1420 p0 S 4:53PM 0:00.01 su - user user 2377 0.0 0.4 3280 2100 p1 Ss 4:53PM 0:00.02 /usr/local/bin/ba user 2419 0.0 0.2 1480 968 p1 R+ 4:53PM 0:00.00 ps aux |
$ps aux
USER PID %CPU %MEM VSZ RSS TT STAT STARTED TIME COMMAND root 10 94.2 0.0 0 8 ?? RL 4:37PM 15:05.89 [idle: cpu0] root 2263 0.8 1.5 8860 7644 ?? Ss 4:52PM 0:00.56 l3-agent (perl5.8 user 2334 0.5 0.2 1348 948 p0 S+ 4:53PM 0:00.03 script -t 0 -q /h root 21 0.1 0.0 0 8 ?? WL 4:37PM 0:05.01 [irq14: ata0] root 0 0.0 0.0 0 0 ?? WLs 4:37PM 0:00.00 [swapper] root 1 0.0 0.1 768 368 ?? SLs 4:37PM 0:00.02 /sbin/init -- root 2 0.0 0.0 0 8 ?? DL 4:37PM 0:00.06 [g_event] root 3 0.0 0.0 0 8 ?? DL 4:37PM 0:04.48 [g_up] root 4 0.0 0.0 0 8 ?? DL 4:37PM 0:06.13 [g_down] ... root 1039 0.0 0.2 1352 948 v3 Is+ 4:37PM 0:00.00 /usr/libexec/gett root 1040 0.0 0.2 1352 948 v4 Is+ 4:37PM 0:00.00 /usr/libexec/gett root 1041 0.0 0.2 1352 948 v5 Is+ 4:37PM 0:00.00 /usr/libexec/gett root 1042 0.0 0.2 1352 948 v6 Is+ 4:37PM 0:00.00 /usr/libexec/gett root 1043 0.0 0.2 1352 948 v7 Is+ 4:37PM 0:00.00 /usr/libexec/gett root 294 0.0 0.2 1472 1072 con- I+ 4:37PM 0:00.01 dhclient: re0 [pr root 2300 0.0 0.4 3288 2104 p0 Ss 4:52PM 0:00.02 /usr/local/bin/ba root 2333 0.0 0.3 1804 1420 p0 S 4:53PM 0:00.01 su - user user 2377 0.0 0.4 3280 2100 p1 Ss 4:53PM 0:00.02 /usr/local/bin/ba user 2419 0.0 0.2 1480 968 p1 R+ 4:53PM 0:00.00 ps aux |
$vim .bash_profile
--- /tmp/l3-saved-2300.774.24712 2008-03-28 16:54:09.000000000 +0000 +++ .bash_profile 2008-03-28 16:54:14.000000000 +0000 @@ -1,2 +1,2 @@ -l3-agent -. .bashrc +#l3-agent +#. .bashrc |
$vim .bash_profile
--- /tmp/l3-saved-2300.774.24712 2008-03-28 16:54:09.000000000 +0000 +++ .bash_profile 2008-03-28 16:54:14.000000000 +0000 @@ -1,2 +1,2 @@ -l3-agent -. .bashrc +#l3-agent +#. .bashrc |
$exit
exit |
$exit
exit |
#vim .bash_profile
--- /tmp/l3-saved-2300.22526.1980 2008-03-28 16:54:18.000000000 +0000 +++ .bashrc 2008-03-28 16:54:21.000000000 +0000 @@ -1 +1 @@ -. /root/.lilalo/l3bashrc && _l3_start +#. /root/.lilalo/l3bashrc && _l3_start |
#vim .bash_profile
--- /tmp/l3-saved-2300.22526.1980 2008-03-28 16:54:18.000000000 +0000 +++ .bashrc 2008-03-28 16:54:21.000000000 +0000 @@ -1 +1 @@ -. /root/.lilalo/l3bashrc && _l3_start +#. /root/.lilalo/l3bashrc && _l3_start |
#vim .bashrc
|
#vim .bashrc
|
#ssh-keygen
Generating public/private rsa key pair. Enter file in which to save the key (/root/.ssh/id_rsa): Enter passphrase (empty for no passphrase): Enter same passphrase again: Your identification has been saved in /root/.ssh/id_rsa. Your public key has been saved in /root/.ssh/id_rsa.pub. The key fingerprint is: 9c:77:50:23:95:07:71:50:6e:69:dc:f8:d6:50:f0:64 root@fbsdvm.unix.nt |
#ssh-keygen
Generating public/private rsa key pair. Enter file in which to save the key (/root/.ssh/id_rsa): Enter passphrase (empty for no passphrase): Enter same passphrase again: Your identification has been saved in /root/.ssh/id_rsa. Your public key has been saved in /root/.ssh/id_rsa.pub. The key fingerprint is: 9c:77:50:23:95:07:71:50:6e:69:dc:f8:d6:50:f0:64 root@fbsdvm.unix.nt |
#vim .ssh/known_hosts
--- /tmp/l3-saved-861.22191.25972 2009-07-24 16:48:00.000000000 +0300 +++ .ssh/known_hosts 2009-07-24 16:48:10.000000000 +0300 @@ -1,2 +0,0 @@ -192.168.16.25 ssh-dss AAAAB3NzaC1kc3MAAACBAMvluGislt9X86siUhBLHsthHHucTGh67sbo8z92cxH+SuL/yYGnueRIXVuNq0qLOgy6eDk470OMb8Lyt2EdgEXQbRZTpAxMoYktnbC2mNL0jcR3Koq8sT7CH2HdFaqZm+1FS69UAkWDve0YtDg3DFO0Aag7YELZ4SQc4jcG1mThAAAAFQCoYSacR13zYzDRREU5pcD+aswCdQAAAIBEl6voVGHHAyf+bXzvw8ASHKyR7DaIl1qtDRylN7mkG8r01wLycJ/1BJriHGrbkz6Lu7HFSGnypIWbxMCuNRRjhcK/U3V1Bkry72Gh7kFjtpmx5P3tr/Ycc7FVDb7ky6XXGFagyGHSpCDx1qmcQ31yCqq/TcwxHj0fPUd3Q6nj2AAAAIA1JxCelBJtJDW882oQtwjeH6PMqGjLcr6bBMKJaH4mzQ6o9NtamwkEW29NckqaltB/RIHpd1ZmKDpI8WPMXUwerDv6e8FyBWkBv2L2Gz27tCehSWPmJO8uQUVake0SVgd1yMG067M7XhOuSHWDjwXzrvHxg80HC9EzJkXncFfr4A== -77.121.198.169 ssh-dss AAAAB3NzaC1kc3MAAACBAN6EKhjW0xHZY9g5SZWd6z8gLWZ6uB2P0cwAd0viifk5E70hgsW+6vFVXKnXGpsvv2SX5E23FgMXFCYIeTHxBUBmokKQzzy/egqQlqDGu9Y/Ik4Z929yiZu6cSPZOf3DTox+CyJDMJ4wwmdBNZl6lP9eFjvVzjaB8GRRXD2Ka+C9AAAAFQDM84s8+sRPwhOo+4/EBB7bh9JMpQAAAIBvWanaa+1GjQFAQIYcLyZz0e1arwylgQ7eEketNjUZxvQrcQjHvY+vmV1LHke/nXUGFz3sWy9dmgqUr+oocMbBaUGF4zo6gOfKzwnUyArYUCjBlrLXrJ1oJ6jbNsE7dr2vRSOLzGSA2uKSRXGvPSfbw14pRnHWCA9UbrX+oFyRNQAAAIEAw2xHrDyzh4MzCGXnanyStMHmITNH1S8Wz+q4gSrWyDVMocZOH5tbOdhuBJRVj1rsP6HuSsguGDpEqxcqLyLdZiGfofDVxM+9IGFIba23glHPh3Gih0aVo7t6JnDymgJ7pIGu4BeM8ZiKHOayjGcGqgZmHce6iB+jXbctPqa40Fk= |
#vim .ssh/known_hosts
--- /tmp/l3-saved-861.22191.25972 2009-07-24 16:48:00.000000000 +0300 +++ .ssh/known_hosts 2009-07-24 16:48:10.000000000 +0300 @@ -1,2 +0,0 @@ -192.168.16.25 ssh-dss AAAAB3NzaC1kc3MAAACBAMvluGislt9X86siUhBLHsthHHucTGh67sbo8z92cxH+SuL/yYGnueRIXVuNq0qLOgy6eDk470OMb8Lyt2EdgEXQbRZTpAxMoYktnbC2mNL0jcR3Koq8sT7CH2HdFaqZm+1FS69UAkWDve0YtDg3DFO0Aag7YELZ4SQc4jcG1mThAAAAFQCoYSacR13zYzDRREU5pcD+aswCdQAAAIBEl6voVGHHAyf+bXzvw8ASHKyR7DaIl1qtDRylN7mkG8r01wLycJ/1BJriHGrbkz6Lu7HFSGnypIWbxMCuNRRjhcK/U3V1Bkry72Gh7kFjtpmx5P3tr/Ycc7FVDb7ky6XXGFagyGHSpCDx1qmcQ31yCqq/TcwxHj0fPUd3Q6nj2AAAAIA1JxCelBJtJDW882oQtwjeH6PMqGjLcr6bBMKJaH4mzQ6o9NtamwkEW29NckqaltB/RIHpd1ZmKDpI8WPMXUwerDv6e8FyBWkBv2L2Gz27tCehSWPmJO8uQUVake0SVgd1yMG067M7XhOuSHWDjwXzrvHxg80HC9EzJkXncFfr4A== -77.121.198.169 ssh-dss AAAAB3NzaC1kc3MAAACBAN6EKhjW0xHZY9g5SZWd6z8gLWZ6uB2P0cwAd0viifk5E70hgsW+6vFVXKnXGpsvv2SX5E23FgMXFCYIeTHxBUBmokKQzzy/egqQlqDGu9Y/Ik4Z929yiZu6cSPZOf3DTox+CyJDMJ4wwmdBNZl6lP9eFjvVzjaB8GRRXD2Ka+C9AAAAFQDM84s8+sRPwhOo+4/EBB7bh9JMpQAAAIBvWanaa+1GjQFAQIYcLyZz0e1arwylgQ7eEketNjUZxvQrcQjHvY+vmV1LHke/nXUGFz3sWy9dmgqUr+oocMbBaUGF4zo6gOfKzwnUyArYUCjBlrLXrJ1oJ6jbNsE7dr2vRSOLzGSA2uKSRXGvPSfbw14pRnHWCA9UbrX+oFyRNQAAAIEAw2xHrDyzh4MzCGXnanyStMHmITNH1S8Wz+q4gSrWyDVMocZOH5tbOdhuBJRVj1rsP6HuSsguGDpEqxcqLyLdZiGfofDVxM+9IGFIba23glHPh3Gih0aVo7t6JnDymgJ7pIGu4BeM8ZiKHOayjGcGqgZmHce6iB+jXbctPqa40Fk= |
#ssh 192.168.16.254
Connection to 192.168.16.254 closed. |
#ssh 192.168.16.254
Connection to 192.168.16.254 closed. |
#scp .ssh/id_rsa.pub 192.168.16.254:/tmp
root@192.168.16.254's password: id_rsa.pub 100% 401 0.4KB/s 00:00 |
#scp .ssh/id_rsa.pub 192.168.16.254:/tmp
root@192.168.16.254's password: id_rsa.pub 100% 401 0.4KB/s 00:00 |
#shutdown -p now
Shutdown NOW! shutdown: [pid 945] |
#shutdown -p now
Shutdown NOW! shutdown: [pid 945] |
#shutdown -p now
Shutdown NOW! shutdown: [pid 945] |
#shutdown -p now
Shutdown NOW! shutdown: [pid 945] |
#ntpdate ntp.psn.ru
11 Apr 21:10:34 ntpdate[1086]: adjust time server 194.149.67.130 offset 0.031724 sec |
#ntpdate ntp.psn.ru
11 Apr 21:10:34 ntpdate[1086]: adjust time server 194.149.67.130 offset 0.031724 sec |
#date
×ÏÓËÒÅÓÅÎØÅ, 11 ÁÐÒÅÌÑ 2010 Ç. 21:10:37 (EEST) |
#date
×ÏÓËÒÅÓÅÎØÅ, 11 ÁÐÒÅÌÑ 2010 Ç. 21:10:37 (EEST) |
#scp 192.168.16.254:/root/X* /usr/local/lib/X11/xdm/Xsession
Xsession-to-freebsd6.3 100% 1061 1.0KB/s 00:00 |
#scp 192.168.16.254:/root/X* /usr/local/lib/X11/xdm/Xsession
Xsession-to-freebsd6.3 100% 1061 1.0KB/s 00:00 |
#route add default 192.168.94.1
add net default: gateway 192.168.94.1 |
#route
usage: route [-dnqtv] command [[modifiers] args] |
#route -i
route: illegal option -- i usage: route [-dnqtv] command [[modifiers] args] |
#ping 192.168.92.2
PING 192.168.92.2 (192.168.92.2): 56 data bytes ^C --- 192.168.92.2 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss |
#ping 192.168.93.1
PING 192.168.93.1 (192.168.93.1): 56 data bytes ^C --- 192.168.93.1 ping statistics --- 1 packets transmitted, 0 packets received, 100% packet loss |
#ping 192.168.93.1
PING 192.168.93.1 (192.168.93.1): 56 data bytes ^C --- 192.168.93.1 ping statistics --- 2 packets transmitted, 0 packets received, 100% packet loss |
#sysctl
usage: sysctl [-bdehNnoqx] name[=value] ... sysctl [-bdehNnoqx] -a |
#ping -c 1 192.168.94.1
PING 192.168.94.1 (192.168.94.1): 56 data bytes 64 bytes from 192.168.94.1: icmp_seq=0 ttl=64 time=0.958 ms --- 192.168.94.1 ping statistics --- 1 packets transmitted, 1 packets received, 0% packet loss round-trip min/avg/max/stddev = 0.958/0.958/0.958/0.000 ms |
#ping -c 1 192.168.93.2
PING 192.168.93.2 (192.168.93.2): 56 data bytes 64 bytes from 192.168.93.2: icmp_seq=0 ttl=64 time=1.045 ms --- 192.168.93.2 ping statistics --- 1 packets transmitted, 1 packets received, 0% packet loss round-trip min/avg/max/stddev = 1.045/1.045/1.045/0.000 ms |
#ping -c 1 192.168.93.1
PING 192.168.93.1 (192.168.93.1): 56 data bytes --- 192.168.93.1 ping statistics --- 1 packets transmitted, 0 packets received, 100% packet loss |
#ping -c 1 192.168.93.1
PING 192.168.93.1 (192.168.93.1): 56 data bytes --- 192.168.93.1 ping statistics --- 1 packets transmitted, 0 packets received, 100% packet loss õ ×ÁÓ ÅÓÔØ ÎÏ×ÁÑ ÐÏÞÔÁ × /var/mail/root |
#ping -192.168.93.1
ping: illegal option -- 1 usage: ping [-AaDdfnoQqRrv] [-c count] [-G sweepmaxsize] [-g sweepminsize] [-h sweepincrsize] [-i wait] [-l preload] [-M mask | time] [-m ttl] [-P policy] [-p pattern] [-S src_addr] [-s packetsize] [-t timeout] [-W waittime] [-z tos] host ping [-AaDdfLnoQqRrv] [-c count] [-I iface] [-i wait] [-l preload] [-M mask | time] [-m ttl] [-P policy] [-p pattern] [-S src_addr] [-s packetsize] [-T ttl] [-t timeout] [-W waittime] [-z tos] mcast-group |
#ping 192.168.93.1
PING 192.168.93.1 (192.168.93.1): 56 data bytes 64 bytes from 192.168.93.1: icmp_seq=100 ttl=63 time=1.275 ms 64 bytes from 192.168.93.1: icmp_seq=101 ttl=63 time=1.269 ms 64 bytes from 192.168.93.1: icmp_seq=102 ttl=63 time=1.157 ms 64 bytes from 192.168.93.1: icmp_seq=103 ttl=63 time=1.316 ms 64 bytes from 192.168.93.1: icmp_seq=104 ttl=63 time=1.248 ms 64 bytes from 192.168.93.1: icmp_seq=105 ttl=63 time=1.168 ms 64 bytes from 192.168.93.1: icmp_seq=106 ttl=63 time=1.254 ms 64 bytes from 192.168.93.1: icmp_seq=107 ttl=63 time=1.396 ms 64 bytes from 192.168.93.1: icmp_seq=108 ttl=63 time=1.186 ms ... 64 bytes from 192.168.93.1: icmp_seq=126 ttl=63 time=1.622 ms 64 bytes from 192.168.93.1: icmp_seq=127 ttl=63 time=1.202 ms 64 bytes from 192.168.93.1: icmp_seq=128 ttl=63 time=1.168 ms 64 bytes from 192.168.93.1: icmp_seq=129 ttl=63 time=1.319 ms 64 bytes from 192.168.93.1: icmp_seq=130 ttl=63 time=1.286 ms 64 bytes from 192.168.93.1: icmp_seq=131 ttl=63 time=1.162 ms ^C --- 192.168.93.1 ping statistics --- 132 packets transmitted, 32 packets received, 75% packet loss round-trip min/avg/max/stddev = 1.144/1.256/1.622/0.123 ms |
#ping -h
ping: option requires an argument -- h usage: ping [-AaDdfnoQqRrv] [-c count] [-G sweepmaxsize] [-g sweepminsize] [-h sweepincrsize] [-i wait] [-l preload] [-M mask | time] [-m ttl] [-P policy] [-p pattern] [-S src_addr] [-s packetsize] [-t timeout] [-W waittime] [-z tos] host ping [-AaDdfLnoQqRrv] [-c count] [-I iface] [-i wait] [-l preload] [-M mask | time] [-m ttl] [-P policy] [-p pattern] [-S src_addr] [-s packetsize] [-T ttl] [-t timeout] [-W waittime] [-z tos] mcast-group õ ×ÁÓ ÅÓÔØ ÎÏ×ÁÑ ÐÏÞÔÁ × /var/mail/root |
#sysctl net.ipv4.ip_forwarding=1
sysctl: unknown oid 'net.ipv4.ip_forwarding' |
#sysctl net.ip.forwarding=1
sysctl: unknown oid 'net.ip.forwarding' |
#sysctl net.inetorwarding=1
net.inet.ip.forwarding: 0 -> 1 |
#ping 192.168.93.1
PING 192.168.93.1 (192.168.93.1): 56 data bytes 64 bytes from 192.168.93.1: icmp_seq=0 ttl=63 time=1.436 ms 64 bytes from 192.168.93.1: icmp_seq=1 ttl=63 time=1.185 ms ^C --- 192.168.93.1 ping statistics --- 2 packets transmitted, 2 packets received, 0% packet loss round-trip min/avg/max/stddev = 1.185/1.310/1.436/0.125 ms |
#ping 192.168.92.2
PING 192.168.92.2 (192.168.92.2): 56 data bytes 64 bytes from 192.168.92.2: icmp_seq=0 ttl=63 time=1.436 ms 64 bytes from 192.168.92.2: icmp_seq=1 ttl=63 time=1.274 ms ^C --- 192.168.92.2 ping statistics --- 2 packets transmitted, 2 packets received, 0% packet loss round-trip min/avg/max/stddev = 1.274/1.355/1.436/0.081 ms |
#ping 192.168.92.1
PING 192.168.92.1 (192.168.92.1): 56 data bytes ^C --- 192.168.92.1 ping statistics --- 4 packets transmitted, 0 packets received, 100% packet loss |
#ping 192.168.92.1
PING 192.168.92.1 (192.168.92.1): 56 data bytes ^C --- 192.168.92.1 ping statistics --- 8 packets transmitted, 0 packets received, 100% packet loss |
#ping 192.168.16.1 -I re2
usage: ping [-AaDdfnoQqRrv] [-c count] [-G sweepmaxsize] [-g sweepminsize] [-h sweepincrsize] [-i wait] [-l preload] [-M mask | time] [-m ttl] [-P policy] [-p pattern] [-S src_addr] [-s packetsize] [-t timeout] [-W waittime] [-z tos] host ping [-AaDdfLnoQqRrv] [-c count] [-I iface] [-i wait] [-l preload] [-M mask | time] [-m ttl] [-P policy] [-p pattern] [-S src_addr] [-s packetsize] [-T ttl] [-t timeout] [-W waittime] [-z tos] mcast-group |
#ping -I re28.16.1
ping: invalid multicast interface: `re2' |
#ifconfig
re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> inet 192.168.16.23 netmask 0xffffff00 broadcast 192.168.16.255 ether 00:16:4e:00:00:03 media: Ethernet autoselect (100baseTX <full-duplex>) status: active re1: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> ether 00:16:4e:00:01:03 media: Ethernet autoselect (100baseTX <full-duplex>) ... options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> inet 192.168.94.2 netmask 0xffffff00 broadcast 192.168.94.255 ether 00:16:4e:00:02:03 media: Ethernet autoselect (100baseTX <full-duplex>) status: active plip0: flags=108810<POINTOPOINT,SIMPLEX,MULTICAST,NEEDSGIANT> mtu 1500 lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5 inet6 ::1 prefixlen 128 inet 127.0.0.1 netmask 0xff000000 |
#ping 192.168.90.1
PING 192.168.90.1 (192.168.90.1): 56 data bytes 64 bytes from 192.168.90.1: icmp_seq=0 ttl=60 time=2.948 ms 64 bytes from 192.168.90.1: icmp_seq=1 ttl=60 time=2.236 ms 64 bytes from 192.168.90.1: icmp_seq=2 ttl=60 time=2.283 ms 64 bytes from 192.168.90.1: icmp_seq=3 ttl=60 time=2.209 ms 64 bytes from 192.168.90.1: icmp_seq=4 ttl=60 time=2.442 ms ^C --- 192.168.90.1 ping statistics --- 5 packets transmitted, 5 packets received, 0% packet loss round-trip min/avg/max/stddev = 2.209/2.424/2.948/0.274 ms |
#man ping
|
#ping -S 192.168.94.2
PING 192.168.16.1 (192.168.16.1) from 192.168.94.2: 56 data bytes 64 bytes from 192.168.16.1: icmp_seq=0 ttl=60 time=2.549 ms 64 bytes from 192.168.16.1: icmp_seq=1 ttl=60 time=1.242 ms 64 bytes from 192.168.16.1: icmp_seq=2 ttl=60 time=1.353 ms 64 bytes from 192.168.16.1: icmp_seq=3 ttl=60 time=1.130 ms 64 bytes from 192.168.16.1: icmp_seq=4 ttl=60 time=1.370 ms 64 bytes from 192.168.16.1: icmp_seq=5 ttl=60 time=1.386 ms 64 bytes from 192.168.16.1: icmp_seq=6 ttl=60 time=1.271 ms 64 bytes from 192.168.16.1: icmp_seq=7 ttl=60 time=1.224 ms 64 bytes from 192.168.16.1: icmp_seq=8 ttl=60 time=1.181 ms ... 64 bytes from 192.168.16.1: icmp_seq=73 ttl=60 time=1.182 ms 64 bytes from 192.168.16.1: icmp_seq=74 ttl=60 time=1.185 ms 64 bytes from 192.168.16.1: icmp_seq=75 ttl=60 time=1.475 ms 64 bytes from 192.168.16.1: icmp_seq=76 ttl=60 time=1.338 ms 64 bytes from 192.168.16.1: icmp_seq=77 ttl=60 time=1.188 ms 64 bytes from 192.168.16.1: icmp_seq=78 ttl=60 time=1.292 ms ^C --- 192.168.16.1 ping statistics --- 79 packets transmitted, 79 packets received, 0% packet loss round-trip min/avg/max/stddev = 1.095/1.478/2.965/0.360 ms |
#ping ya.ru
PING ya.ru (77.88.21.8): 56 data bytes ^C --- ya.ru ping statistics --- 101 packets transmitted, 0 packets received, 100% packet loss |
#ping ya.ru
PING ya.ru (213.180.204.8): 56 data bytes ^C --- ya.ru ping statistics --- 60 packets transmitted, 0 packets received, 100% packet loss |
#ping ya.ru
PING ya.ru (93.158.134.8): 56 data bytes ^C --- ya.ru ping statistics --- 60 packets transmitted, 0 packets received, 100% packet loss |
#traceroute -n ya.ru
traceroute: Warning: ya.ru has multiple addresses; using 77.88.21.8 traceroute to ya.ru (77.88.21.8), 64 hops max, 40 byte packets 1 192.168.93.2 2.004 ms 1.738 ms 1.956 ms 2 192.168.92.2 2.038 ms 2.233 ms 2.384 ms 3 * * * ^C |
#ping 192.168.92.1
PING 192.168.92.1 (192.168.92.1): 56 data bytes ^C --- 192.168.92.1 ping statistics --- 15 packets transmitted, 0 packets received, 100% packet loss |
#ping ya.ru
PING ya.ru (213.180.204.8): 56 data bytes ^C --- ya.ru ping statistics --- 64 packets transmitted, 0 packets received, 100% packet loss |
#ping ya.ru
PING ya.ru (213.180.204.8): 56 data bytes ^V^C --- ya.ru ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss õ ×ÁÓ ÅÓÔØ ÎÏ×ÁÑ ÐÏÞÔÁ × /var/mail/root |
#ping ya.ru
PING ya.ru (213.180.204.8): 56 data bytes ^C --- ya.ru ping statistics --- 12 packets transmitted, 0 packets received, 100% packet loss |
#ping ya.ru
PING ya.ru (93.158.134.8): 56 data bytes 64 bytes from 93.158.134.8: icmp_seq=0 ttl=44 time=63.382 ms 64 bytes from 93.158.134.8: icmp_seq=1 ttl=44 time=62.036 ms 64 bytes from 93.158.134.8: icmp_seq=2 ttl=44 time=57.241 ms ^C --- ya.ru ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max/stddev = 57.241/60.886/63.382/2.636 ms |
#ping ya.ru
PING ya.ru (77.88.21.8): 56 data bytes 64 bytes from 77.88.21.8: icmp_seq=0 ttl=46 time=57.613 ms 64 bytes from 77.88.21.8: icmp_seq=1 ttl=46 time=55.497 ms 64 bytes from 77.88.21.8: icmp_seq=2 ttl=46 time=57.342 ms ^C --- ya.ru ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max/stddev = 55.497/56.817/57.613/0.940 ms |
#ping ya.ru
64 bytes from 213.180.204.8: icmp_seq=23 ttl=45 time=53.762 ms 64 bytes from 213.180.204.8: icmp_seq=24 ttl=45 time=51.579 ms 64 bytes from 213.180.204.8: icmp_seq=25 ttl=45 time=52.765 ms 64 bytes from 213.180.204.8: icmp_seq=26 ttl=45 time=53.768 ms 64 bytes from 213.180.204.8: icmp_seq=27 ttl=45 time=54.490 ms 64 bytes from 213.180.204.8: icmp_seq=28 ttl=45 time=51.126 ms 64 bytes from 213.180.204.8: icmp_seq=29 ttl=45 time=51.427 ms 64 bytes from 213.180.204.8: icmp_seq=30 ttl=45 time=52.236 ms 64 bytes from 213.180.204.8: icmp_seq=31 ttl=45 time=53.546 ms 64 bytes from 213.180.204.8: icmp_seq=32 ttl=45 time=51.874 ms ... 64 bytes from 213.180.204.8: icmp_seq=138 ttl=45 time=51.414 ms 64 bytes from 213.180.204.8: icmp_seq=139 ttl=45 time=55.851 ms 64 bytes from 213.180.204.8: icmp_seq=140 ttl=45 time=52.579 ms 64 bytes from 213.180.204.8: icmp_seq=141 ttl=45 time=52.728 ms 64 bytes from 213.180.204.8: icmp_seq=142 ttl=45 time=54.539 ms ^C --- ya.ru ping statistics --- 143 packets transmitted, 98 packets received, 31% packet loss round-trip min/avg/max/stddev = 50.557/53.444/67.905/2.589 ms õ ×ÁÓ ÅÓÔØ ÎÏ×ÁÑ ÐÏÞÔÁ × /var/mail/root |
#ping ya.ru
64 bytes from 213.180.204.8: icmp_seq=23 ttl=45 time=53.762 ms 64 bytes from 213.180.204.8: icmp_seq=24 ttl=45 time=51.579 ms 64 bytes from 213.180.204.8: icmp_seq=25 ttl=45 time=52.765 ms 64 bytes from 213.180.204.8: icmp_seq=26 ttl=45 time=53.768 ms 64 bytes from 213.180.204.8: icmp_seq=27 ttl=45 time=54.490 ms 64 bytes from 213.180.204.8: icmp_seq=28 ttl=45 time=51.126 ms 64 bytes from 213.180.204.8: icmp_seq=29 ttl=45 time=51.427 ms 64 bytes from 213.180.204.8: icmp_seq=30 ttl=45 time=52.236 ms 64 bytes from 213.180.204.8: icmp_seq=31 ttl=45 time=53.546 ms 64 bytes from 213.180.204.8: icmp_seq=32 ttl=45 time=51.874 ms ... 64 bytes from 213.180.204.8: icmp_seq=138 ttl=45 time=51.414 ms 64 bytes from 213.180.204.8: icmp_seq=139 ttl=45 time=55.851 ms 64 bytes from 213.180.204.8: icmp_seq=140 ttl=45 time=52.579 ms 64 bytes from 213.180.204.8: icmp_seq=141 ttl=45 time=52.728 ms 64 bytes from 213.180.204.8: icmp_seq=142 ttl=45 time=54.539 ms ^C --- ya.ru ping statistics --- 143 packets transmitted, 98 packets received, 31% packet loss round-trip min/avg/max/stddev = 50.557/53.444/67.905/2.589 ms õ ×ÁÓ ÅÓÔØ ÎÏ×ÁÑ ÐÏÞÔÁ × /var/mail/root |
#ping ya.ru
64 bytes from 213.180.204.8: icmp_seq=23 ttl=45 time=53.762 ms 64 bytes from 213.180.204.8: icmp_seq=24 ttl=45 time=51.579 ms 64 bytes from 213.180.204.8: icmp_seq=25 ttl=45 time=52.765 ms 64 bytes from 213.180.204.8: icmp_seq=26 ttl=45 time=53.768 ms 64 bytes from 213.180.204.8: icmp_seq=27 ttl=45 time=54.490 ms 64 bytes from 213.180.204.8: icmp_seq=28 ttl=45 time=51.126 ms 64 bytes from 213.180.204.8: icmp_seq=29 ttl=45 time=51.427 ms 64 bytes from 213.180.204.8: icmp_seq=30 ttl=45 time=52.236 ms 64 bytes from 213.180.204.8: icmp_seq=31 ttl=45 time=53.546 ms 64 bytes from 213.180.204.8: icmp_seq=32 ttl=45 time=51.874 ms ... 64 bytes from 213.180.204.8: icmp_seq=138 ttl=45 time=51.414 ms 64 bytes from 213.180.204.8: icmp_seq=139 ttl=45 time=55.851 ms 64 bytes from 213.180.204.8: icmp_seq=140 ttl=45 time=52.579 ms 64 bytes from 213.180.204.8: icmp_seq=141 ttl=45 time=52.728 ms 64 bytes from 213.180.204.8: icmp_seq=142 ttl=45 time=54.539 ms ^C --- ya.ru ping statistics --- 143 packets transmitted, 98 packets received, 31% packet loss round-trip min/avg/max/stddev = 50.557/53.444/67.905/2.589 ms õ ×ÁÓ ÅÓÔØ ÎÏ×ÁÑ ÐÏÞÔÁ × /var/mail/root |
#ping ya.ru
64 bytes from 93.158.134.8: icmp_seq=538 ttl=44 time=57.369 ms 64 bytes from 93.158.134.8: icmp_seq=539 ttl=44 time=61.881 ms 64 bytes from 93.158.134.8: icmp_seq=540 ttl=44 time=64.382 ms 64 bytes from 93.158.134.8: icmp_seq=541 ttl=44 time=57.713 ms 64 bytes from 93.158.134.8: icmp_seq=542 ttl=44 time=56.001 ms 64 bytes from 93.158.134.8: icmp_seq=543 ttl=44 time=57.955 ms 64 bytes from 93.158.134.8: icmp_seq=544 ttl=44 time=56.015 ms 64 bytes from 93.158.134.8: icmp_seq=545 ttl=44 time=56.171 ms 64 bytes from 93.158.134.8: icmp_seq=546 ttl=44 time=55.113 ms 64 bytes from 93.158.134.8: icmp_seq=593 ttl=44 time=322.091 ms ... 64 bytes from 93.158.134.8: icmp_seq=647 ttl=44 time=59.157 ms 64 bytes from 93.158.134.8: icmp_seq=648 ttl=44 time=56.302 ms 64 bytes from 93.158.134.8: icmp_seq=649 ttl=44 time=58.967 ms 64 bytes from 93.158.134.8: icmp_seq=650 ttl=44 time=57.441 ms 64 bytes from 93.158.134.8: icmp_seq=651 ttl=44 time=56.455 ms ^C --- ya.ru ping statistics --- 652 packets transmitted, 606 packets received, 7% packet loss round-trip min/avg/max/stddev = 54.659/59.105/322.091/15.328 ms õ ×ÁÓ ÅÓÔØ ÎÏ×ÁÑ ÐÏÞÔÁ × /var/mail/root |
#ping ya.ru
64 bytes from 93.158.134.8: icmp_seq=538 ttl=44 time=57.369 ms 64 bytes from 93.158.134.8: icmp_seq=539 ttl=44 time=61.881 ms 64 bytes from 93.158.134.8: icmp_seq=540 ttl=44 time=64.382 ms 64 bytes from 93.158.134.8: icmp_seq=541 ttl=44 time=57.713 ms 64 bytes from 93.158.134.8: icmp_seq=542 ttl=44 time=56.001 ms 64 bytes from 93.158.134.8: icmp_seq=543 ttl=44 time=57.955 ms 64 bytes from 93.158.134.8: icmp_seq=544 ttl=44 time=56.015 ms 64 bytes from 93.158.134.8: icmp_seq=545 ttl=44 time=56.171 ms 64 bytes from 93.158.134.8: icmp_seq=546 ttl=44 time=55.113 ms 64 bytes from 93.158.134.8: icmp_seq=593 ttl=44 time=322.091 ms ... 64 bytes from 93.158.134.8: icmp_seq=647 ttl=44 time=59.157 ms 64 bytes from 93.158.134.8: icmp_seq=648 ttl=44 time=56.302 ms 64 bytes from 93.158.134.8: icmp_seq=649 ttl=44 time=58.967 ms 64 bytes from 93.158.134.8: icmp_seq=650 ttl=44 time=57.441 ms 64 bytes from 93.158.134.8: icmp_seq=651 ttl=44 time=56.455 ms ^C --- ya.ru ping statistics --- 652 packets transmitted, 606 packets received, 7% packet loss round-trip min/avg/max/stddev = 54.659/59.105/322.091/15.328 ms õ ×ÁÓ ÅÓÔØ ÎÏ×ÁÑ ÐÏÞÔÁ × /var/mail/root |
#ping ya.ru
PING ya.ru (93.158.134.8): 56 data bytes 64 bytes from 93.158.134.8: icmp_seq=0 ttl=44 time=57.508 ms 64 bytes from 93.158.134.8: icmp_seq=1 ttl=44 time=58.114 ms ^C --- ya.ru ping statistics --- 2 packets transmitted, 2 packets received, 0% packet loss round-trip min/avg/max/stddev = 57.508/57.811/58.114/0.303 ms õ ×ÁÓ ÅÓÔØ ÎÏ×ÁÑ ÐÏÞÔÁ × /var/mail/root |
#ping ya.ru
PING ya.ru (93.158.134.8): 56 data bytes 64 bytes from 93.158.134.8: icmp_seq=0 ttl=44 time=57.508 ms 64 bytes from 93.158.134.8: icmp_seq=1 ttl=44 time=58.114 ms ^C --- ya.ru ping statistics --- 2 packets transmitted, 2 packets received, 0% packet loss round-trip min/avg/max/stddev = 57.508/57.811/58.114/0.303 ms õ ×ÁÓ ÅÓÔØ ÎÏ×ÁÑ ÐÏÞÔÁ × /var/mail/root |
#ping ya.ru
PING ya.ru (93.158.134.8): 56 data bytes 64 bytes from 93.158.134.8: icmp_seq=0 ttl=44 time=57.508 ms 64 bytes from 93.158.134.8: icmp_seq=1 ttl=44 time=58.114 ms ^C --- ya.ru ping statistics --- 2 packets transmitted, 2 packets received, 0% packet loss round-trip min/avg/max/stddev = 57.508/57.811/58.114/0.303 ms õ ×ÁÓ ÅÓÔØ ÎÏ×ÁÑ ÐÏÞÔÁ × /var/mail/root |
#ping ya.ru
PING ya.ru (77.88.21.8): 56 data bytes 64 bytes from 77.88.21.8: icmp_seq=0 ttl=46 time=56.799 ms 64 bytes from 77.88.21.8: icmp_seq=1 ttl=46 time=58.369 ms 64 bytes from 77.88.21.8: icmp_seq=2 ttl=46 time=56.025 ms \ ^C --- ya.ru ping statistics --- 30 packets transmitted, 3 packets received, 90% packet loss round-trip min/avg/max/stddev = 56.025/57.064/58.369/0.975 ms |
#ping ya.ru
PING ya.ru (77.88.21.8): 56 data bytes 64 bytes from 77.88.21.8: icmp_seq=0 ttl=46 time=56.799 ms 64 bytes from 77.88.21.8: icmp_seq=1 ttl=46 time=58.369 ms 64 bytes from 77.88.21.8: icmp_seq=2 ttl=46 time=56.025 ms \ ^C --- ya.ru ping statistics --- 30 packets transmitted, 3 packets received, 90% packet loss round-trip min/avg/max/stddev = 56.025/57.064/58.369/0.975 ms |
#ping ya.ru
PING ya.ru (77.88.21.8): 56 data bytes 64 bytes from 77.88.21.8: icmp_seq=0 ttl=46 time=56.799 ms 64 bytes from 77.88.21.8: icmp_seq=1 ttl=46 time=58.369 ms 64 bytes from 77.88.21.8: icmp_seq=2 ttl=46 time=56.025 ms \ ^C --- ya.ru ping statistics --- 30 packets transmitted, 3 packets received, 90% packet loss round-trip min/avg/max/stddev = 56.025/57.064/58.369/0.975 ms |
#ping ya.ru
PING ya.ru (77.88.21.8): 56 data bytes 64 bytes from 77.88.21.8: icmp_seq=0 ttl=46 time=56.799 ms 64 bytes from 77.88.21.8: icmp_seq=1 ttl=46 time=58.369 ms 64 bytes from 77.88.21.8: icmp_seq=2 ttl=46 time=56.025 ms \ ^C --- ya.ru ping statistics --- 30 packets transmitted, 3 packets received, 90% packet loss round-trip min/avg/max/stddev = 56.025/57.064/58.369/0.975 ms |
#ping ya.ru
PING ya.ru (213.180.204.8): 56 data bytes ^C --- ya.ru ping statistics --- 6 packets transmitted, 0 packets received, 100% packet loss |
#ping ya.ru
PING ya.ru (213.180.204.8): 56 data bytes ^C --- ya.ru ping statistics --- 6 packets transmitted, 0 packets received, 100% packet loss |
#ping ya.ru
PING ya.ru (213.180.204.8): 56 data bytes ^C --- ya.ru ping statistics --- 6 packets transmitted, 0 packets received, 100% packet loss |
#ping ya.ru
PING ya.ru (213.180.204.8): 56 data bytes ^C --- ya.ru ping statistics --- 6 packets transmitted, 0 packets received, 100% packet loss |
#ping ya.ru
PING ya.ru (77.88.21.8): 56 data bytes 36 bytes from 192.168.94.1: Destination Host Unreachable Vr HL TOS Len ID Flg off TTL Pro cks Src Dst 4 5 00 5400 89de 0 0000 40 01 6fc0 192.168.94.2 77.88.21.8 36 bytes from 192.168.94.1: Destination Host Unreachable Vr HL TOS Len ID Flg off TTL Pro cks Src Dst 4 5 00 5400 89e4 0 0000 40 01 6fba 192.168.94.2 77.88.21.8 36 bytes from 192.168.94.1: Destination Host Unreachable Vr HL TOS Len ID Flg off TTL Pro cks Src Dst 4 5 00 5400 89e9 0 0000 40 01 6fb5 192.168.94.2 77.88.21.8 ... 4 5 00 5400 89ff 0 0000 40 01 6f9f 192.168.94.2 77.88.21.8 36 bytes from 192.168.94.1: Destination Host Unreachable Vr HL TOS Len ID Flg off TTL Pro cks Src Dst 4 5 00 5400 8a04 0 0000 40 01 6f9a 192.168.94.2 77.88.21.8 36 bytes from 192.168.94.1: Destination Host Unreachable Vr HL TOS Len ID Flg off TTL Pro cks Src Dst 4 5 00 5400 8a09 0 0000 40 01 6f95 192.168.94.2 77.88.21.8 ^C --- ya.ru ping statistics --- 9 packets transmitted, 0 packets received, 100% packet loss |
Время первой команды журнала | 17:50:01 2008- 3-28 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Время последней команды журнала | 13:32:02 2010- 4-13 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Количество командных строк в журнале | 100 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Процент команд с ненулевым кодом завершения, % | 29.00 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Процент синтаксически неверно набранных команд, % | 4.00 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Суммарное время работы с терминалом *, час | 1.84 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Количество командных строк в единицу времени, команда/мин | 0.91 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Частота использования команд |
|
В журнал автоматически попадают все команды, данные в любом терминале системы.
Для того чтобы убедиться, что журнал на текущем терминале ведётся, и команды записываются, дайте команду 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