/l3/users/11-08-2008/fbsd-net/fbsd1.unix.nt/root :1 :2 :3 :4 :5 :6 :7 :8 :9 :10 :11 :12 :13 :14 :15 :16 :17 :18 :19 :20 :21 :22 :23 :24 :25 :26 :27 :28 :29 :30 :31 :32 |
|
#vim /etc/sysctl.conf
|
#vim /etc/sysctl.conf
|
#vim /etc/sysctl.conf
|
#vim /etc/sysctl.conf
|
#sysctl -a | grep forward
kern.smp.forward_signal_enabled: 1 kern.smp.forward_roundrobin_enabled: 1 net.inet.ip.forwarding: 0 net.inet.ip.fastforwarding: 0 net.inet6.ip6.forwarding: 0 |
#sysctl -a | grep forward
kern.smp.forward_signal_enabled: 1 kern.smp.forward_roundrobin_enabled: 1 net.inet.ip.forwarding: 0 net.inet.ip.fastforwarding: 0 net.inet6.ip6.forwarding: 0 |
#sysctl -a | grep forward
kern.smp.forward_signal_enabled: 1 kern.smp.forward_roundrobin_enabled: 1 net.inet.ip.forwarding: 0 net.inet.ip.fastforwarding: 0 net.inet6.ip6.forwarding: 0 |
#sysctl -a | grep forward
kern.smp.forward_signal_enabled: 1 kern.smp.forward_roundrobin_enabled: 1 net.inet.ip.forwarding: 0 net.inet.ip.fastforwarding: 0 net.inet6.ip6.forwarding: 0 |
#sysctl -a | grep forward
kern.smp.forward_signal_enabled: 1 kern.smp.forward_roundrobin_enabled: 1 net.inet.ip.forwarding: 0 net.inet.ip.fastforwarding: 0 net.inet6.ip6.forwarding: 0 |
#vim /etc/rc.conf
--- /tmp/l3-saved-24998.29682.9750 2008-08-11 12:29:40.000000000 +0000 +++ /etc/rc.conf 2008-08-11 12:30:13.000000000 +0000 @@ -8,6 +8,7 @@ ifconfig_giga_alias0="inet 192.168.44.3 netmask 255.255.255.0" defaultrouter="192.168.16.254" keymap="ru.koi8-r" +gateway_enable=1 keyrate="normal" local_startup="/usr/local/etc/rc.d" mousechar_start="3" |
#vim /etc/rc.conf
--- /tmp/l3-saved-24998.29682.9750 2008-08-11 12:29:40.000000000 +0000 +++ /etc/rc.conf 2008-08-11 12:30:13.000000000 +0000 @@ -8,6 +8,7 @@ ifconfig_giga_alias0="inet 192.168.44.3 netmask 255.255.255.0" defaultrouter="192.168.16.254" keymap="ru.koi8-r" +gateway_enable=1 keyrate="normal" local_startup="/usr/local/etc/rc.d" mousechar_start="3" |
#vim /etc/rc.conf
--- /tmp/l3-saved-24998.29682.9750 2008-08-11 12:29:40.000000000 +0000 +++ /etc/rc.conf 2008-08-11 12:30:13.000000000 +0000 @@ -8,6 +8,7 @@ ifconfig_giga_alias0="inet 192.168.44.3 netmask 255.255.255.0" defaultrouter="192.168.16.254" keymap="ru.koi8-r" +gateway_enable=1 keyrate="normal" local_startup="/usr/local/etc/rc.d" mousechar_start="3" |
#vim /etc/rc.conf
--- /tmp/l3-saved-24998.29682.9750 2008-08-11 12:29:40.000000000 +0000 +++ /etc/rc.conf 2008-08-11 12:30:13.000000000 +0000 @@ -8,6 +8,7 @@ ifconfig_giga_alias0="inet 192.168.44.3 netmask 255.255.255.0" defaultrouter="192.168.16.254" keymap="ru.koi8-r" +gateway_enable=1 keyrate="normal" local_startup="/usr/local/etc/rc.d" mousechar_start="3" |
#vim /etc/rc.conf
--- /tmp/l3-saved-24998.29682.9750 2008-08-11 12:29:40.000000000 +0000 +++ /etc/rc.conf 2008-08-11 12:30:13.000000000 +0000 @@ -8,6 +8,7 @@ ifconfig_giga_alias0="inet 192.168.44.3 netmask 255.255.255.0" defaultrouter="192.168.16.254" keymap="ru.koi8-r" +gateway_enable=1 keyrate="normal" local_startup="/usr/local/etc/rc.d" mousechar_start="3" |
#grep route /etc/defaults/rc.conf
removable_route_flush="NO" # Flush routes when removing an interface #gif_interfaces="gif0 gif1" # Examples typically for a router. #gifconfig_gif0="10.1.1.1 10.1.2.1" # Examples typically for a router. #gifconfig_gif1="10.1.1.2 10.1.2.2" # Examples typically for a router. defaultrouter="NO" # Set to default gateway (or NO). static_routes="" # Set to static route list (or leave empty). natm_static_routes="" # Set to static route list for NATM (or leave empty). router_enable="NO" # Set to YES to enable a routing daemon. router="/sbin/routed" # Name of routing daemon to use if enabled. router_flags="-q" # Flags for routing daemon. ... #ipv6_router_flags="-q" # If you want to run a routing daemon on an end #ipv6_network_interfaces="ed0 ep0" # Examples for router rtsol_flags="" # Flags to IPv6 router solicitation. rtadvd_enable="NO" # Set to YES to enable an IPv6 router # this router becomes a possible candidate # IPv6 default router for local subnets. mroute6d_enable="NO" # Do IPv6 multicast routing. mroute6d_program="/usr/local/sbin/pim6dd" # Name of IPv6 multicast mroute6d_flags="" # Flags to IPv6 multicast routing daemon. jail_socket_unixiproute_only="YES" # Route only TCP/IP within a jail |
#grep route /etc/defaults/rc.conf
removable_route_flush="NO" # Flush routes when removing an interface #gif_interfaces="gif0 gif1" # Examples typically for a router. #gifconfig_gif0="10.1.1.1 10.1.2.1" # Examples typically for a router. #gifconfig_gif1="10.1.1.2 10.1.2.2" # Examples typically for a router. defaultrouter="NO" # Set to default gateway (or NO). static_routes="" # Set to static route list (or leave empty). natm_static_routes="" # Set to static route list for NATM (or leave empty). router_enable="NO" # Set to YES to enable a routing daemon. router="/sbin/routed" # Name of routing daemon to use if enabled. router_flags="-q" # Flags for routing daemon. ... #ipv6_router_flags="-q" # If you want to run a routing daemon on an end #ipv6_network_interfaces="ed0 ep0" # Examples for router rtsol_flags="" # Flags to IPv6 router solicitation. rtadvd_enable="NO" # Set to YES to enable an IPv6 router # this router becomes a possible candidate # IPv6 default router for local subnets. mroute6d_enable="NO" # Do IPv6 multicast routing. mroute6d_program="/usr/local/sbin/pim6dd" # Name of IPv6 multicast mroute6d_flags="" # Flags to IPv6 multicast routing daemon. jail_socket_unixiproute_only="YES" # Route only TCP/IP within a jail |
#grep route /etc/defaults/rc.conf
removable_route_flush="NO" # Flush routes when removing an interface #gif_interfaces="gif0 gif1" # Examples typically for a router. #gifconfig_gif0="10.1.1.1 10.1.2.1" # Examples typically for a router. #gifconfig_gif1="10.1.1.2 10.1.2.2" # Examples typically for a router. defaultrouter="NO" # Set to default gateway (or NO). static_routes="" # Set to static route list (or leave empty). natm_static_routes="" # Set to static route list for NATM (or leave empty). router_enable="NO" # Set to YES to enable a routing daemon. router="/sbin/routed" # Name of routing daemon to use if enabled. router_flags="-q" # Flags for routing daemon. ... #ipv6_router_flags="-q" # If you want to run a routing daemon on an end #ipv6_network_interfaces="ed0 ep0" # Examples for router rtsol_flags="" # Flags to IPv6 router solicitation. rtadvd_enable="NO" # Set to YES to enable an IPv6 router # this router becomes a possible candidate # IPv6 default router for local subnets. mroute6d_enable="NO" # Do IPv6 multicast routing. mroute6d_program="/usr/local/sbin/pim6dd" # Name of IPv6 multicast mroute6d_flags="" # Flags to IPv6 multicast routing daemon. jail_socket_unixiproute_only="YES" # Route only TCP/IP within a jail |
#grep route /etc/defaults/rc.conf
removable_route_flush="NO" # Flush routes when removing an interface #gif_interfaces="gif0 gif1" # Examples typically for a router. #gifconfig_gif0="10.1.1.1 10.1.2.1" # Examples typically for a router. #gifconfig_gif1="10.1.1.2 10.1.2.2" # Examples typically for a router. defaultrouter="NO" # Set to default gateway (or NO). static_routes="" # Set to static route list (or leave empty). natm_static_routes="" # Set to static route list for NATM (or leave empty). router_enable="NO" # Set to YES to enable a routing daemon. router="/sbin/routed" # Name of routing daemon to use if enabled. router_flags="-q" # Flags for routing daemon. ... #ipv6_router_flags="-q" # If you want to run a routing daemon on an end #ipv6_network_interfaces="ed0 ep0" # Examples for router rtsol_flags="" # Flags to IPv6 router solicitation. rtadvd_enable="NO" # Set to YES to enable an IPv6 router # this router becomes a possible candidate # IPv6 default router for local subnets. mroute6d_enable="NO" # Do IPv6 multicast routing. mroute6d_program="/usr/local/sbin/pim6dd" # Name of IPv6 multicast mroute6d_flags="" # Flags to IPv6 multicast routing daemon. jail_socket_unixiproute_only="YES" # Route only TCP/IP within a jail |
#grep route /etc/defaults/rc.conf
removable_route_flush="NO" # Flush routes when removing an interface #gif_interfaces="gif0 gif1" # Examples typically for a router. #gifconfig_gif0="10.1.1.1 10.1.2.1" # Examples typically for a router. #gifconfig_gif1="10.1.1.2 10.1.2.2" # Examples typically for a router. defaultrouter="NO" # Set to default gateway (or NO). static_routes="" # Set to static route list (or leave empty). natm_static_routes="" # Set to static route list for NATM (or leave empty). router_enable="NO" # Set to YES to enable a routing daemon. router="/sbin/routed" # Name of routing daemon to use if enabled. router_flags="-q" # Flags for routing daemon. ... #ipv6_router_flags="-q" # If you want to run a routing daemon on an end #ipv6_network_interfaces="ed0 ep0" # Examples for router rtsol_flags="" # Flags to IPv6 router solicitation. rtadvd_enable="NO" # Set to YES to enable an IPv6 router # this router becomes a possible candidate # IPv6 default router for local subnets. mroute6d_enable="NO" # Do IPv6 multicast routing. mroute6d_program="/usr/local/sbin/pim6dd" # Name of IPv6 multicast mroute6d_flags="" # Flags to IPv6 multicast routing daemon. jail_socket_unixiproute_only="YES" # Route only TCP/IP within a jail |
#vim /etc/rc.conf
--- /tmp/l3-saved-24998.145.2709 2008-08-11 12:30:46.000000000 +0000 +++ /etc/rc.conf 2008-08-11 12:31:06.000000000 +0000 @@ -25,3 +25,4 @@ scrnmap="koi8-r2cp866" keyrate="normal" keymap="ru.koi8-r" +static_routes="route1" |
#vim /etc/rc.conf
--- /tmp/l3-saved-24998.145.2709 2008-08-11 12:30:46.000000000 +0000 +++ /etc/rc.conf 2008-08-11 12:31:06.000000000 +0000 @@ -25,3 +25,4 @@ scrnmap="koi8-r2cp866" keyrate="normal" keymap="ru.koi8-r" +static_routes="route1" |
#vim /etc/rc.conf
--- /tmp/l3-saved-24998.145.2709 2008-08-11 12:30:46.000000000 +0000 +++ /etc/rc.conf 2008-08-11 12:31:06.000000000 +0000 @@ -25,3 +25,4 @@ scrnmap="koi8-r2cp866" keyrate="normal" keymap="ru.koi8-r" +static_routes="route1" |
#vim /etc/rc.conf
--- /tmp/l3-saved-24998.145.2709 2008-08-11 12:30:46.000000000 +0000 +++ /etc/rc.conf 2008-08-11 12:31:06.000000000 +0000 @@ -25,3 +25,4 @@ scrnmap="koi8-r2cp866" keyrate="normal" keymap="ru.koi8-r" +static_routes="route1" |
#vim /etc/rc.conf
--- /tmp/l3-saved-24998.145.2709 2008-08-11 12:30:46.000000000 +0000 +++ /etc/rc.conf 2008-08-11 12:31:06.000000000 +0000 @@ -25,3 +25,4 @@ scrnmap="koi8-r2cp866" keyrate="normal" keymap="ru.koi8-r" +static_routes="route1" |
#grep route /etc/defaults/rc.conf
removable_route_flush="NO" # Flush routes when removing an interface #gif_interfaces="gif0 gif1" # Examples typically for a router. #gifconfig_gif0="10.1.1.1 10.1.2.1" # Examples typically for a router. #gifconfig_gif1="10.1.1.2 10.1.2.2" # Examples typically for a router. defaultrouter="NO" # Set to default gateway (or NO). static_routes="" # Set to static route list (or leave empty). natm_static_routes="" # Set to static route list for NATM (or leave empty). router_enable="NO" # Set to YES to enable a routing daemon. router="/sbin/routed" # Name of routing daemon to use if enabled. router_flags="-q" # Flags for routing daemon. ... #ipv6_router_flags="-q" # If you want to run a routing daemon on an end #ipv6_network_interfaces="ed0 ep0" # Examples for router rtsol_flags="" # Flags to IPv6 router solicitation. rtadvd_enable="NO" # Set to YES to enable an IPv6 router # this router becomes a possible candidate # IPv6 default router for local subnets. mroute6d_enable="NO" # Do IPv6 multicast routing. mroute6d_program="/usr/local/sbin/pim6dd" # Name of IPv6 multicast mroute6d_flags="" # Flags to IPv6 multicast routing daemon. jail_socket_unixiproute_only="YES" # Route only TCP/IP within a jail |
#grep route /etc/defaults/rc.conf
removable_route_flush="NO" # Flush routes when removing an interface #gif_interfaces="gif0 gif1" # Examples typically for a router. #gifconfig_gif0="10.1.1.1 10.1.2.1" # Examples typically for a router. #gifconfig_gif1="10.1.1.2 10.1.2.2" # Examples typically for a router. defaultrouter="NO" # Set to default gateway (or NO). static_routes="" # Set to static route list (or leave empty). natm_static_routes="" # Set to static route list for NATM (or leave empty). router_enable="NO" # Set to YES to enable a routing daemon. router="/sbin/routed" # Name of routing daemon to use if enabled. router_flags="-q" # Flags for routing daemon. ... #ipv6_router_flags="-q" # If you want to run a routing daemon on an end #ipv6_network_interfaces="ed0 ep0" # Examples for router rtsol_flags="" # Flags to IPv6 router solicitation. rtadvd_enable="NO" # Set to YES to enable an IPv6 router # this router becomes a possible candidate # IPv6 default router for local subnets. mroute6d_enable="NO" # Do IPv6 multicast routing. mroute6d_program="/usr/local/sbin/pim6dd" # Name of IPv6 multicast mroute6d_flags="" # Flags to IPv6 multicast routing daemon. jail_socket_unixiproute_only="YES" # Route only TCP/IP within a jail |
#grep route /etc/defaults/rc.conf
removable_route_flush="NO" # Flush routes when removing an interface #gif_interfaces="gif0 gif1" # Examples typically for a router. #gifconfig_gif0="10.1.1.1 10.1.2.1" # Examples typically for a router. #gifconfig_gif1="10.1.1.2 10.1.2.2" # Examples typically for a router. defaultrouter="NO" # Set to default gateway (or NO). static_routes="" # Set to static route list (or leave empty). natm_static_routes="" # Set to static route list for NATM (or leave empty). router_enable="NO" # Set to YES to enable a routing daemon. router="/sbin/routed" # Name of routing daemon to use if enabled. router_flags="-q" # Flags for routing daemon. ... #ipv6_router_flags="-q" # If you want to run a routing daemon on an end #ipv6_network_interfaces="ed0 ep0" # Examples for router rtsol_flags="" # Flags to IPv6 router solicitation. rtadvd_enable="NO" # Set to YES to enable an IPv6 router # this router becomes a possible candidate # IPv6 default router for local subnets. mroute6d_enable="NO" # Do IPv6 multicast routing. mroute6d_program="/usr/local/sbin/pim6dd" # Name of IPv6 multicast mroute6d_flags="" # Flags to IPv6 multicast routing daemon. jail_socket_unixiproute_only="YES" # Route only TCP/IP within a jail |
#grep route /etc/defaults/rc.conf
removable_route_flush="NO" # Flush routes when removing an interface #gif_interfaces="gif0 gif1" # Examples typically for a router. #gifconfig_gif0="10.1.1.1 10.1.2.1" # Examples typically for a router. #gifconfig_gif1="10.1.1.2 10.1.2.2" # Examples typically for a router. defaultrouter="NO" # Set to default gateway (or NO). static_routes="" # Set to static route list (or leave empty). natm_static_routes="" # Set to static route list for NATM (or leave empty). router_enable="NO" # Set to YES to enable a routing daemon. router="/sbin/routed" # Name of routing daemon to use if enabled. router_flags="-q" # Flags for routing daemon. ... #ipv6_router_flags="-q" # If you want to run a routing daemon on an end #ipv6_network_interfaces="ed0 ep0" # Examples for router rtsol_flags="" # Flags to IPv6 router solicitation. rtadvd_enable="NO" # Set to YES to enable an IPv6 router # this router becomes a possible candidate # IPv6 default router for local subnets. mroute6d_enable="NO" # Do IPv6 multicast routing. mroute6d_program="/usr/local/sbin/pim6dd" # Name of IPv6 multicast mroute6d_flags="" # Flags to IPv6 multicast routing daemon. jail_socket_unixiproute_only="YES" # Route only TCP/IP within a jail |
#grep route /etc/defaults/rc.conf
removable_route_flush="NO" # Flush routes when removing an interface #gif_interfaces="gif0 gif1" # Examples typically for a router. #gifconfig_gif0="10.1.1.1 10.1.2.1" # Examples typically for a router. #gifconfig_gif1="10.1.1.2 10.1.2.2" # Examples typically for a router. defaultrouter="NO" # Set to default gateway (or NO). static_routes="" # Set to static route list (or leave empty). natm_static_routes="" # Set to static route list for NATM (or leave empty). router_enable="NO" # Set to YES to enable a routing daemon. router="/sbin/routed" # Name of routing daemon to use if enabled. router_flags="-q" # Flags for routing daemon. ... #ipv6_router_flags="-q" # If you want to run a routing daemon on an end #ipv6_network_interfaces="ed0 ep0" # Examples for router rtsol_flags="" # Flags to IPv6 router solicitation. rtadvd_enable="NO" # Set to YES to enable an IPv6 router # this router becomes a possible candidate # IPv6 default router for local subnets. mroute6d_enable="NO" # Do IPv6 multicast routing. mroute6d_program="/usr/local/sbin/pim6dd" # Name of IPv6 multicast mroute6d_flags="" # Flags to IPv6 multicast routing daemon. jail_socket_unixiproute_only="YES" # Route only TCP/IP within a jail |
#vim /etc/rc.conf
--- /tmp/l3-saved-24998.13628.17627 2008-08-11 12:31:34.000000000 +0000 +++ /etc/rc.conf 2008-08-11 12:31:54.000000000 +0000 @@ -26,3 +26,4 @@ keyrate="normal" keymap="ru.koi8-r" static_routes="route1" +router_route1=" |
#vim /etc/rc.conf
--- /tmp/l3-saved-24998.13628.17627 2008-08-11 12:31:34.000000000 +0000 +++ /etc/rc.conf 2008-08-11 12:31:54.000000000 +0000 @@ -26,3 +26,4 @@ keyrate="normal" keymap="ru.koi8-r" static_routes="route1" +router_route1=" |
#vim /etc/rc.conf
--- /tmp/l3-saved-24998.13628.17627 2008-08-11 12:31:34.000000000 +0000 +++ /etc/rc.conf 2008-08-11 12:31:54.000000000 +0000 @@ -26,3 +26,4 @@ keyrate="normal" keymap="ru.koi8-r" static_routes="route1" +router_route1=" |
#vim /etc/rc.conf
--- /tmp/l3-saved-24998.13628.17627 2008-08-11 12:31:34.000000000 +0000 +++ /etc/rc.conf 2008-08-11 12:31:54.000000000 +0000 @@ -26,3 +26,4 @@ keyrate="normal" keymap="ru.koi8-r" static_routes="route1" +router_route1=" |
#vim /etc/rc.conf
--- /tmp/l3-saved-24998.13628.17627 2008-08-11 12:31:34.000000000 +0000 +++ /etc/rc.conf 2008-08-11 12:31:54.000000000 +0000 @@ -26,3 +26,4 @@ keyrate="normal" keymap="ru.koi8-r" static_routes="route1" +router_route1=" |
#grep route /etc/defaults/rc.conf
removable_route_flush="NO" # Flush routes when removing an interface #gif_interfaces="gif0 gif1" # Examples typically for a router. #gifconfig_gif0="10.1.1.1 10.1.2.1" # Examples typically for a router. #gifconfig_gif1="10.1.1.2 10.1.2.2" # Examples typically for a router. defaultrouter="NO" # Set to default gateway (or NO). static_routes="" # Set to static route list (or leave empty). natm_static_routes="" # Set to static route list for NATM (or leave empty). router_enable="NO" # Set to YES to enable a routing daemon. router="/sbin/routed" # Name of routing daemon to use if enabled. router_flags="-q" # Flags for routing daemon. ... #ipv6_router_flags="-q" # If you want to run a routing daemon on an end #ipv6_network_interfaces="ed0 ep0" # Examples for router rtsol_flags="" # Flags to IPv6 router solicitation. rtadvd_enable="NO" # Set to YES to enable an IPv6 router # this router becomes a possible candidate # IPv6 default router for local subnets. mroute6d_enable="NO" # Do IPv6 multicast routing. mroute6d_program="/usr/local/sbin/pim6dd" # Name of IPv6 multicast mroute6d_flags="" # Flags to IPv6 multicast routing daemon. jail_socket_unixiproute_only="YES" # Route only TCP/IP within a jail |
#vim /etc/rc.conf
--- /tmp/l3-saved-24998.32556.17291 2008-08-11 12:32:04.000000000 +0000 +++ /etc/rc.conf 2008-08-11 12:32:28.000000000 +0000 @@ -26,4 +26,4 @@ keyrate="normal" keymap="ru.koi8-r" static_routes="route1" -router_route1=" +router_route1="add 10.0.17.0/24 192.168.16.254" |
#grep route /etc/defaults/rc.conf
removable_route_flush="NO" # Flush routes when removing an interface #gif_interfaces="gif0 gif1" # Examples typically for a router. #gifconfig_gif0="10.1.1.1 10.1.2.1" # Examples typically for a router. #gifconfig_gif1="10.1.1.2 10.1.2.2" # Examples typically for a router. defaultrouter="NO" # Set to default gateway (or NO). static_routes="" # Set to static route list (or leave empty). natm_static_routes="" # Set to static route list for NATM (or leave empty). router_enable="NO" # Set to YES to enable a routing daemon. router="/sbin/routed" # Name of routing daemon to use if enabled. router_flags="-q" # Flags for routing daemon. ... #ipv6_router_flags="-q" # If you want to run a routing daemon on an end #ipv6_network_interfaces="ed0 ep0" # Examples for router rtsol_flags="" # Flags to IPv6 router solicitation. rtadvd_enable="NO" # Set to YES to enable an IPv6 router # this router becomes a possible candidate # IPv6 default router for local subnets. mroute6d_enable="NO" # Do IPv6 multicast routing. mroute6d_program="/usr/local/sbin/pim6dd" # Name of IPv6 multicast mroute6d_flags="" # Flags to IPv6 multicast routing daemon. jail_socket_unixiproute_only="YES" # Route only TCP/IP within a jail |
#vim /etc/rc.conf
--- /tmp/l3-saved-24998.32556.17291 2008-08-11 12:32:04.000000000 +0000 +++ /etc/rc.conf 2008-08-11 12:32:28.000000000 +0000 @@ -26,4 +26,4 @@ keyrate="normal" keymap="ru.koi8-r" static_routes="route1" -router_route1=" +router_route1="add 10.0.17.0/24 192.168.16.254" |
#grep route /etc/defaults/rc.conf
removable_route_flush="NO" # Flush routes when removing an interface #gif_interfaces="gif0 gif1" # Examples typically for a router. #gifconfig_gif0="10.1.1.1 10.1.2.1" # Examples typically for a router. #gifconfig_gif1="10.1.1.2 10.1.2.2" # Examples typically for a router. defaultrouter="NO" # Set to default gateway (or NO). static_routes="" # Set to static route list (or leave empty). natm_static_routes="" # Set to static route list for NATM (or leave empty). router_enable="NO" # Set to YES to enable a routing daemon. router="/sbin/routed" # Name of routing daemon to use if enabled. router_flags="-q" # Flags for routing daemon. ... #ipv6_router_flags="-q" # If you want to run a routing daemon on an end #ipv6_network_interfaces="ed0 ep0" # Examples for router rtsol_flags="" # Flags to IPv6 router solicitation. rtadvd_enable="NO" # Set to YES to enable an IPv6 router # this router becomes a possible candidate # IPv6 default router for local subnets. mroute6d_enable="NO" # Do IPv6 multicast routing. mroute6d_program="/usr/local/sbin/pim6dd" # Name of IPv6 multicast mroute6d_flags="" # Flags to IPv6 multicast routing daemon. jail_socket_unixiproute_only="YES" # Route only TCP/IP within a jail |
#vim /etc/rc.conf
--- /tmp/l3-saved-24998.32556.17291 2008-08-11 12:32:04.000000000 +0000 +++ /etc/rc.conf 2008-08-11 12:32:28.000000000 +0000 @@ -26,4 +26,4 @@ keyrate="normal" keymap="ru.koi8-r" static_routes="route1" -router_route1=" +router_route1="add 10.0.17.0/24 192.168.16.254" |
#grep route /etc/defaults/rc.conf
removable_route_flush="NO" # Flush routes when removing an interface #gif_interfaces="gif0 gif1" # Examples typically for a router. #gifconfig_gif0="10.1.1.1 10.1.2.1" # Examples typically for a router. #gifconfig_gif1="10.1.1.2 10.1.2.2" # Examples typically for a router. defaultrouter="NO" # Set to default gateway (or NO). static_routes="" # Set to static route list (or leave empty). natm_static_routes="" # Set to static route list for NATM (or leave empty). router_enable="NO" # Set to YES to enable a routing daemon. router="/sbin/routed" # Name of routing daemon to use if enabled. router_flags="-q" # Flags for routing daemon. ... #ipv6_router_flags="-q" # If you want to run a routing daemon on an end #ipv6_network_interfaces="ed0 ep0" # Examples for router rtsol_flags="" # Flags to IPv6 router solicitation. rtadvd_enable="NO" # Set to YES to enable an IPv6 router # this router becomes a possible candidate # IPv6 default router for local subnets. mroute6d_enable="NO" # Do IPv6 multicast routing. mroute6d_program="/usr/local/sbin/pim6dd" # Name of IPv6 multicast mroute6d_flags="" # Flags to IPv6 multicast routing daemon. jail_socket_unixiproute_only="YES" # Route only TCP/IP within a jail |
#vim /etc/rc.conf
--- /tmp/l3-saved-24998.32556.17291 2008-08-11 12:32:04.000000000 +0000 +++ /etc/rc.conf 2008-08-11 12:32:28.000000000 +0000 @@ -26,4 +26,4 @@ keyrate="normal" keymap="ru.koi8-r" static_routes="route1" -router_route1=" +router_route1="add 10.0.17.0/24 192.168.16.254" |
#grep route /etc/defaults/rc.conf
removable_route_flush="NO" # Flush routes when removing an interface #gif_interfaces="gif0 gif1" # Examples typically for a router. #gifconfig_gif0="10.1.1.1 10.1.2.1" # Examples typically for a router. #gifconfig_gif1="10.1.1.2 10.1.2.2" # Examples typically for a router. defaultrouter="NO" # Set to default gateway (or NO). static_routes="" # Set to static route list (or leave empty). natm_static_routes="" # Set to static route list for NATM (or leave empty). router_enable="NO" # Set to YES to enable a routing daemon. router="/sbin/routed" # Name of routing daemon to use if enabled. router_flags="-q" # Flags for routing daemon. ... #ipv6_router_flags="-q" # If you want to run a routing daemon on an end #ipv6_network_interfaces="ed0 ep0" # Examples for router rtsol_flags="" # Flags to IPv6 router solicitation. rtadvd_enable="NO" # Set to YES to enable an IPv6 router # this router becomes a possible candidate # IPv6 default router for local subnets. mroute6d_enable="NO" # Do IPv6 multicast routing. mroute6d_program="/usr/local/sbin/pim6dd" # Name of IPv6 multicast mroute6d_flags="" # Flags to IPv6 multicast routing daemon. jail_socket_unixiproute_only="YES" # Route only TCP/IP within a jail |
#vim /etc/rc.conf
--- /tmp/l3-saved-24998.32556.17291 2008-08-11 12:32:04.000000000 +0000 +++ /etc/rc.conf 2008-08-11 12:32:28.000000000 +0000 @@ -26,4 +26,4 @@ keyrate="normal" keymap="ru.koi8-r" static_routes="route1" -router_route1=" +router_route1="add 10.0.17.0/24 192.168.16.254" |
#netstat -rn
Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire default 192.168.16.254 UGS 0 11649 giga 10.0.17/24 192.168.16.254 UGS 0 0 giga 10.0.17.1 192.168.16.254 UGHS 0 0 giga 127.0.0.1 127.0.0.1 UH 0 0 lo0 192.168.16.0 ff:ff:ff:ff:ff:ff UHLWb 1 1 giga => 192.168.16 link#1 UC 0 0 giga 192.168.16.1 00:16:3e:55:00:01 UHLW 1 995 giga 434 ... 192.168.16.254 00:04:76:a1:ef:bb UHLW 4 108 giga 1177 192.168.16.255 ff:ff:ff:ff:ff:ff UHLWb 1 1 giga 192.168.44 link#1 UC 0 0 giga Internet6: Destination Gateway Flags Netif Expire ::1 ::1 UHL lo0 fe80::%lo0/64 fe80::1%lo0 U lo0 fe80::1%lo0 link#5 UHL lo0 ff01:5::/32 fe80::1%lo0 UC lo0 ff02::%lo0/32 fe80::1%lo0 UC lo0 |
#netstat -rn
Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire default 192.168.16.254 UGS 0 11649 giga 10.0.17/24 192.168.16.254 UGS 0 0 giga 10.0.17.1 192.168.16.254 UGHS 0 0 giga 127.0.0.1 127.0.0.1 UH 0 0 lo0 192.168.16.0 ff:ff:ff:ff:ff:ff UHLWb 1 1 giga => 192.168.16 link#1 UC 0 0 giga 192.168.16.1 00:16:3e:55:00:01 UHLW 1 995 giga 434 ... 192.168.16.254 00:04:76:a1:ef:bb UHLW 4 108 giga 1177 192.168.16.255 ff:ff:ff:ff:ff:ff UHLWb 1 1 giga 192.168.44 link#1 UC 0 0 giga Internet6: Destination Gateway Flags Netif Expire ::1 ::1 UHL lo0 fe80::%lo0/64 fe80::1%lo0 U lo0 fe80::1%lo0 link#5 UHL lo0 ff01:5::/32 fe80::1%lo0 UC lo0 ff02::%lo0/32 fe80::1%lo0 UC lo0 |
#netstat -rn
Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire default 192.168.16.254 UGS 0 11649 giga 10.0.17/24 192.168.16.254 UGS 0 0 giga 10.0.17.1 192.168.16.254 UGHS 0 0 giga 127.0.0.1 127.0.0.1 UH 0 0 lo0 192.168.16.0 ff:ff:ff:ff:ff:ff UHLWb 1 1 giga => 192.168.16 link#1 UC 0 0 giga 192.168.16.1 00:16:3e:55:00:01 UHLW 1 995 giga 434 ... 192.168.16.254 00:04:76:a1:ef:bb UHLW 4 108 giga 1177 192.168.16.255 ff:ff:ff:ff:ff:ff UHLWb 1 1 giga 192.168.44 link#1 UC 0 0 giga Internet6: Destination Gateway Flags Netif Expire ::1 ::1 UHL lo0 fe80::%lo0/64 fe80::1%lo0 U lo0 fe80::1%lo0 link#5 UHL lo0 ff01:5::/32 fe80::1%lo0 UC lo0 ff02::%lo0/32 fe80::1%lo0 UC lo0 |
#netstat -rn
Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire default 192.168.16.254 UGS 0 11649 giga 10.0.17/24 192.168.16.254 UGS 0 0 giga 10.0.17.1 192.168.16.254 UGHS 0 0 giga 127.0.0.1 127.0.0.1 UH 0 0 lo0 192.168.16.0 ff:ff:ff:ff:ff:ff UHLWb 1 1 giga => 192.168.16 link#1 UC 0 0 giga 192.168.16.1 00:16:3e:55:00:01 UHLW 1 995 giga 434 ... 192.168.16.254 00:04:76:a1:ef:bb UHLW 4 108 giga 1177 192.168.16.255 ff:ff:ff:ff:ff:ff UHLWb 1 1 giga 192.168.44 link#1 UC 0 0 giga Internet6: Destination Gateway Flags Netif Expire ::1 ::1 UHL lo0 fe80::%lo0/64 fe80::1%lo0 U lo0 fe80::1%lo0 link#5 UHL lo0 ff01:5::/32 fe80::1%lo0 UC lo0 ff02::%lo0/32 fe80::1%lo0 UC lo0 |
#netstat -rn
Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire default 192.168.16.254 UGS 0 11649 giga 10.0.17/24 192.168.16.254 UGS 0 0 giga 10.0.17.1 192.168.16.254 UGHS 0 0 giga 127.0.0.1 127.0.0.1 UH 0 0 lo0 192.168.16.0 ff:ff:ff:ff:ff:ff UHLWb 1 1 giga => 192.168.16 link#1 UC 0 0 giga 192.168.16.1 00:16:3e:55:00:01 UHLW 1 995 giga 434 ... 192.168.16.254 00:04:76:a1:ef:bb UHLW 4 108 giga 1177 192.168.16.255 ff:ff:ff:ff:ff:ff UHLWb 1 1 giga 192.168.44 link#1 UC 0 0 giga Internet6: Destination Gateway Flags Netif Expire ::1 ::1 UHL lo0 fe80::%lo0/64 fe80::1%lo0 U lo0 fe80::1%lo0 link#5 UHL lo0 ff01:5::/32 fe80::1%lo0 UC lo0 ff02::%lo0/32 fe80::1%lo0 UC lo0 |
#route delete 10.0.17.0/24
delete net 10.0.17.0 |
#route delete 10.0.17.0/24
delete net 10.0.17.0 |
#route delete 10.0.17.0/24
delete net 10.0.17.0 |
#route delete 10.0.17.0/24
delete net 10.0.17.0 |
#route delete 10.0.17.0/24
delete net 10.0.17.0 |
#netstat -rn
Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire default 192.168.16.254 UGS 0 11655 giga 10.0.17.1 192.168.16.254 UGHS 0 0 giga 127.0.0.1 127.0.0.1 UH 0 0 lo0 192.168.16.0 ff:ff:ff:ff:ff:ff UHLWb 1 1 giga => 192.168.16 link#1 UC 0 0 giga 192.168.16.1 00:16:3e:55:00:01 UHLW 1 1028 giga 422 192.168.16.21 00:16:4e:00:00:01 UHLW 1 2 lo0 192.168.16.206 00:14:c2:05:a3:18 UHLW 1 1 giga 192.168.16.254 00:04:76:a1:ef:bb UHLW 3 109 giga 1165 192.168.16.255 ff:ff:ff:ff:ff:ff UHLWb 1 1 giga 192.168.44 link#1 UC 0 0 giga Internet6: Destination Gateway Flags Netif Expire ::1 ::1 UHL lo0 fe80::%lo0/64 fe80::1%lo0 U lo0 fe80::1%lo0 link#5 UHL lo0 ff01:5::/32 fe80::1%lo0 UC lo0 ff02::%lo0/32 fe80::1%lo0 UC lo0 |
#netstat -rn
Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire default 192.168.16.254 UGS 0 11655 giga 10.0.17.1 192.168.16.254 UGHS 0 0 giga 127.0.0.1 127.0.0.1 UH 0 0 lo0 192.168.16.0 ff:ff:ff:ff:ff:ff UHLWb 1 1 giga => 192.168.16 link#1 UC 0 0 giga 192.168.16.1 00:16:3e:55:00:01 UHLW 1 1028 giga 422 192.168.16.21 00:16:4e:00:00:01 UHLW 1 2 lo0 192.168.16.206 00:14:c2:05:a3:18 UHLW 1 1 giga 192.168.16.254 00:04:76:a1:ef:bb UHLW 3 109 giga 1165 192.168.16.255 ff:ff:ff:ff:ff:ff UHLWb 1 1 giga 192.168.44 link#1 UC 0 0 giga Internet6: Destination Gateway Flags Netif Expire ::1 ::1 UHL lo0 fe80::%lo0/64 fe80::1%lo0 U lo0 fe80::1%lo0 link#5 UHL lo0 ff01:5::/32 fe80::1%lo0 UC lo0 ff02::%lo0/32 fe80::1%lo0 UC lo0 |
#netstat -rn
Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire default 192.168.16.254 UGS 0 11655 giga 10.0.17.1 192.168.16.254 UGHS 0 0 giga 127.0.0.1 127.0.0.1 UH 0 0 lo0 192.168.16.0 ff:ff:ff:ff:ff:ff UHLWb 1 1 giga => 192.168.16 link#1 UC 0 0 giga 192.168.16.1 00:16:3e:55:00:01 UHLW 1 1028 giga 422 192.168.16.21 00:16:4e:00:00:01 UHLW 1 2 lo0 192.168.16.206 00:14:c2:05:a3:18 UHLW 1 1 giga 192.168.16.254 00:04:76:a1:ef:bb UHLW 3 109 giga 1165 192.168.16.255 ff:ff:ff:ff:ff:ff UHLWb 1 1 giga 192.168.44 link#1 UC 0 0 giga Internet6: Destination Gateway Flags Netif Expire ::1 ::1 UHL lo0 fe80::%lo0/64 fe80::1%lo0 U lo0 fe80::1%lo0 link#5 UHL lo0 ff01:5::/32 fe80::1%lo0 UC lo0 ff02::%lo0/32 fe80::1%lo0 UC lo0 |
#netstat -rn
Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire default 192.168.16.254 UGS 0 11655 giga 10.0.17.1 192.168.16.254 UGHS 0 0 giga 127.0.0.1 127.0.0.1 UH 0 0 lo0 192.168.16.0 ff:ff:ff:ff:ff:ff UHLWb 1 1 giga => 192.168.16 link#1 UC 0 0 giga 192.168.16.1 00:16:3e:55:00:01 UHLW 1 1028 giga 422 192.168.16.21 00:16:4e:00:00:01 UHLW 1 2 lo0 192.168.16.206 00:14:c2:05:a3:18 UHLW 1 1 giga 192.168.16.254 00:04:76:a1:ef:bb UHLW 3 109 giga 1165 192.168.16.255 ff:ff:ff:ff:ff:ff UHLWb 1 1 giga 192.168.44 link#1 UC 0 0 giga Internet6: Destination Gateway Flags Netif Expire ::1 ::1 UHL lo0 fe80::%lo0/64 fe80::1%lo0 U lo0 fe80::1%lo0 link#5 UHL lo0 ff01:5::/32 fe80::1%lo0 UC lo0 ff02::%lo0/32 fe80::1%lo0 UC lo0 |
#netstat -rn
Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire default 192.168.16.254 UGS 0 11655 giga 10.0.17.1 192.168.16.254 UGHS 0 0 giga 127.0.0.1 127.0.0.1 UH 0 0 lo0 192.168.16.0 ff:ff:ff:ff:ff:ff UHLWb 1 1 giga => 192.168.16 link#1 UC 0 0 giga 192.168.16.1 00:16:3e:55:00:01 UHLW 1 1028 giga 422 192.168.16.21 00:16:4e:00:00:01 UHLW 1 2 lo0 192.168.16.206 00:14:c2:05:a3:18 UHLW 1 1 giga 192.168.16.254 00:04:76:a1:ef:bb UHLW 3 109 giga 1165 192.168.16.255 ff:ff:ff:ff:ff:ff UHLWb 1 1 giga 192.168.44 link#1 UC 0 0 giga Internet6: Destination Gateway Flags Netif Expire ::1 ::1 UHL lo0 fe80::%lo0/64 fe80::1%lo0 U lo0 fe80::1%lo0 link#5 UHL lo0 ff01:5::/32 fe80::1%lo0 UC lo0 ff02::%lo0/32 fe80::1%lo0 UC lo0 |
#vim /etc/rc.conf
--- /tmp/l3-saved-24998.12034.14077 2008-08-11 12:32:45.000000000 +0000 +++ /etc/rc.conf 2008-08-11 12:33:08.000000000 +0000 @@ -1,3 +1,4 @@ +#! font8x14="cp866-8x14" sshd_enable="yes" font8x16="cp866b-8x16" |
#vim /etc/rc.conf
--- /tmp/l3-saved-24998.12034.14077 2008-08-11 12:32:45.000000000 +0000 +++ /etc/rc.conf 2008-08-11 12:33:08.000000000 +0000 @@ -1,3 +1,4 @@ +#! font8x14="cp866-8x14" sshd_enable="yes" font8x16="cp866b-8x16" |
#vim /etc/rc.conf
--- /tmp/l3-saved-24998.12034.14077 2008-08-11 12:32:45.000000000 +0000 +++ /etc/rc.conf 2008-08-11 12:33:08.000000000 +0000 @@ -1,3 +1,4 @@ +#! font8x14="cp866-8x14" sshd_enable="yes" font8x16="cp866b-8x16" |
#vim /etc/rc.conf
--- /tmp/l3-saved-24998.12034.14077 2008-08-11 12:32:45.000000000 +0000 +++ /etc/rc.conf 2008-08-11 12:33:08.000000000 +0000 @@ -1,3 +1,4 @@ +#! font8x14="cp866-8x14" sshd_enable="yes" font8x16="cp866b-8x16" |
#vim /etc/rc.conf
--- /tmp/l3-saved-24998.12034.14077 2008-08-11 12:32:45.000000000 +0000 +++ /etc/rc.conf 2008-08-11 12:33:08.000000000 +0000 @@ -1,3 +1,4 @@ +#! font8x14="cp866-8x14" sshd_enable="yes" font8x16="cp866b-8x16" |
#vim /etc/rc.conf
--- /tmp/l3-saved-24998.2369.18452 2008-08-11 12:33:08.000000000 +0000 +++ /etc/rc.conf 2008-08-11 12:33:29.000000000 +0000 @@ -1,4 +1,3 @@ -#! font8x14="cp866-8x14" sshd_enable="yes" font8x16="cp866b-8x16" |
#vim /etc/rc.conf
--- /tmp/l3-saved-24998.2369.18452 2008-08-11 12:33:08.000000000 +0000 +++ /etc/rc.conf 2008-08-11 12:33:29.000000000 +0000 @@ -1,4 +1,3 @@ -#! font8x14="cp866-8x14" sshd_enable="yes" font8x16="cp866b-8x16" |
#vim /etc/rc.conf
--- /tmp/l3-saved-24998.2369.18452 2008-08-11 12:33:08.000000000 +0000 +++ /etc/rc.conf 2008-08-11 12:33:29.000000000 +0000 @@ -1,4 +1,3 @@ -#! font8x14="cp866-8x14" sshd_enable="yes" font8x16="cp866b-8x16" |
#vim /etc/rc.conf
--- /tmp/l3-saved-24998.2369.18452 2008-08-11 12:33:08.000000000 +0000 +++ /etc/rc.conf 2008-08-11 12:33:29.000000000 +0000 @@ -1,4 +1,3 @@ -#! font8x14="cp866-8x14" sshd_enable="yes" font8x16="cp866b-8x16" |
#vim /etc/rc.conf
--- /tmp/l3-saved-24998.2369.18452 2008-08-11 12:33:08.000000000 +0000 +++ /etc/rc.conf 2008-08-11 12:33:29.000000000 +0000 @@ -1,4 +1,3 @@ -#! font8x14="cp866-8x14" sshd_enable="yes" font8x16="cp866b-8x16" |
#/etc/routing restart
bash: /etc/routing: No such file or directory |
#/etc/routing restart
bash: /etc/routing: No such file or directory |
#/etc/routing restart
bash: /etc/routing: No such file or directory |
#/etc/routing restart
bash: /etc/routing: No such file or directory |
#/etc/routing restart
bash: /etc/routing: No such file or directory |
#/etc/rc.d/routing restart
default 192.168.16.254 done 10.0.17.1 192.168.16.254 done add net default: gateway 192.168.16.254 route: writing to routing socket: Invalid argument add net : Invalid argument Additional routing options:. |
#/etc/rc.d/routing restart
default 192.168.16.254 done 10.0.17.1 192.168.16.254 done add net default: gateway 192.168.16.254 route: writing to routing socket: Invalid argument add net : Invalid argument Additional routing options:. |
#/etc/rc.d/routing restart
default 192.168.16.254 done 10.0.17.1 192.168.16.254 done add net default: gateway 192.168.16.254 route: writing to routing socket: Invalid argument add net : Invalid argument Additional routing options:. |
#/etc/rc.d/routing restart
default 192.168.16.254 done 10.0.17.1 192.168.16.254 done add net default: gateway 192.168.16.254 route: writing to routing socket: Invalid argument add net : Invalid argument Additional routing options:. |
#/etc/rc.d/routing restart
default 192.168.16.254 done 10.0.17.1 192.168.16.254 done add net default: gateway 192.168.16.254 route: writing to routing socket: Invalid argument add net : Invalid argument Additional routing options:. |
#vim /etc/rc.conf
|
#vim /etc/rc.conf
|
#vim /etc/rc.conf
|
#vim /etc/rc.conf
|
#vim /etc/rc.conf
|
#router_route1="add 10.0.17.0/
|
#router_route1="add 10.0.17.0/
|
#router_route1="add 10.0.17.0/
|
Время первой команды журнала | 15:25:57 2008- 8-11 | |||||||||||||||||||||||||||
Время последней команды журнала | 15:34:13 2008- 8-11 | |||||||||||||||||||||||||||
Количество командных строк в журнале | 88 | |||||||||||||||||||||||||||
Процент команд с ненулевым кодом завершения, % | 0.00 | |||||||||||||||||||||||||||
Процент синтаксически неверно набранных команд, % | 5.68 | |||||||||||||||||||||||||||
Суммарное время работы с терминалом *, час | 0.14 | |||||||||||||||||||||||||||
Количество командных строк в единицу времени, команда/мин | 10.65 | |||||||||||||||||||||||||||
Частота использования команд |
|
В журнал автоматически попадают все команды, данные в любом терминале системы.
Для того чтобы убедиться, что журнал на текущем терминале ведётся, и команды записываются, дайте команду 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