/l3/users/17-12-2012/NT-BSDnet/freebsd1.net.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 |
|
#dig 253.13.168.192.in-addr.arpa ptr
; <<>> DiG 9.6.-ESV-R3 <<>> 253.13.168.192.in-addr.arpa ptr ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 31751 ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 1, ADDITIONAL: 2 ;; QUESTION SECTION: ;253.13.168.192.in-addr.arpa. IN PTR ;; ANSWER SECTION: 253.13.168.192.in-addr.arpa. 604800 IN PTR net.nt. 253.13.168.192.in-addr.arpa. 604800 IN PTR fobos.net.nt. ;; AUTHORITY SECTION: 168.192.in-addr.arpa. 604800 IN NS net.nt. ;; ADDITIONAL SECTION: net.nt. 3600 IN A 192.168.13.253 net.nt. 3600 IN A 10.0.17.1 ;; Query time: 1 msec ;; SERVER: 192.168.13.253#53(192.168.13.253) ;; WHEN: Thu Dec 20 16:48:13 2012 ;; MSG SIZE rcvd: 131 |
#dig 253.13.168.192.in-addr.arpa ptr
; <<>> DiG 9.6.-ESV-R3 <<>> 253.13.168.192.in-addr.arpa ptr ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 31751 ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 1, ADDITIONAL: 2 ;; QUESTION SECTION: ;253.13.168.192.in-addr.arpa. IN PTR ;; ANSWER SECTION: 253.13.168.192.in-addr.arpa. 604800 IN PTR net.nt. 253.13.168.192.in-addr.arpa. 604800 IN PTR fobos.net.nt. ;; AUTHORITY SECTION: 168.192.in-addr.arpa. 604800 IN NS net.nt. ;; ADDITIONAL SECTION: net.nt. 3600 IN A 192.168.13.253 net.nt. 3600 IN A 10.0.17.1 ;; Query time: 1 msec ;; SERVER: 192.168.13.253#53(192.168.13.253) ;; WHEN: Thu Dec 20 16:48:13 2012 ;; MSG SIZE rcvd: 131 |
#vim /etc/rc.conf
--- /tmp/l3-saved-3486.19612.6993 2012-12-20 16:52:08.000000000 +0200 +++ /etc/rc.conf 2012-12-20 16:53:18.000000000 +0200 @@ -31,3 +31,6 @@ # natd_enable="YES" # natd_flags="-f /etc/natd.conf" # natd_interface="em0" +named_enable="YES" +named_flags="-u bind -g bind" + |
#vim /etc/rc.conf
--- /tmp/l3-saved-3486.19612.6993 2012-12-20 16:52:08.000000000 +0200 +++ /etc/rc.conf 2012-12-20 16:53:18.000000000 +0200 @@ -31,3 +31,6 @@ # natd_enable="YES" # natd_flags="-f /etc/natd.conf" # natd_interface="em0" +named_enable="YES" +named_flags="-u bind -g bind" + |
#vim /etc/rc.conf
--- /tmp/l3-saved-3486.19612.6993 2012-12-20 16:52:08.000000000 +0200 +++ /etc/rc.conf 2012-12-20 16:53:18.000000000 +0200 @@ -31,3 +31,6 @@ # natd_enable="YES" # natd_flags="-f /etc/natd.conf" # natd_interface="em0" +named_enable="YES" +named_flags="-u bind -g bind" + |
#vim /etc/rc.conf
--- /tmp/l3-saved-3486.19612.6993 2012-12-20 16:52:08.000000000 +0200 +++ /etc/rc.conf 2012-12-20 16:53:18.000000000 +0200 @@ -31,3 +31,6 @@ # natd_enable="YES" # natd_flags="-f /etc/natd.conf" # natd_interface="em0" +named_enable="YES" +named_flags="-u bind -g bind" + |
#vim /etc/rc.conf
--- /tmp/l3-saved-3486.19612.6993 2012-12-20 16:52:08.000000000 +0200 +++ /etc/rc.conf 2012-12-20 16:53:18.000000000 +0200 @@ -31,3 +31,6 @@ # natd_enable="YES" # natd_flags="-f /etc/natd.conf" # natd_interface="em0" +named_enable="YES" +named_flags="-u bind -g bind" + |
#vim /etc/rc.conf
--- /tmp/l3-saved-3486.19612.6993 2012-12-20 16:52:08.000000000 +0200 +++ /etc/rc.conf 2012-12-20 16:53:18.000000000 +0200 @@ -31,3 +31,6 @@ # natd_enable="YES" # natd_flags="-f /etc/natd.conf" # natd_interface="em0" +named_enable="YES" +named_flags="-u bind -g bind" + |
#vim /etc/rc.conf
--- /tmp/l3-saved-3486.19612.6993 2012-12-20 16:52:08.000000000 +0200 +++ /etc/rc.conf 2012-12-20 16:53:18.000000000 +0200 @@ -31,3 +31,6 @@ # natd_enable="YES" # natd_flags="-f /etc/natd.conf" # natd_interface="em0" +named_enable="YES" +named_flags="-u bind -g bind" + |
#vim /etc/rc.conf
--- /tmp/l3-saved-3486.19612.6993 2012-12-20 16:52:08.000000000 +0200 +++ /etc/rc.conf 2012-12-20 16:53:18.000000000 +0200 @@ -31,3 +31,6 @@ # natd_enable="YES" # natd_flags="-f /etc/natd.conf" # natd_interface="em0" +named_enable="YES" +named_flags="-u bind -g bind" + |
#vim /etc/rc.conf
--- /tmp/l3-saved-3486.19612.6993 2012-12-20 16:52:08.000000000 +0200 +++ /etc/rc.conf 2012-12-20 16:53:18.000000000 +0200 @@ -31,3 +31,6 @@ # natd_enable="YES" # natd_flags="-f /etc/natd.conf" # natd_interface="em0" +named_enable="YES" +named_flags="-u bind -g bind" + |
#vim /etc/rc.conf
--- /tmp/l3-saved-3486.19612.6993 2012-12-20 16:52:08.000000000 +0200 +++ /etc/rc.conf 2012-12-20 16:53:18.000000000 +0200 @@ -31,3 +31,6 @@ # natd_enable="YES" # natd_flags="-f /etc/natd.conf" # natd_interface="em0" +named_enable="YES" +named_flags="-u bind -g bind" + |
#vim /etc/rc.conf
--- /tmp/l3-saved-3486.19612.6993 2012-12-20 16:52:08.000000000 +0200 +++ /etc/rc.conf 2012-12-20 16:53:18.000000000 +0200 @@ -31,3 +31,6 @@ # natd_enable="YES" # natd_flags="-f /etc/natd.conf" # natd_interface="em0" +named_enable="YES" +named_flags="-u bind -g bind" + |
#vim /etc/rc.conf
--- /tmp/l3-saved-3486.19612.6993 2012-12-20 16:52:08.000000000 +0200 +++ /etc/rc.conf 2012-12-20 16:53:18.000000000 +0200 @@ -31,3 +31,6 @@ # natd_enable="YES" # natd_flags="-f /etc/natd.conf" # natd_interface="em0" +named_enable="YES" +named_flags="-u bind -g bind" + |
#vim /etc/rc.conf
--- /tmp/l3-saved-3486.19612.6993 2012-12-20 16:52:08.000000000 +0200 +++ /etc/rc.conf 2012-12-20 16:53:18.000000000 +0200 @@ -31,3 +31,6 @@ # natd_enable="YES" # natd_flags="-f /etc/natd.conf" # natd_interface="em0" +named_enable="YES" +named_flags="-u bind -g bind" + |
#vim /etc/rc.conf
--- /tmp/l3-saved-3486.19612.6993 2012-12-20 16:52:08.000000000 +0200 +++ /etc/rc.conf 2012-12-20 16:53:18.000000000 +0200 @@ -31,3 +31,6 @@ # natd_enable="YES" # natd_flags="-f /etc/natd.conf" # natd_interface="em0" +named_enable="YES" +named_flags="-u bind -g bind" + |
#vim /etc/rc.conf
--- /tmp/l3-saved-3486.19612.6993 2012-12-20 16:52:08.000000000 +0200 +++ /etc/rc.conf 2012-12-20 16:53:18.000000000 +0200 @@ -31,3 +31,6 @@ # natd_enable="YES" # natd_flags="-f /etc/natd.conf" # natd_interface="em0" +named_enable="YES" +named_flags="-u bind -g bind" + |
#vim /etc/rc.conf
--- /tmp/l3-saved-3486.19612.6993 2012-12-20 16:52:08.000000000 +0200 +++ /etc/rc.conf 2012-12-20 16:53:18.000000000 +0200 @@ -31,3 +31,6 @@ # natd_enable="YES" # natd_flags="-f /etc/natd.conf" # natd_interface="em0" +named_enable="YES" +named_flags="-u bind -g bind" + |
#vim /etc/namedb/named.conf
--- /tmp/l3-saved-3486.3973.8990 2012-12-20 16:54:37.000000000 +0200 +++ /etc/namedb/named.conf 2012-12-20 16:57:17.000000000 +0200 @@ -19,7 +19,7 @@ // If named is being used only as a local resolver, this is a safe default. // For named to be accessible to the network, comment this option, specify // the proper IP address, or delete this option. - listen-on { 127.0.0.1; }; + listen-on { 192.168.13.21; 127.0.0.1; }; // If you have IPv6 enabled on this system, uncomment this option for // use as a local resolver. To give access to the network, specify @@ -35,18 +35,18 @@ // If you've got a DNS server around at your upstream provider, enter // its IP address here, and enable the line below. This will make you // benefit from its cache, thus reduce overall DNS traffic in the Internet. -/* + forwarders { - 127.0.0.1; + 192.168.13.253; }; -*/ + // If the 'forwarders' clause is not empty the default is to 'forward first' // which will fall back to sending a query from your local server if the name // servers in 'forwarders' do not have the answer. Alternatively you can // force your name server to never initiate queries of its own by enabling the // following line: -// forward only; + forward only; // If you wish to have forwarding configured automatically based on // the entries in /etc/resolv.conf, uncomment the following line and |
#vim /etc/namedb/named.conf
--- /tmp/l3-saved-3486.3973.8990 2012-12-20 16:54:37.000000000 +0200 +++ /etc/namedb/named.conf 2012-12-20 16:57:17.000000000 +0200 @@ -19,7 +19,7 @@ // If named is being used only as a local resolver, this is a safe default. // For named to be accessible to the network, comment this option, specify // the proper IP address, or delete this option. - listen-on { 127.0.0.1; }; + listen-on { 192.168.13.21; 127.0.0.1; }; // If you have IPv6 enabled on this system, uncomment this option for // use as a local resolver. To give access to the network, specify @@ -35,18 +35,18 @@ // If you've got a DNS server around at your upstream provider, enter // its IP address here, and enable the line below. This will make you // benefit from its cache, thus reduce overall DNS traffic in the Internet. -/* + forwarders { - 127.0.0.1; + 192.168.13.253; }; -*/ + // If the 'forwarders' clause is not empty the default is to 'forward first' // which will fall back to sending a query from your local server if the name // servers in 'forwarders' do not have the answer. Alternatively you can // force your name server to never initiate queries of its own by enabling the // following line: -// forward only; + forward only; // If you wish to have forwarding configured automatically based on // the entries in /etc/resolv.conf, uncomment the following line and |
#vim /etc/namedb/named.conf
--- /tmp/l3-saved-3486.3973.8990 2012-12-20 16:54:37.000000000 +0200 +++ /etc/namedb/named.conf 2012-12-20 16:57:17.000000000 +0200 @@ -19,7 +19,7 @@ // If named is being used only as a local resolver, this is a safe default. // For named to be accessible to the network, comment this option, specify // the proper IP address, or delete this option. - listen-on { 127.0.0.1; }; + listen-on { 192.168.13.21; 127.0.0.1; }; // If you have IPv6 enabled on this system, uncomment this option for // use as a local resolver. To give access to the network, specify @@ -35,18 +35,18 @@ // If you've got a DNS server around at your upstream provider, enter // its IP address here, and enable the line below. This will make you // benefit from its cache, thus reduce overall DNS traffic in the Internet. -/* + forwarders { - 127.0.0.1; + 192.168.13.253; }; -*/ + // If the 'forwarders' clause is not empty the default is to 'forward first' // which will fall back to sending a query from your local server if the name // servers in 'forwarders' do not have the answer. Alternatively you can // force your name server to never initiate queries of its own by enabling the // following line: -// forward only; + forward only; // If you wish to have forwarding configured automatically based on // the entries in /etc/resolv.conf, uncomment the following line and |
#vim /etc/namedb/named.conf
--- /tmp/l3-saved-3486.3973.8990 2012-12-20 16:54:37.000000000 +0200 +++ /etc/namedb/named.conf 2012-12-20 16:57:17.000000000 +0200 @@ -19,7 +19,7 @@ // If named is being used only as a local resolver, this is a safe default. // For named to be accessible to the network, comment this option, specify // the proper IP address, or delete this option. - listen-on { 127.0.0.1; }; + listen-on { 192.168.13.21; 127.0.0.1; }; // If you have IPv6 enabled on this system, uncomment this option for // use as a local resolver. To give access to the network, specify @@ -35,18 +35,18 @@ // If you've got a DNS server around at your upstream provider, enter // its IP address here, and enable the line below. This will make you // benefit from its cache, thus reduce overall DNS traffic in the Internet. -/* + forwarders { - 127.0.0.1; + 192.168.13.253; }; -*/ + // If the 'forwarders' clause is not empty the default is to 'forward first' // which will fall back to sending a query from your local server if the name // servers in 'forwarders' do not have the answer. Alternatively you can // force your name server to never initiate queries of its own by enabling the // following line: -// forward only; + forward only; // If you wish to have forwarding configured automatically based on // the entries in /etc/resolv.conf, uncomment the following line and |
#vim /etc/namedb/named.conf
--- /tmp/l3-saved-3486.3973.8990 2012-12-20 16:54:37.000000000 +0200 +++ /etc/namedb/named.conf 2012-12-20 16:57:17.000000000 +0200 @@ -19,7 +19,7 @@ // If named is being used only as a local resolver, this is a safe default. // For named to be accessible to the network, comment this option, specify // the proper IP address, or delete this option. - listen-on { 127.0.0.1; }; + listen-on { 192.168.13.21; 127.0.0.1; }; // If you have IPv6 enabled on this system, uncomment this option for // use as a local resolver. To give access to the network, specify @@ -35,18 +35,18 @@ // If you've got a DNS server around at your upstream provider, enter // its IP address here, and enable the line below. This will make you // benefit from its cache, thus reduce overall DNS traffic in the Internet. -/* + forwarders { - 127.0.0.1; + 192.168.13.253; }; -*/ + // If the 'forwarders' clause is not empty the default is to 'forward first' // which will fall back to sending a query from your local server if the name // servers in 'forwarders' do not have the answer. Alternatively you can // force your name server to never initiate queries of its own by enabling the // following line: -// forward only; + forward only; // If you wish to have forwarding configured automatically based on // the entries in /etc/resolv.conf, uncomment the following line and |
#vim /etc/namedb/named.conf
--- /tmp/l3-saved-3486.3973.8990 2012-12-20 16:54:37.000000000 +0200 +++ /etc/namedb/named.conf 2012-12-20 16:57:17.000000000 +0200 @@ -19,7 +19,7 @@ // If named is being used only as a local resolver, this is a safe default. // For named to be accessible to the network, comment this option, specify // the proper IP address, or delete this option. - listen-on { 127.0.0.1; }; + listen-on { 192.168.13.21; 127.0.0.1; }; // If you have IPv6 enabled on this system, uncomment this option for // use as a local resolver. To give access to the network, specify @@ -35,18 +35,18 @@ // If you've got a DNS server around at your upstream provider, enter // its IP address here, and enable the line below. This will make you // benefit from its cache, thus reduce overall DNS traffic in the Internet. -/* + forwarders { - 127.0.0.1; + 192.168.13.253; }; -*/ + // If the 'forwarders' clause is not empty the default is to 'forward first' // which will fall back to sending a query from your local server if the name // servers in 'forwarders' do not have the answer. Alternatively you can // force your name server to never initiate queries of its own by enabling the // following line: -// forward only; + forward only; // If you wish to have forwarding configured automatically based on // the entries in /etc/resolv.conf, uncomment the following line and |
#vim /etc/namedb/named.conf
--- /tmp/l3-saved-3486.3973.8990 2012-12-20 16:54:37.000000000 +0200 +++ /etc/namedb/named.conf 2012-12-20 16:57:17.000000000 +0200 @@ -19,7 +19,7 @@ // If named is being used only as a local resolver, this is a safe default. // For named to be accessible to the network, comment this option, specify // the proper IP address, or delete this option. - listen-on { 127.0.0.1; }; + listen-on { 192.168.13.21; 127.0.0.1; }; // If you have IPv6 enabled on this system, uncomment this option for // use as a local resolver. To give access to the network, specify @@ -35,18 +35,18 @@ // If you've got a DNS server around at your upstream provider, enter // its IP address here, and enable the line below. This will make you // benefit from its cache, thus reduce overall DNS traffic in the Internet. -/* + forwarders { - 127.0.0.1; + 192.168.13.253; }; -*/ + // If the 'forwarders' clause is not empty the default is to 'forward first' // which will fall back to sending a query from your local server if the name // servers in 'forwarders' do not have the answer. Alternatively you can // force your name server to never initiate queries of its own by enabling the // following line: -// forward only; + forward only; // If you wish to have forwarding configured automatically based on // the entries in /etc/resolv.conf, uncomment the following line and |
#vim /etc/namedb/named.conf
--- /tmp/l3-saved-3486.3973.8990 2012-12-20 16:54:37.000000000 +0200 +++ /etc/namedb/named.conf 2012-12-20 16:57:17.000000000 +0200 @@ -19,7 +19,7 @@ // If named is being used only as a local resolver, this is a safe default. // For named to be accessible to the network, comment this option, specify // the proper IP address, or delete this option. - listen-on { 127.0.0.1; }; + listen-on { 192.168.13.21; 127.0.0.1; }; // If you have IPv6 enabled on this system, uncomment this option for // use as a local resolver. To give access to the network, specify @@ -35,18 +35,18 @@ // If you've got a DNS server around at your upstream provider, enter // its IP address here, and enable the line below. This will make you // benefit from its cache, thus reduce overall DNS traffic in the Internet. -/* + forwarders { - 127.0.0.1; + 192.168.13.253; }; -*/ + // If the 'forwarders' clause is not empty the default is to 'forward first' // which will fall back to sending a query from your local server if the name // servers in 'forwarders' do not have the answer. Alternatively you can // force your name server to never initiate queries of its own by enabling the // following line: -// forward only; + forward only; // If you wish to have forwarding configured automatically based on // the entries in /etc/resolv.conf, uncomment the following line and |
#vim /etc/namedb/named.conf
--- /tmp/l3-saved-3486.3973.8990 2012-12-20 16:54:37.000000000 +0200 +++ /etc/namedb/named.conf 2012-12-20 16:57:17.000000000 +0200 @@ -19,7 +19,7 @@ // If named is being used only as a local resolver, this is a safe default. // For named to be accessible to the network, comment this option, specify // the proper IP address, or delete this option. - listen-on { 127.0.0.1; }; + listen-on { 192.168.13.21; 127.0.0.1; }; // If you have IPv6 enabled on this system, uncomment this option for // use as a local resolver. To give access to the network, specify @@ -35,18 +35,18 @@ // If you've got a DNS server around at your upstream provider, enter // its IP address here, and enable the line below. This will make you // benefit from its cache, thus reduce overall DNS traffic in the Internet. -/* + forwarders { - 127.0.0.1; + 192.168.13.253; }; -*/ + // If the 'forwarders' clause is not empty the default is to 'forward first' // which will fall back to sending a query from your local server if the name // servers in 'forwarders' do not have the answer. Alternatively you can // force your name server to never initiate queries of its own by enabling the // following line: -// forward only; + forward only; // If you wish to have forwarding configured automatically based on // the entries in /etc/resolv.conf, uncomment the following line and |
#vim /etc/namedb/named.conf
--- /tmp/l3-saved-3486.3973.8990 2012-12-20 16:54:37.000000000 +0200 +++ /etc/namedb/named.conf 2012-12-20 16:57:17.000000000 +0200 @@ -19,7 +19,7 @@ // If named is being used only as a local resolver, this is a safe default. // For named to be accessible to the network, comment this option, specify // the proper IP address, or delete this option. - listen-on { 127.0.0.1; }; + listen-on { 192.168.13.21; 127.0.0.1; }; // If you have IPv6 enabled on this system, uncomment this option for // use as a local resolver. To give access to the network, specify @@ -35,18 +35,18 @@ // If you've got a DNS server around at your upstream provider, enter // its IP address here, and enable the line below. This will make you // benefit from its cache, thus reduce overall DNS traffic in the Internet. -/* + forwarders { - 127.0.0.1; + 192.168.13.253; }; -*/ + // If the 'forwarders' clause is not empty the default is to 'forward first' // which will fall back to sending a query from your local server if the name // servers in 'forwarders' do not have the answer. Alternatively you can // force your name server to never initiate queries of its own by enabling the // following line: -// forward only; + forward only; // If you wish to have forwarding configured automatically based on // the entries in /etc/resolv.conf, uncomment the following line and |
#vim /etc/namedb/named.conf
--- /tmp/l3-saved-3486.3973.8990 2012-12-20 16:54:37.000000000 +0200 +++ /etc/namedb/named.conf 2012-12-20 16:57:17.000000000 +0200 @@ -19,7 +19,7 @@ // If named is being used only as a local resolver, this is a safe default. // For named to be accessible to the network, comment this option, specify // the proper IP address, or delete this option. - listen-on { 127.0.0.1; }; + listen-on { 192.168.13.21; 127.0.0.1; }; // If you have IPv6 enabled on this system, uncomment this option for // use as a local resolver. To give access to the network, specify @@ -35,18 +35,18 @@ // If you've got a DNS server around at your upstream provider, enter // its IP address here, and enable the line below. This will make you // benefit from its cache, thus reduce overall DNS traffic in the Internet. -/* + forwarders { - 127.0.0.1; + 192.168.13.253; }; -*/ + // If the 'forwarders' clause is not empty the default is to 'forward first' // which will fall back to sending a query from your local server if the name // servers in 'forwarders' do not have the answer. Alternatively you can // force your name server to never initiate queries of its own by enabling the // following line: -// forward only; + forward only; // If you wish to have forwarding configured automatically based on // the entries in /etc/resolv.conf, uncomment the following line and |
#named -ubind -g bind
usage: named [-4|-6] [-c conffile] [-d debuglevel] [-f|-g] [-n number_of_cpus] [-p port] [-s] [-t chrootdir] [-u username] [-m {usage|trace|record|size|mctx}] named: extra command line arguments |
#named -ubind -g bind
usage: named [-4|-6] [-c conffile] [-d debuglevel] [-f|-g] [-n number_of_cpus] [-p port] [-s] [-t chrootdir] [-u username] [-m {usage|trace|record|size|mctx}] named: extra command line arguments |
#named -ubind -g bind
usage: named [-4|-6] [-c conffile] [-d debuglevel] [-f|-g] [-n number_of_cpus] [-p port] [-s] [-t chrootdir] [-u username] [-m {usage|trace|record|size|mctx}] named: extra command line arguments |
#named -ubind -g bind
usage: named [-4|-6] [-c conffile] [-d debuglevel] [-f|-g] [-n number_of_cpus] [-p port] [-s] [-t chrootdir] [-u username] [-m {usage|trace|record|size|mctx}] named: extra command line arguments |
#named -ubind -g bind
usage: named [-4|-6] [-c conffile] [-d debuglevel] [-f|-g] [-n number_of_cpus] [-p port] [-s] [-t chrootdir] [-u username] [-m {usage|trace|record|size|mctx}] named: extra command line arguments |
#named -ubind -g bind
usage: named [-4|-6] [-c conffile] [-d debuglevel] [-f|-g] [-n number_of_cpus] [-p port] [-s] [-t chrootdir] [-u username] [-m {usage|trace|record|size|mctx}] named: extra command line arguments |
#named -ubind -g bind
usage: named [-4|-6] [-c conffile] [-d debuglevel] [-f|-g] [-n number_of_cpus] [-p port] [-s] [-t chrootdir] [-u username] [-m {usage|trace|record|size|mctx}] named: extra command line arguments |
#named -ubind -g bind
usage: named [-4|-6] [-c conffile] [-d debuglevel] [-f|-g] [-n number_of_cpus] [-p port] [-s] [-t chrootdir] [-u username] [-m {usage|trace|record|size|mctx}] named: extra command line arguments |
#named -ubind -g bind
usage: named [-4|-6] [-c conffile] [-d debuglevel] [-f|-g] [-n number_of_cpus] [-p port] [-s] [-t chrootdir] [-u username] [-m {usage|trace|record|size|mctx}] named: extra command line arguments |
#named -ubind -g bind
usage: named [-4|-6] [-c conffile] [-d debuglevel] [-f|-g] [-n number_of_cpus] [-p port] [-s] [-t chrootdir] [-u username] [-m {usage|trace|record|size|mctx}] named: extra command line arguments |
#named -ubind -g bind
usage: named [-4|-6] [-c conffile] [-d debuglevel] [-f|-g] [-n number_of_cpus] [-p port] [-s] [-t chrootdir] [-u username] [-m {usage|trace|record|size|mctx}] named: extra command line arguments |
#named -ubind -g bind
usage: named [-4|-6] [-c conffile] [-d debuglevel] [-f|-g] [-n number_of_cpus] [-p port] [-s] [-t chrootdir] [-u username] [-m {usage|trace|record|size|mctx}] named: extra command line arguments |
#named -ubind -g bind
usage: named [-4|-6] [-c conffile] [-d debuglevel] [-f|-g] [-n number_of_cpus] [-p port] [-s] [-t chrootdir] [-u username] [-m {usage|trace|record|size|mctx}] named: extra command line arguments |
#named -ubind -g bind
usage: named [-4|-6] [-c conffile] [-d debuglevel] [-f|-g] [-n number_of_cpus] [-p port] [-s] [-t chrootdir] [-u username] [-m {usage|trace|record|size|mctx}] named: extra command line arguments |
#named -ubind -g bind
usage: named [-4|-6] [-c conffile] [-d debuglevel] [-f|-g] [-n number_of_cpus] [-p port] [-s] [-t chrootdir] [-u username] [-m {usage|trace|record|size|mctx}] named: extra command line arguments |
#named -ubind -g bind
usage: named [-4|-6] [-c conffile] [-d debuglevel] [-f|-g] [-n number_of_cpus] [-p port] [-s] [-t chrootdir] [-u username] [-m {usage|trace|record|size|mctx}] named: extra command line arguments |
#named -u ind -g bind
usage: named [-4|-6] [-c conffile] [-d debuglevel] [-f|-g] [-n number_of_cpus] [-p port] [-s] [-t chrootdir] [-u username] [-m {usage|trace|record|size|mctx}] named: extra command line arguments |
#named -u ind -g bind
usage: named [-4|-6] [-c conffile] [-d debuglevel] [-f|-g] [-n number_of_cpus] [-p port] [-s] [-t chrootdir] [-u username] [-m {usage|trace|record|size|mctx}] named: extra command line arguments |
#named -u ind -g bind
usage: named [-4|-6] [-c conffile] [-d debuglevel] [-f|-g] [-n number_of_cpus] [-p port] [-s] [-t chrootdir] [-u username] [-m {usage|trace|record|size|mctx}] named: extra command line arguments |
#named -u ind -g bind
usage: named [-4|-6] [-c conffile] [-d debuglevel] [-f|-g] [-n number_of_cpus] [-p port] [-s] [-t chrootdir] [-u username] [-m {usage|trace|record|size|mctx}] named: extra command line arguments |
#named -u ind -g bind
usage: named [-4|-6] [-c conffile] [-d debuglevel] [-f|-g] [-n number_of_cpus] [-p port] [-s] [-t chrootdir] [-u username] [-m {usage|trace|record|size|mctx}] named: extra command line arguments |
#named -u ind -g bind
usage: named [-4|-6] [-c conffile] [-d debuglevel] [-f|-g] [-n number_of_cpus] [-p port] [-s] [-t chrootdir] [-u username] [-m {usage|trace|record|size|mctx}] named: extra command line arguments |
#named -u ind -g bind
usage: named [-4|-6] [-c conffile] [-d debuglevel] [-f|-g] [-n number_of_cpus] [-p port] [-s] [-t chrootdir] [-u username] [-m {usage|trace|record|size|mctx}] named: extra command line arguments |
#named -u ind -g bind
usage: named [-4|-6] [-c conffile] [-d debuglevel] [-f|-g] [-n number_of_cpus] [-p port] [-s] [-t chrootdir] [-u username] [-m {usage|trace|record|size|mctx}] named: extra command line arguments |
#named -u ind -g bind
usage: named [-4|-6] [-c conffile] [-d debuglevel] [-f|-g] [-n number_of_cpus] [-p port] [-s] [-t chrootdir] [-u username] [-m {usage|trace|record|size|mctx}] named: extra command line arguments |
#named -u ind -g bind
usage: named [-4|-6] [-c conffile] [-d debuglevel] [-f|-g] [-n number_of_cpus] [-p port] [-s] [-t chrootdir] [-u username] [-m {usage|trace|record|size|mctx}] named: extra command line arguments |
#named -u ind -g bind
usage: named [-4|-6] [-c conffile] [-d debuglevel] [-f|-g] [-n number_of_cpus] [-p port] [-s] [-t chrootdir] [-u username] [-m {usage|trace|record|size|mctx}] named: extra command line arguments |
#named -u ind -g bind
usage: named [-4|-6] [-c conffile] [-d debuglevel] [-f|-g] [-n number_of_cpus] [-p port] [-s] [-t chrootdir] [-u username] [-m {usage|trace|record|size|mctx}] named: extra command line arguments |
#named -u ind -g bind
usage: named [-4|-6] [-c conffile] [-d debuglevel] [-f|-g] [-n number_of_cpus] [-p port] [-s] [-t chrootdir] [-u username] [-m {usage|trace|record|size|mctx}] named: extra command line arguments |
#named -u ind -g bind
usage: named [-4|-6] [-c conffile] [-d debuglevel] [-f|-g] [-n number_of_cpus] [-p port] [-s] [-t chrootdir] [-u username] [-m {usage|trace|record|size|mctx}] named: extra command line arguments |
#named -u ind -g bind
usage: named [-4|-6] [-c conffile] [-d debuglevel] [-f|-g] [-n number_of_cpus] [-p port] [-s] [-t chrootdir] [-u username] [-m {usage|trace|record|size|mctx}] named: extra command line arguments |
#named -u ind -g bind
usage: named [-4|-6] [-c conffile] [-d debuglevel] [-f|-g] [-n number_of_cpus] [-p port] [-s] [-t chrootdir] [-u username] [-m {usage|trace|record|size|mctx}] named: extra command line arguments |
#shutdown -r now
Shutdown NOW! shutdown: [pid 17604] |
#shutdown -r now
Shutdown NOW! shutdown: [pid 17604] |
#shutdown -r now
Shutdown NOW! shutdown: [pid 17604] |
#shutdown -r now
Shutdown NOW! shutdown: [pid 17604] |
#shutdown -r now
Shutdown NOW! shutdown: [pid 17604] |
#shutdown -r now
Shutdown NOW! shutdown: [pid 17604] |
#shutdown -r now
Shutdown NOW! shutdown: [pid 17604] |
#shutdown -r now
Shutdown NOW! shutdown: [pid 17604] |
#shutdown -r now
Shutdown NOW! shutdown: [pid 17604] |
#shutdown -r now
Shutdown NOW! shutdown: [pid 17604] |
#ls -lF /etc/rc.d/
total 396 -r-xr-xr-x 1 root wheel 247 Feb 18 2011 DAEMON* -r-xr-xr-x 1 root wheel 419 Feb 18 2011 FILESYSTEMS* -r-xr-xr-x 1 root wheel 410 Feb 18 2011 LOGIN* -r-xr-xr-x 1 root wheel 358 Feb 18 2011 NETWORKING* -r-xr-xr-x 1 root wheel 250 Feb 18 2011 SERVERS* -r-xr-xr-x 1 root wheel 1159 Feb 18 2011 abi* -r-xr-xr-x 1 root wheel 959 Feb 18 2011 accounting* -r-xr-xr-x 1 root wheel 550 Feb 18 2011 addswap* -r-xr-xr-x 1 root wheel 299 Feb 18 2011 adjkerntz* ... -r-xr-xr-x 1 root wheel 1679 Feb 18 2011 watchdogd* -r-xr-xr-x 1 root wheel 835 Feb 18 2011 wpa_supplicant* -r-xr-xr-x 1 root wheel 642 Feb 18 2011 ypbind* -r-xr-xr-x 1 root wheel 808 Feb 18 2011 yppasswdd* -r-xr-xr-x 1 root wheel 727 Feb 18 2011 ypserv* -r-xr-xr-x 1 root wheel 752 Feb 18 2011 ypset* -r-xr-xr-x 1 root wheel 762 Feb 18 2011 ypupdated* -r-xr-xr-x 1 root wheel 771 Feb 18 2011 ypxfrd* -r-xr-xr-x 1 root wheel 884 Feb 18 2011 zfs* -r-xr-xr-x 1 root wheel 817 Feb 18 2011 zvol* |
#ls -lF /etc/rc.d/
total 396 -r-xr-xr-x 1 root wheel 247 Feb 18 2011 DAEMON* -r-xr-xr-x 1 root wheel 419 Feb 18 2011 FILESYSTEMS* -r-xr-xr-x 1 root wheel 410 Feb 18 2011 LOGIN* -r-xr-xr-x 1 root wheel 358 Feb 18 2011 NETWORKING* -r-xr-xr-x 1 root wheel 250 Feb 18 2011 SERVERS* -r-xr-xr-x 1 root wheel 1159 Feb 18 2011 abi* -r-xr-xr-x 1 root wheel 959 Feb 18 2011 accounting* -r-xr-xr-x 1 root wheel 550 Feb 18 2011 addswap* -r-xr-xr-x 1 root wheel 299 Feb 18 2011 adjkerntz* ... -r-xr-xr-x 1 root wheel 1679 Feb 18 2011 watchdogd* -r-xr-xr-x 1 root wheel 835 Feb 18 2011 wpa_supplicant* -r-xr-xr-x 1 root wheel 642 Feb 18 2011 ypbind* -r-xr-xr-x 1 root wheel 808 Feb 18 2011 yppasswdd* -r-xr-xr-x 1 root wheel 727 Feb 18 2011 ypserv* -r-xr-xr-x 1 root wheel 752 Feb 18 2011 ypset* -r-xr-xr-x 1 root wheel 762 Feb 18 2011 ypupdated* -r-xr-xr-x 1 root wheel 771 Feb 18 2011 ypxfrd* -r-xr-xr-x 1 root wheel 884 Feb 18 2011 zfs* -r-xr-xr-x 1 root wheel 817 Feb 18 2011 zvol* |
#ls -lF /etc/rc.d/
total 396 -r-xr-xr-x 1 root wheel 247 Feb 18 2011 DAEMON* -r-xr-xr-x 1 root wheel 419 Feb 18 2011 FILESYSTEMS* -r-xr-xr-x 1 root wheel 410 Feb 18 2011 LOGIN* -r-xr-xr-x 1 root wheel 358 Feb 18 2011 NETWORKING* -r-xr-xr-x 1 root wheel 250 Feb 18 2011 SERVERS* -r-xr-xr-x 1 root wheel 1159 Feb 18 2011 abi* -r-xr-xr-x 1 root wheel 959 Feb 18 2011 accounting* -r-xr-xr-x 1 root wheel 550 Feb 18 2011 addswap* -r-xr-xr-x 1 root wheel 299 Feb 18 2011 adjkerntz* ... -r-xr-xr-x 1 root wheel 1679 Feb 18 2011 watchdogd* -r-xr-xr-x 1 root wheel 835 Feb 18 2011 wpa_supplicant* -r-xr-xr-x 1 root wheel 642 Feb 18 2011 ypbind* -r-xr-xr-x 1 root wheel 808 Feb 18 2011 yppasswdd* -r-xr-xr-x 1 root wheel 727 Feb 18 2011 ypserv* -r-xr-xr-x 1 root wheel 752 Feb 18 2011 ypset* -r-xr-xr-x 1 root wheel 762 Feb 18 2011 ypupdated* -r-xr-xr-x 1 root wheel 771 Feb 18 2011 ypxfrd* -r-xr-xr-x 1 root wheel 884 Feb 18 2011 zfs* -r-xr-xr-x 1 root wheel 817 Feb 18 2011 zvol* |
#ls -lF /etc/rc.d/
total 396 -r-xr-xr-x 1 root wheel 247 Feb 18 2011 DAEMON* -r-xr-xr-x 1 root wheel 419 Feb 18 2011 FILESYSTEMS* -r-xr-xr-x 1 root wheel 410 Feb 18 2011 LOGIN* -r-xr-xr-x 1 root wheel 358 Feb 18 2011 NETWORKING* -r-xr-xr-x 1 root wheel 250 Feb 18 2011 SERVERS* -r-xr-xr-x 1 root wheel 1159 Feb 18 2011 abi* -r-xr-xr-x 1 root wheel 959 Feb 18 2011 accounting* -r-xr-xr-x 1 root wheel 550 Feb 18 2011 addswap* -r-xr-xr-x 1 root wheel 299 Feb 18 2011 adjkerntz* ... -r-xr-xr-x 1 root wheel 1679 Feb 18 2011 watchdogd* -r-xr-xr-x 1 root wheel 835 Feb 18 2011 wpa_supplicant* -r-xr-xr-x 1 root wheel 642 Feb 18 2011 ypbind* -r-xr-xr-x 1 root wheel 808 Feb 18 2011 yppasswdd* -r-xr-xr-x 1 root wheel 727 Feb 18 2011 ypserv* -r-xr-xr-x 1 root wheel 752 Feb 18 2011 ypset* -r-xr-xr-x 1 root wheel 762 Feb 18 2011 ypupdated* -r-xr-xr-x 1 root wheel 771 Feb 18 2011 ypxfrd* -r-xr-xr-x 1 root wheel 884 Feb 18 2011 zfs* -r-xr-xr-x 1 root wheel 817 Feb 18 2011 zvol* |
#ls F /etc/rc.d/
ls: F: No such file or directory /etc/rc.d/: DAEMON ftpd mountcritremote route6d FILESYSTEMS gbde mountd routed LOGIN geli mountlate routing NETWORKING geli2 moused rpcbind SERVERS gptboot mroute6d rtadvd abi gssd mrouted rtsold accounting hastd msgs rwho addswap hcsecd named savecore ... ddb ldconfig powerd ypbind defaultroute local ppp yppasswdd devd localpkg pppoed ypserv devfs lockd pwcheck ypset dhclient lpd quota ypupdated dmesg mdconfig random ypxfrd dumpon mdconfig2 rarpd zfs encswap mixer resolv zvol fsck motd rfcomm_pppd_server ftp-proxy mountcritlocal root |
#ls - /etc/rc.d/
DAEMON* ftpd* mountcritremote* route6d* FILESYSTEMS* gbde* mountd* routed* LOGIN* geli* mountlate* routing* NETWORKING* geli2* moused* rpcbind* SERVERS* gptboot* mroute6d* rtadvd* abi* gssd* mrouted* rtsold* accounting* hastd* msgs* rwho* addswap* hcsecd* named* savecore* adjkerntz* hostapd* natd* sdpd* amd* hostid* netif* securelevel* ... ddb* ldconfig* powerd* ypbind* defaultroute* local* ppp* yppasswdd* devd* localpkg* pppoed* ypserv* devfs* lockd* pwcheck* ypset* dhclient* lpd* quota* ypupdated* dmesg* mdconfig* random* ypxfrd* dumpon* mdconfig2* rarpd* zfs* encswap* mixer* resolv* zvol* fsck* motd* rfcomm_pppd_server* ftp-proxy* mountcritlocal* root* |
#ls - /etc/rc.d/
DAEMON* ftpd* mountcritremote* route6d* FILESYSTEMS* gbde* mountd* routed* LOGIN* geli* mountlate* routing* NETWORKING* geli2* moused* rpcbind* SERVERS* gptboot* mroute6d* rtadvd* abi* gssd* mrouted* rtsold* accounting* hastd* msgs* rwho* addswap* hcsecd* named* savecore* adjkerntz* hostapd* natd* sdpd* amd* hostid* netif* securelevel* ... ddb* ldconfig* powerd* ypbind* defaultroute* local* ppp* yppasswdd* devd* localpkg* pppoed* ypserv* devfs* lockd* pwcheck* ypset* dhclient* lpd* quota* ypupdated* dmesg* mdconfig* random* ypxfrd* dumpon* mdconfig2* rarpd* zfs* encswap* mixer* resolv* zvol* fsck* motd* rfcomm_pppd_server* ftp-proxy* mountcritlocal* root* |
#ls - /etc/rc.d/
DAEMON* ftpd* mountcritremote* route6d* FILESYSTEMS* gbde* mountd* routed* LOGIN* geli* mountlate* routing* NETWORKING* geli2* moused* rpcbind* SERVERS* gptboot* mroute6d* rtadvd* abi* gssd* mrouted* rtsold* accounting* hastd* msgs* rwho* addswap* hcsecd* named* savecore* adjkerntz* hostapd* natd* sdpd* amd* hostid* netif* securelevel* ... ddb* ldconfig* powerd* ypbind* defaultroute* local* ppp* yppasswdd* devd* localpkg* pppoed* ypserv* devfs* lockd* pwcheck* ypset* dhclient* lpd* quota* ypupdated* dmesg* mdconfig* random* ypxfrd* dumpon* mdconfig2* rarpd* zfs* encswap* mixer* resolv* zvol* fsck* motd* rfcomm_pppd_server* ftp-proxy* mountcritlocal* root* |
#ls - /etc/rc.d/
DAEMON* ftpd* mountcritremote* route6d* FILESYSTEMS* gbde* mountd* routed* LOGIN* geli* mountlate* routing* NETWORKING* geli2* moused* rpcbind* SERVERS* gptboot* mroute6d* rtadvd* abi* gssd* mrouted* rtsold* accounting* hastd* msgs* rwho* addswap* hcsecd* named* savecore* adjkerntz* hostapd* natd* sdpd* amd* hostid* netif* securelevel* ... ddb* ldconfig* powerd* ypbind* defaultroute* local* ppp* yppasswdd* devd* localpkg* pppoed* ypserv* devfs* lockd* pwcheck* ypset* dhclient* lpd* quota* ypupdated* dmesg* mdconfig* random* ypxfrd* dumpon* mdconfig2* rarpd* zfs* encswap* mixer* resolv* zvol* fsck* motd* rfcomm_pppd_server* ftp-proxy* mountcritlocal* root* |
#netstat -nlp
netstat: option requires an argument -- p usage: netstat [-AaLnSWx] [-f protocol_family | -p protocol] [-M core] [-N system] netstat -i | -I interface [-abdhntW] [-f address_family] [-M core] [-N system] netstat -w wait [-I interface] [-d] [-M core] [-N system] [-q howmany] netstat -s [-s] [-z] [-f protocol_family | -p protocol] [-M core] [-N system] netstat -i | -I interface -s [-f protocol_family | -p protocol] [-M core] [-N system] netstat -m [-M core] [-N system] netstat -B [-I interface] netstat -r [-AanW] [-f address_family] [-M core] [-N system] netstat -rs [-s] [-M core] [-N system] netstat -g [-W] [-f address_family] [-M core] [-N system] netstat -gs [-s] [-f address_family] [-M core] [-N system] |
#netstat -nlp
netstat: option requires an argument -- p usage: netstat [-AaLnSWx] [-f protocol_family | -p protocol] [-M core] [-N system] netstat -i | -I interface [-abdhntW] [-f address_family] [-M core] [-N system] netstat -w wait [-I interface] [-d] [-M core] [-N system] [-q howmany] netstat -s [-s] [-z] [-f protocol_family | -p protocol] [-M core] [-N system] netstat -i | -I interface -s [-f protocol_family | -p protocol] [-M core] [-N system] netstat -m [-M core] [-N system] netstat -B [-I interface] netstat -r [-AanW] [-f address_family] [-M core] [-N system] netstat -rs [-s] [-M core] [-N system] netstat -g [-W] [-f address_family] [-M core] [-N system] netstat -gs [-s] [-f address_family] [-M core] [-N system] |
#netstat -nlp
netstat: option requires an argument -- p usage: netstat [-AaLnSWx] [-f protocol_family | -p protocol] [-M core] [-N system] netstat -i | -I interface [-abdhntW] [-f address_family] [-M core] [-N system] netstat -w wait [-I interface] [-d] [-M core] [-N system] [-q howmany] netstat -s [-s] [-z] [-f protocol_family | -p protocol] [-M core] [-N system] netstat -i | -I interface -s [-f protocol_family | -p protocol] [-M core] [-N system] netstat -m [-M core] [-N system] netstat -B [-I interface] netstat -r [-AanW] [-f address_family] [-M core] [-N system] netstat -rs [-s] [-M core] [-N system] netstat -g [-W] [-f address_family] [-M core] [-N system] netstat -gs [-s] [-f address_family] [-M core] [-N system] |
#netstat -nlp
netstat: option requires an argument -- p usage: netstat [-AaLnSWx] [-f protocol_family | -p protocol] [-M core] [-N system] netstat -i | -I interface [-abdhntW] [-f address_family] [-M core] [-N system] netstat -w wait [-I interface] [-d] [-M core] [-N system] [-q howmany] netstat -s [-s] [-z] [-f protocol_family | -p protocol] [-M core] [-N system] netstat -i | -I interface -s [-f protocol_family | -p protocol] [-M core] [-N system] netstat -m [-M core] [-N system] netstat -B [-I interface] netstat -r [-AanW] [-f address_family] [-M core] [-N system] netstat -rs [-s] [-M core] [-N system] netstat -g [-W] [-f address_family] [-M core] [-N system] netstat -gs [-s] [-f address_family] [-M core] [-N system] |
#sockstat
USER COMMAND PID FD PROTO LOCAL ADDRESS FOREIGN ADDRESS root sshd 2522 3 tcp4 192.168.13.21:22 192.168.15.101:49173 bind named 2442 3 dgram -> /var/run/logpriv bind named 2442 20 tcp4 192.168.13.21:53 *:* bind named 2442 21 tcp4 127.0.0.1:53 *:* bind named 2442 22 tcp4 127.0.0.1:953 *:* bind named 2442 23 tcp6 ::1:953 *:* bind named 2442 512 udp4 192.168.13.21:53 *:* bind named 2442 513 udp4 127.0.0.1:53 *:* smmsp sendmail 1327 3 dgram -> /var/run/log ... root xinetd 1165 7 dgram -> /var/run/logpriv root xinetd 1165 8 tcp4 *:23 *:* root syslogd 946 4 dgram /var/run/log root syslogd 946 5 dgram /var/run/logpriv root syslogd 946 6 dgram /var/run/log root syslogd 946 7 dgram /var/named/var/run/log root syslogd 946 8 udp6 *:514 *:* root syslogd 946 9 udp4 *:514 *:* root devd 776 4 stream /var/run/devd.pipe root moused 745 4 stream /var/run/devd.pipe |
#sockstat
USER COMMAND PID FD PROTO LOCAL ADDRESS FOREIGN ADDRESS root sshd 2522 3 tcp4 192.168.13.21:22 192.168.15.101:49173 bind named 2442 3 dgram -> /var/run/logpriv bind named 2442 20 tcp4 192.168.13.21:53 *:* bind named 2442 21 tcp4 127.0.0.1:53 *:* bind named 2442 22 tcp4 127.0.0.1:953 *:* bind named 2442 23 tcp6 ::1:953 *:* bind named 2442 512 udp4 192.168.13.21:53 *:* bind named 2442 513 udp4 127.0.0.1:53 *:* smmsp sendmail 1327 3 dgram -> /var/run/log ... root xinetd 1165 7 dgram -> /var/run/logpriv root xinetd 1165 8 tcp4 *:23 *:* root syslogd 946 4 dgram /var/run/log root syslogd 946 5 dgram /var/run/logpriv root syslogd 946 6 dgram /var/run/log root syslogd 946 7 dgram /var/named/var/run/log root syslogd 946 8 udp6 *:514 *:* root syslogd 946 9 udp4 *:514 *:* root devd 776 4 stream /var/run/devd.pipe root moused 745 4 stream /var/run/devd.pipe |
#sockstat
USER COMMAND PID FD PROTO LOCAL ADDRESS FOREIGN ADDRESS root sshd 2522 3 tcp4 192.168.13.21:22 192.168.15.101:49173 bind named 2442 3 dgram -> /var/run/logpriv bind named 2442 20 tcp4 192.168.13.21:53 *:* bind named 2442 21 tcp4 127.0.0.1:53 *:* bind named 2442 22 tcp4 127.0.0.1:953 *:* bind named 2442 23 tcp6 ::1:953 *:* bind named 2442 512 udp4 192.168.13.21:53 *:* bind named 2442 513 udp4 127.0.0.1:53 *:* smmsp sendmail 1327 3 dgram -> /var/run/log ... root xinetd 1165 7 dgram -> /var/run/logpriv root xinetd 1165 8 tcp4 *:23 *:* root syslogd 946 4 dgram /var/run/log root syslogd 946 5 dgram /var/run/logpriv root syslogd 946 6 dgram /var/run/log root syslogd 946 7 dgram /var/named/var/run/log root syslogd 946 8 udp6 *:514 *:* root syslogd 946 9 udp4 *:514 *:* root devd 776 4 stream /var/run/devd.pipe root moused 745 4 stream /var/run/devd.pipe |
#sockstat
USER COMMAND PID FD PROTO LOCAL ADDRESS FOREIGN ADDRESS root sshd 2522 3 tcp4 192.168.13.21:22 192.168.15.101:49173 bind named 2442 3 dgram -> /var/run/logpriv bind named 2442 20 tcp4 192.168.13.21:53 *:* bind named 2442 21 tcp4 127.0.0.1:53 *:* bind named 2442 22 tcp4 127.0.0.1:953 *:* bind named 2442 23 tcp6 ::1:953 *:* bind named 2442 512 udp4 192.168.13.21:53 *:* bind named 2442 513 udp4 127.0.0.1:53 *:* smmsp sendmail 1327 3 dgram -> /var/run/log ... root xinetd 1165 7 dgram -> /var/run/logpriv root xinetd 1165 8 tcp4 *:23 *:* root syslogd 946 4 dgram /var/run/log root syslogd 946 5 dgram /var/run/logpriv root syslogd 946 6 dgram /var/run/log root syslogd 946 7 dgram /var/named/var/run/log root syslogd 946 8 udp6 *:514 *:* root syslogd 946 9 udp4 *:514 *:* root devd 776 4 stream /var/run/devd.pipe root moused 745 4 stream /var/run/devd.pipe |
#sockstat -n
sockstat: illegal option -- n Usage: sockstat [-46cLlu] [-p ports] [-P protocols] |
#sockstat -nlp
sockstat: illegal option -- n Usage: sockstat [-46cLlu] [-p ports] [-P protocols] |
#sockstat -nlp
sockstat: illegal option -- n Usage: sockstat [-46cLlu] [-p ports] [-P protocols] |
#sockstat -nlp
sockstat: illegal option -- n Usage: sockstat [-46cLlu] [-p ports] [-P protocols] |
#sockstat -nlp
sockstat: illegal option -- n Usage: sockstat [-46cLlu] [-p ports] [-P protocols] |
#sockstat
USER COMMAND PID FD PROTO LOCAL ADDRESS FOREIGN ADDRESS root sshd 2522 3 tcp4 192.168.13.21:22 192.168.15.101:49173 bind named 2442 3 dgram -> /var/run/logpriv bind named 2442 20 tcp4 192.168.13.21:53 *:* bind named 2442 21 tcp4 127.0.0.1:53 *:* bind named 2442 22 tcp4 127.0.0.1:953 *:* bind named 2442 23 tcp6 ::1:953 *:* bind named 2442 512 udp4 192.168.13.21:53 *:* bind named 2442 513 udp4 127.0.0.1:53 *:* smmsp sendmail 1327 3 dgram -> /var/run/log ... root xinetd 1165 7 dgram -> /var/run/logpriv root xinetd 1165 8 tcp4 *:23 *:* root syslogd 946 4 dgram /var/run/log root syslogd 946 5 dgram /var/run/logpriv root syslogd 946 6 dgram /var/run/log root syslogd 946 7 dgram /var/named/var/run/log root syslogd 946 8 udp6 *:514 *:* root syslogd 946 9 udp4 *:514 *:* root devd 776 4 stream /var/run/devd.pipe root moused 745 4 stream /var/run/devd.pipe |
#sockstat
USER COMMAND PID FD PROTO LOCAL ADDRESS FOREIGN ADDRESS root sshd 2522 3 tcp4 192.168.13.21:22 192.168.15.101:49173 bind named 2442 3 dgram -> /var/run/logpriv bind named 2442 20 tcp4 192.168.13.21:53 *:* bind named 2442 21 tcp4 127.0.0.1:53 *:* bind named 2442 22 tcp4 127.0.0.1:953 *:* bind named 2442 23 tcp6 ::1:953 *:* bind named 2442 512 udp4 192.168.13.21:53 *:* bind named 2442 513 udp4 127.0.0.1:53 *:* smmsp sendmail 1327 3 dgram -> /var/run/log ... root xinetd 1165 7 dgram -> /var/run/logpriv root xinetd 1165 8 tcp4 *:23 *:* root syslogd 946 4 dgram /var/run/log root syslogd 946 5 dgram /var/run/logpriv root syslogd 946 6 dgram /var/run/log root syslogd 946 7 dgram /var/named/var/run/log root syslogd 946 8 udp6 *:514 *:* root syslogd 946 9 udp4 *:514 *:* root devd 776 4 stream /var/run/devd.pipe root moused 745 4 stream /var/run/devd.pipe |
#sockstat
USER COMMAND PID FD PROTO LOCAL ADDRESS FOREIGN ADDRESS root sshd 2522 3 tcp4 192.168.13.21:22 192.168.15.101:49173 bind named 2442 3 dgram -> /var/run/logpriv bind named 2442 20 tcp4 192.168.13.21:53 *:* bind named 2442 21 tcp4 127.0.0.1:53 *:* bind named 2442 22 tcp4 127.0.0.1:953 *:* bind named 2442 23 tcp6 ::1:953 *:* bind named 2442 512 udp4 192.168.13.21:53 *:* bind named 2442 513 udp4 127.0.0.1:53 *:* smmsp sendmail 1327 3 dgram -> /var/run/log ... root xinetd 1165 7 dgram -> /var/run/logpriv root xinetd 1165 8 tcp4 *:23 *:* root syslogd 946 4 dgram /var/run/log root syslogd 946 5 dgram /var/run/logpriv root syslogd 946 6 dgram /var/run/log root syslogd 946 7 dgram /var/named/var/run/log root syslogd 946 8 udp6 *:514 *:* root syslogd 946 9 udp4 *:514 *:* root devd 776 4 stream /var/run/devd.pipe root moused 745 4 stream /var/run/devd.pipe |
#sockstat
USER COMMAND PID FD PROTO LOCAL ADDRESS FOREIGN ADDRESS root sshd 2522 3 tcp4 192.168.13.21:22 192.168.15.101:49173 bind named 2442 3 dgram -> /var/run/logpriv bind named 2442 20 tcp4 192.168.13.21:53 *:* bind named 2442 21 tcp4 127.0.0.1:53 *:* bind named 2442 22 tcp4 127.0.0.1:953 *:* bind named 2442 23 tcp6 ::1:953 *:* bind named 2442 512 udp4 192.168.13.21:53 *:* bind named 2442 513 udp4 127.0.0.1:53 *:* smmsp sendmail 1327 3 dgram -> /var/run/log ... root xinetd 1165 7 dgram -> /var/run/logpriv root xinetd 1165 8 tcp4 *:23 *:* root syslogd 946 4 dgram /var/run/log root syslogd 946 5 dgram /var/run/logpriv root syslogd 946 6 dgram /var/run/log root syslogd 946 7 dgram /var/named/var/run/log root syslogd 946 8 udp6 *:514 *:* root syslogd 946 9 udp4 *:514 *:* root devd 776 4 stream /var/run/devd.pipe root moused 745 4 stream /var/run/devd.pipe |
#sockstat 4
Usage: sockstat [-46cLlu] [-p ports] [-P protocols] |
#sockstat -4
USER COMMAND PID FD PROTO LOCAL ADDRESS FOREIGN ADDRESS root sshd 2522 3 tcp4 192.168.13.21:22 192.168.15.101:49173 bind named 2442 20 tcp4 192.168.13.21:53 *:* bind named 2442 21 tcp4 127.0.0.1:53 *:* bind named 2442 22 tcp4 127.0.0.1:953 *:* bind named 2442 512 udp4 192.168.13.21:53 *:* bind named 2442 513 udp4 127.0.0.1:53 *:* root sendmail 1323 4 tcp4 127.0.0.1:25 *:* root sshd 1315 4 tcp4 *:22 *:* root xinetd 1165 0 tcp4 *:19 *:* root xinetd 1165 6 tcp4 *:7 *:* root xinetd 1165 8 tcp4 *:23 *:* root syslogd 946 9 udp4 *:514 *:* |
#sockstat -4
USER COMMAND PID FD PROTO LOCAL ADDRESS FOREIGN ADDRESS root sshd 2522 3 tcp4 192.168.13.21:22 192.168.15.101:49173 bind named 2442 20 tcp4 192.168.13.21:53 *:* bind named 2442 21 tcp4 127.0.0.1:53 *:* bind named 2442 22 tcp4 127.0.0.1:953 *:* bind named 2442 512 udp4 192.168.13.21:53 *:* bind named 2442 513 udp4 127.0.0.1:53 *:* root sendmail 1323 4 tcp4 127.0.0.1:25 *:* root sshd 1315 4 tcp4 *:22 *:* root xinetd 1165 0 tcp4 *:19 *:* root xinetd 1165 6 tcp4 *:7 *:* root xinetd 1165 8 tcp4 *:23 *:* root syslogd 946 9 udp4 *:514 *:* |
Время первой команды журнала | 15:47:44 2012-12-20 | |||||||||||||||||||||||||||
Время последней команды журнала | 18:15:19 2012-12-20 | |||||||||||||||||||||||||||
Количество командных строк в журнале | 101 | |||||||||||||||||||||||||||
Процент команд с ненулевым кодом завершения, % | 43.56 | |||||||||||||||||||||||||||
Процент синтаксически неверно набранных команд, % | 0.00 | |||||||||||||||||||||||||||
Суммарное время работы с терминалом *, час | 0.22 | |||||||||||||||||||||||||||
Количество командных строк в единицу времени, команда/мин | 7.54 | |||||||||||||||||||||||||||
Частота использования команд |
|
В журнал автоматически попадают все команды, данные в любом терминале системы.
Для того чтобы убедиться, что журнал на текущем терминале ведётся, и команды записываются, дайте команду 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