/l3/users/eb/2009/linux11/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 :33 :34 :35 :36 :37 :38 :39 :40 :41 :42 :43 :44 :45 :46 :47 :48 :49 :50 :51 :52 :53 :54 :55 :56 :57 :58 :59 :60 :61 :62 :63 :64 :65 :66 :67 :68 :69 :70 :71 :72 :73 |
|
#~ +q436f+q6b75+q6b64+q6b72+q6b6c+q2332+q2334+q2569+q2a37+q6b31
Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 0 0.0.0.0:79 0.0.0.0:* LISTEN 3005/inetd tcp 0 0 0.0.0.0:9999 0.0.0.0:* LISTEN 3005/inetd tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN 2407/portmap tcp 0 0 192.168.106.2:53 0.0.0.0:* LISTEN 24093/named tcp 0 0 192.168.11.1:53 0.0.0.0:* LISTEN 24093/named tcp 0 0 127.0.0.1:53 0.0.0.0:* LISTEN 24093/named tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 2528/sshd tcp 0 0 127.0.0.1:953 0.0.0.0:* LISTEN 24093/named ... unix 2 [ ACC ] STREAM LISTENING 227030 957/x-session-manag /tmp/.ICE-unix/957 unix 2 [ ACC ] STREAM LISTENING 7836 3023/hald @/var/run/hald/dbus-eIoPv8M9kY unix 2 [ ACC ] STREAM LISTENING 223752 690/X @/tmp/.X11-unix/X0 unix 2 [ ACC ] STREAM LISTENING 7784 2999/lpd /dev/printer unix 2 [ ACC ] STREAM LISTENING 227660 1193/gam_server @/tmp/fam-user- unix 2 [ ACC ] STREAM LISTENING 223634 676/gdm /var/run/gdm_socket unix 2 [ ACC ] STREAM LISTENING 7428 2683/dbus-daemon /var/run/dbus/system_bus_socket unix 2 [ ACC ] STREAM LISTENING 227029 957/x-session-manag @/tmp/.ICE-unix/957 unix 2 [ ACC ] STREAM LISTENING 7404 2673/syslog-ng /dev/log unix 2 [ ACC ] STREAM LISTENING 226770 1068/dbus-daemon @/tmp/dbus-2SPOVWJvNd |
#~ +q436f+q6b75+q6b64+q6b72+q6b6c+q2332+q2334+q2569+q2a37+q6b31
Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 0 0.0.0.0:79 0.0.0.0:* LISTEN 3005/inetd tcp 0 0 0.0.0.0:9999 0.0.0.0:* LISTEN 3005/inetd tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN 2407/portmap tcp 0 0 192.168.106.2:53 0.0.0.0:* LISTEN 24093/named tcp 0 0 192.168.11.1:53 0.0.0.0:* LISTEN 24093/named tcp 0 0 127.0.0.1:53 0.0.0.0:* LISTEN 24093/named tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 2528/sshd tcp 0 0 127.0.0.1:953 0.0.0.0:* LISTEN 24093/named ... unix 2 [ ACC ] STREAM LISTENING 227030 957/x-session-manag /tmp/.ICE-unix/957 unix 2 [ ACC ] STREAM LISTENING 7836 3023/hald @/var/run/hald/dbus-eIoPv8M9kY unix 2 [ ACC ] STREAM LISTENING 223752 690/X @/tmp/.X11-unix/X0 unix 2 [ ACC ] STREAM LISTENING 7784 2999/lpd /dev/printer unix 2 [ ACC ] STREAM LISTENING 227660 1193/gam_server @/tmp/fam-user- unix 2 [ ACC ] STREAM LISTENING 223634 676/gdm /var/run/gdm_socket unix 2 [ ACC ] STREAM LISTENING 7428 2683/dbus-daemon /var/run/dbus/system_bus_socket unix 2 [ ACC ] STREAM LISTENING 227029 957/x-session-manag @/tmp/.ICE-unix/957 unix 2 [ ACC ] STREAM LISTENING 7404 2673/syslog-ng /dev/log unix 2 [ ACC ] STREAM LISTENING 226770 1068/dbus-daemon @/tmp/dbus-2SPOVWJvNd |
#nc 127.0.0.1 79
:q ~ ~ ~ ~ ~ ~ VIM - Vi IMproved ~ ~ version 7.2.148 ~ by Bram Moolenaar et al. ... ~ type :q<Enter> to exit ~ type :help<Enter> or <F1> for on-line help ~ type :help version7<Enter> for version info ~ ~ ~ ~ ~ E138: Can't write viminfo file $HOME/.viminfo! Press ENTER or type command to continue |
#nc 127.0.0.1 79
:q ~ ~ ~ ~ ~ ~ VIM - Vi IMproved ~ ~ version 7.2.148 ~ by Bram Moolenaar et al. ... ~ type :q<Enter> to exit ~ type :help<Enter> or <F1> for on-line help ~ type :help version7<Enter> for version info ~ ~ ~ ~ ~ E138: Can't write viminfo file $HOME/.viminfo! Press ENTER or type command to continue |
#netstat -lnp
Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 0 0.0.0.0:79 0.0.0.0:* LISTEN 3005/inetd tcp 0 0 0.0.0.0:9999 0.0.0.0:* LISTEN 3005/inetd tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN 2407/portmap tcp 0 0 192.168.106.2:53 0.0.0.0:* LISTEN 24093/named tcp 0 0 192.168.11.1:53 0.0.0.0:* LISTEN 24093/named tcp 0 0 127.0.0.1:53 0.0.0.0:* LISTEN 24093/named tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 2528/sshd tcp 0 0 127.0.0.1:953 0.0.0.0:* LISTEN 24093/named ... unix 2 [ ACC ] STREAM LISTENING 227030 957/x-session-manag /tmp/.ICE-unix/957 unix 2 [ ACC ] STREAM LISTENING 7836 3023/hald @/var/run/hald/dbus-eIoPv8M9kY unix 2 [ ACC ] STREAM LISTENING 223752 690/X @/tmp/.X11-unix/X0 unix 2 [ ACC ] STREAM LISTENING 7784 2999/lpd /dev/printer unix 2 [ ACC ] STREAM LISTENING 227660 1193/gam_server @/tmp/fam-user- unix 2 [ ACC ] STREAM LISTENING 223634 676/gdm /var/run/gdm_socket unix 2 [ ACC ] STREAM LISTENING 7428 2683/dbus-daemon /var/run/dbus/system_bus_socket unix 2 [ ACC ] STREAM LISTENING 227029 957/x-session-manag @/tmp/.ICE-unix/957 unix 2 [ ACC ] STREAM LISTENING 7404 2673/syslog-ng /dev/log unix 2 [ ACC ] STREAM LISTENING 226770 1068/dbus-daemon @/tmp/dbus-2SPOVWJvNd |
#netstat -lnp
Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 0 0.0.0.0:79 0.0.0.0:* LISTEN 3005/inetd tcp 0 0 0.0.0.0:9999 0.0.0.0:* LISTEN 3005/inetd tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN 2407/portmap tcp 0 0 192.168.106.2:53 0.0.0.0:* LISTEN 24093/named tcp 0 0 192.168.11.1:53 0.0.0.0:* LISTEN 24093/named tcp 0 0 127.0.0.1:53 0.0.0.0:* LISTEN 24093/named tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 2528/sshd tcp 0 0 127.0.0.1:953 0.0.0.0:* LISTEN 24093/named ... unix 2 [ ACC ] STREAM LISTENING 227030 957/x-session-manag /tmp/.ICE-unix/957 unix 2 [ ACC ] STREAM LISTENING 7836 3023/hald @/var/run/hald/dbus-eIoPv8M9kY unix 2 [ ACC ] STREAM LISTENING 223752 690/X @/tmp/.X11-unix/X0 unix 2 [ ACC ] STREAM LISTENING 7784 2999/lpd /dev/printer unix 2 [ ACC ] STREAM LISTENING 227660 1193/gam_server @/tmp/fam-user- unix 2 [ ACC ] STREAM LISTENING 223634 676/gdm /var/run/gdm_socket unix 2 [ ACC ] STREAM LISTENING 7428 2683/dbus-daemon /var/run/dbus/system_bus_socket unix 2 [ ACC ] STREAM LISTENING 227029 957/x-session-manag @/tmp/.ICE-unix/957 unix 2 [ ACC ] STREAM LISTENING 7404 2673/syslog-ng /dev/log unix 2 [ ACC ] STREAM LISTENING 226770 1068/dbus-daemon @/tmp/dbus-2SPOVWJvNd |
#netstat -lnp
Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN 2407/portmap tcp 0 0 192.168.106.2:53 0.0.0.0:* LISTEN 24093/named tcp 0 0 192.168.11.1:53 0.0.0.0:* LISTEN 24093/named tcp 0 0 127.0.0.1:53 0.0.0.0:* LISTEN 24093/named tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 2528/sshd tcp 0 0 127.0.0.1:953 0.0.0.0:* LISTEN 24093/named tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 2989/exim4 tcp6 0 0 :::53 :::* LISTEN 24093/named ... unix 2 [ ACC ] STREAM LISTENING 227030 957/x-session-manag /tmp/.ICE-unix/957 unix 2 [ ACC ] STREAM LISTENING 7836 3023/hald @/var/run/hald/dbus-eIoPv8M9kY unix 2 [ ACC ] STREAM LISTENING 223752 690/X @/tmp/.X11-unix/X0 unix 2 [ ACC ] STREAM LISTENING 7784 2999/lpd /dev/printer unix 2 [ ACC ] STREAM LISTENING 227660 1193/gam_server @/tmp/fam-user- unix 2 [ ACC ] STREAM LISTENING 223634 676/gdm /var/run/gdm_socket unix 2 [ ACC ] STREAM LISTENING 7428 2683/dbus-daemon /var/run/dbus/system_bus_socket unix 2 [ ACC ] STREAM LISTENING 227029 957/x-session-manag @/tmp/.ICE-unix/957 unix 2 [ ACC ] STREAM LISTENING 7404 2673/syslog-ng /dev/log unix 2 [ ACC ] STREAM LISTENING 226770 1068/dbus-daemon @/tmp/dbus-2SPOVWJvNd |
#netstat -lnp
Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN 2407/portmap tcp 0 0 192.168.106.2:53 0.0.0.0:* LISTEN 24093/named tcp 0 0 192.168.11.1:53 0.0.0.0:* LISTEN 24093/named tcp 0 0 127.0.0.1:53 0.0.0.0:* LISTEN 24093/named tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 2528/sshd tcp 0 0 127.0.0.1:953 0.0.0.0:* LISTEN 24093/named tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 2989/exim4 tcp6 0 0 :::53 :::* LISTEN 24093/named ... unix 2 [ ACC ] STREAM LISTENING 227030 957/x-session-manag /tmp/.ICE-unix/957 unix 2 [ ACC ] STREAM LISTENING 7836 3023/hald @/var/run/hald/dbus-eIoPv8M9kY unix 2 [ ACC ] STREAM LISTENING 223752 690/X @/tmp/.X11-unix/X0 unix 2 [ ACC ] STREAM LISTENING 7784 2999/lpd /dev/printer unix 2 [ ACC ] STREAM LISTENING 227660 1193/gam_server @/tmp/fam-user- unix 2 [ ACC ] STREAM LISTENING 223634 676/gdm /var/run/gdm_socket unix 2 [ ACC ] STREAM LISTENING 7428 2683/dbus-daemon /var/run/dbus/system_bus_socket unix 2 [ ACC ] STREAM LISTENING 227029 957/x-session-manag @/tmp/.ICE-unix/957 unix 2 [ ACC ] STREAM LISTENING 7404 2673/syslog-ng /dev/log unix 2 [ ACC ] STREAM LISTENING 226770 1068/dbus-daemon @/tmp/dbus-2SPOVWJvNd |
#netstat -lnp
Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN 2407/portmap tcp 0 0 192.168.106.2:53 0.0.0.0:* LISTEN 24093/named tcp 0 0 192.168.11.1:53 0.0.0.0:* LISTEN 24093/named tcp 0 0 127.0.0.1:53 0.0.0.0:* LISTEN 24093/named tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 2528/sshd tcp 0 0 127.0.0.1:953 0.0.0.0:* LISTEN 24093/named tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 2989/exim4 tcp6 0 0 :::53 :::* LISTEN 24093/named ... unix 2 [ ACC ] STREAM LISTENING 227030 957/x-session-manag /tmp/.ICE-unix/957 unix 2 [ ACC ] STREAM LISTENING 7836 3023/hald @/var/run/hald/dbus-eIoPv8M9kY unix 2 [ ACC ] STREAM LISTENING 223752 690/X @/tmp/.X11-unix/X0 unix 2 [ ACC ] STREAM LISTENING 7784 2999/lpd /dev/printer unix 2 [ ACC ] STREAM LISTENING 227660 1193/gam_server @/tmp/fam-user- unix 2 [ ACC ] STREAM LISTENING 223634 676/gdm /var/run/gdm_socket unix 2 [ ACC ] STREAM LISTENING 7428 2683/dbus-daemon /var/run/dbus/system_bus_socket unix 2 [ ACC ] STREAM LISTENING 227029 957/x-session-manag @/tmp/.ICE-unix/957 unix 2 [ ACC ] STREAM LISTENING 7404 2673/syslog-ng /dev/log unix 2 [ ACC ] STREAM LISTENING 226770 1068/dbus-daemon @/tmp/dbus-2SPOVWJvNd |
#netstat -lnp
Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN 2407/portmap tcp 0 0 192.168.106.2:53 0.0.0.0:* LISTEN 24093/named tcp 0 0 192.168.11.1:53 0.0.0.0:* LISTEN 24093/named tcp 0 0 127.0.0.1:53 0.0.0.0:* LISTEN 24093/named tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 2528/sshd tcp 0 0 127.0.0.1:953 0.0.0.0:* LISTEN 24093/named tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 2989/exim4 tcp6 0 0 :::53 :::* LISTEN 24093/named ... unix 2 [ ACC ] STREAM LISTENING 227030 957/x-session-manag /tmp/.ICE-unix/957 unix 2 [ ACC ] STREAM LISTENING 7836 3023/hald @/var/run/hald/dbus-eIoPv8M9kY unix 2 [ ACC ] STREAM LISTENING 223752 690/X @/tmp/.X11-unix/X0 unix 2 [ ACC ] STREAM LISTENING 7784 2999/lpd /dev/printer unix 2 [ ACC ] STREAM LISTENING 227660 1193/gam_server @/tmp/fam-user- unix 2 [ ACC ] STREAM LISTENING 223634 676/gdm /var/run/gdm_socket unix 2 [ ACC ] STREAM LISTENING 7428 2683/dbus-daemon /var/run/dbus/system_bus_socket unix 2 [ ACC ] STREAM LISTENING 227029 957/x-session-manag @/tmp/.ICE-unix/957 unix 2 [ ACC ] STREAM LISTENING 7404 2673/syslog-ng /dev/log unix 2 [ ACC ] STREAM LISTENING 226770 1068/dbus-daemon @/tmp/dbus-2SPOVWJvNd |
#netstat -lnp
Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN 2407/portmap tcp 0 0 192.168.106.2:53 0.0.0.0:* LISTEN 24093/named tcp 0 0 192.168.11.1:53 0.0.0.0:* LISTEN 24093/named tcp 0 0 127.0.0.1:53 0.0.0.0:* LISTEN 24093/named tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 2528/sshd tcp 0 0 127.0.0.1:953 0.0.0.0:* LISTEN 24093/named tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 2989/exim4 tcp6 0 0 :::53 :::* LISTEN 24093/named ... unix 2 [ ACC ] STREAM LISTENING 227030 957/x-session-manag /tmp/.ICE-unix/957 unix 2 [ ACC ] STREAM LISTENING 7836 3023/hald @/var/run/hald/dbus-eIoPv8M9kY unix 2 [ ACC ] STREAM LISTENING 223752 690/X @/tmp/.X11-unix/X0 unix 2 [ ACC ] STREAM LISTENING 7784 2999/lpd /dev/printer unix 2 [ ACC ] STREAM LISTENING 227660 1193/gam_server @/tmp/fam-user- unix 2 [ ACC ] STREAM LISTENING 223634 676/gdm /var/run/gdm_socket unix 2 [ ACC ] STREAM LISTENING 7428 2683/dbus-daemon /var/run/dbus/system_bus_socket unix 2 [ ACC ] STREAM LISTENING 227029 957/x-session-manag @/tmp/.ICE-unix/957 unix 2 [ ACC ] STREAM LISTENING 7404 2673/syslog-ng /dev/log unix 2 [ ACC ] STREAM LISTENING 226770 1068/dbus-daemon @/tmp/dbus-2SPOVWJvNd |
#netstat -lnp
Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN 2407/portmap tcp 0 0 192.168.106.2:53 0.0.0.0:* LISTEN 24093/named tcp 0 0 192.168.11.1:53 0.0.0.0:* LISTEN 24093/named tcp 0 0 127.0.0.1:53 0.0.0.0:* LISTEN 24093/named tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 2528/sshd tcp 0 0 127.0.0.1:953 0.0.0.0:* LISTEN 24093/named tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 2989/exim4 tcp6 0 0 :::53 :::* LISTEN 24093/named ... unix 2 [ ACC ] STREAM LISTENING 227030 957/x-session-manag /tmp/.ICE-unix/957 unix 2 [ ACC ] STREAM LISTENING 7836 3023/hald @/var/run/hald/dbus-eIoPv8M9kY unix 2 [ ACC ] STREAM LISTENING 223752 690/X @/tmp/.X11-unix/X0 unix 2 [ ACC ] STREAM LISTENING 7784 2999/lpd /dev/printer unix 2 [ ACC ] STREAM LISTENING 227660 1193/gam_server @/tmp/fam-user- unix 2 [ ACC ] STREAM LISTENING 223634 676/gdm /var/run/gdm_socket unix 2 [ ACC ] STREAM LISTENING 7428 2683/dbus-daemon /var/run/dbus/system_bus_socket unix 2 [ ACC ] STREAM LISTENING 227029 957/x-session-manag @/tmp/.ICE-unix/957 unix 2 [ ACC ] STREAM LISTENING 7404 2673/syslog-ng /dev/log unix 2 [ ACC ] STREAM LISTENING 226770 1068/dbus-daemon @/tmp/dbus-2SPOVWJvNd |
#netstat -lnp
Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN 2407/portmap tcp 0 0 192.168.106.2:53 0.0.0.0:* LISTEN 24093/named tcp 0 0 192.168.11.1:53 0.0.0.0:* LISTEN 24093/named tcp 0 0 127.0.0.1:53 0.0.0.0:* LISTEN 24093/named tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 2528/sshd tcp 0 0 127.0.0.1:953 0.0.0.0:* LISTEN 24093/named tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 2989/exim4 tcp6 0 0 :::53 :::* LISTEN 24093/named ... unix 2 [ ACC ] STREAM LISTENING 227030 957/x-session-manag /tmp/.ICE-unix/957 unix 2 [ ACC ] STREAM LISTENING 7836 3023/hald @/var/run/hald/dbus-eIoPv8M9kY unix 2 [ ACC ] STREAM LISTENING 223752 690/X @/tmp/.X11-unix/X0 unix 2 [ ACC ] STREAM LISTENING 7784 2999/lpd /dev/printer unix 2 [ ACC ] STREAM LISTENING 227660 1193/gam_server @/tmp/fam-user- unix 2 [ ACC ] STREAM LISTENING 223634 676/gdm /var/run/gdm_socket unix 2 [ ACC ] STREAM LISTENING 7428 2683/dbus-daemon /var/run/dbus/system_bus_socket unix 2 [ ACC ] STREAM LISTENING 227029 957/x-session-manag @/tmp/.ICE-unix/957 unix 2 [ ACC ] STREAM LISTENING 7404 2673/syslog-ng /dev/log unix 2 [ ACC ] STREAM LISTENING 226770 1068/dbus-daemon @/tmp/dbus-2SPOVWJvNd |
#netstat -lnp
Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN 2407/portmap tcp 0 0 192.168.106.2:53 0.0.0.0:* LISTEN 24093/named tcp 0 0 192.168.11.1:53 0.0.0.0:* LISTEN 24093/named tcp 0 0 127.0.0.1:53 0.0.0.0:* LISTEN 24093/named tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 2528/sshd tcp 0 0 127.0.0.1:953 0.0.0.0:* LISTEN 24093/named tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 2989/exim4 tcp6 0 0 :::53 :::* LISTEN 24093/named ... unix 2 [ ACC ] STREAM LISTENING 227030 957/x-session-manag /tmp/.ICE-unix/957 unix 2 [ ACC ] STREAM LISTENING 7836 3023/hald @/var/run/hald/dbus-eIoPv8M9kY unix 2 [ ACC ] STREAM LISTENING 223752 690/X @/tmp/.X11-unix/X0 unix 2 [ ACC ] STREAM LISTENING 7784 2999/lpd /dev/printer unix 2 [ ACC ] STREAM LISTENING 227660 1193/gam_server @/tmp/fam-user- unix 2 [ ACC ] STREAM LISTENING 223634 676/gdm /var/run/gdm_socket unix 2 [ ACC ] STREAM LISTENING 7428 2683/dbus-daemon /var/run/dbus/system_bus_socket unix 2 [ ACC ] STREAM LISTENING 227029 957/x-session-manag @/tmp/.ICE-unix/957 unix 2 [ ACC ] STREAM LISTENING 7404 2673/syslog-ng /dev/log unix 2 [ ACC ] STREAM LISTENING 226770 1068/dbus-daemon @/tmp/dbus-2SPOVWJvNd |
#netstat -lnp
Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN 2407/portmap tcp 0 0 192.168.106.2:53 0.0.0.0:* LISTEN 24093/named tcp 0 0 192.168.11.1:53 0.0.0.0:* LISTEN 24093/named tcp 0 0 127.0.0.1:53 0.0.0.0:* LISTEN 24093/named tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 2528/sshd tcp 0 0 127.0.0.1:953 0.0.0.0:* LISTEN 24093/named tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 2989/exim4 tcp6 0 0 :::53 :::* LISTEN 24093/named ... unix 2 [ ACC ] STREAM LISTENING 227030 957/x-session-manag /tmp/.ICE-unix/957 unix 2 [ ACC ] STREAM LISTENING 7836 3023/hald @/var/run/hald/dbus-eIoPv8M9kY unix 2 [ ACC ] STREAM LISTENING 223752 690/X @/tmp/.X11-unix/X0 unix 2 [ ACC ] STREAM LISTENING 7784 2999/lpd /dev/printer unix 2 [ ACC ] STREAM LISTENING 227660 1193/gam_server @/tmp/fam-user- unix 2 [ ACC ] STREAM LISTENING 223634 676/gdm /var/run/gdm_socket unix 2 [ ACC ] STREAM LISTENING 7428 2683/dbus-daemon /var/run/dbus/system_bus_socket unix 2 [ ACC ] STREAM LISTENING 227029 957/x-session-manag @/tmp/.ICE-unix/957 unix 2 [ ACC ] STREAM LISTENING 7404 2673/syslog-ng /dev/log unix 2 [ ACC ] STREAM LISTENING 226770 1068/dbus-daemon @/tmp/dbus-2SPOVWJvNd |
#netstat -lnp
Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN 2407/portmap tcp 0 0 192.168.106.2:53 0.0.0.0:* LISTEN 24093/named tcp 0 0 192.168.11.1:53 0.0.0.0:* LISTEN 24093/named tcp 0 0 127.0.0.1:53 0.0.0.0:* LISTEN 24093/named tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 2528/sshd tcp 0 0 127.0.0.1:953 0.0.0.0:* LISTEN 24093/named tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 2989/exim4 tcp6 0 0 :::53 :::* LISTEN 24093/named ... unix 2 [ ACC ] STREAM LISTENING 227030 957/x-session-manag /tmp/.ICE-unix/957 unix 2 [ ACC ] STREAM LISTENING 7836 3023/hald @/var/run/hald/dbus-eIoPv8M9kY unix 2 [ ACC ] STREAM LISTENING 223752 690/X @/tmp/.X11-unix/X0 unix 2 [ ACC ] STREAM LISTENING 7784 2999/lpd /dev/printer unix 2 [ ACC ] STREAM LISTENING 227660 1193/gam_server @/tmp/fam-user- unix 2 [ ACC ] STREAM LISTENING 223634 676/gdm /var/run/gdm_socket unix 2 [ ACC ] STREAM LISTENING 7428 2683/dbus-daemon /var/run/dbus/system_bus_socket unix 2 [ ACC ] STREAM LISTENING 227029 957/x-session-manag @/tmp/.ICE-unix/957 unix 2 [ ACC ] STREAM LISTENING 7404 2673/syslog-ng /dev/log unix 2 [ ACC ] STREAM LISTENING 226770 1068/dbus-daemon @/tmp/dbus-2SPOVWJvNd |
#netstat -lnp -i inet
Kernel Interface table Iface MTU Met RX-OK RX-ERR RX-DRP RX-OVR TX-OK TX-ERR TX-DRP TX-OVR Flg eth0 1500 0 46619 0 0 0 49609 0 0 0 BMRU eth0:1 1500 0 - no statistics available - BMRU lo 16436 0 3602 0 0 0 3602 0 0 0 LRU |
#netstat -lnp -i inet
Kernel Interface table Iface MTU Met RX-OK RX-ERR RX-DRP RX-OVR TX-OK TX-ERR TX-DRP TX-OVR Flg eth0 1500 0 46619 0 0 0 49609 0 0 0 BMRU eth0:1 1500 0 - no statistics available - BMRU lo 16436 0 3602 0 0 0 3602 0 0 0 LRU |
#netstat -lnp
Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN 2407/portmap tcp 0 0 192.168.106.2:53 0.0.0.0:* LISTEN 24093/named tcp 0 0 192.168.11.1:53 0.0.0.0:* LISTEN 24093/named tcp 0 0 127.0.0.1:53 0.0.0.0:* LISTEN 24093/named tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 2528/sshd tcp 0 0 127.0.0.1:953 0.0.0.0:* LISTEN 24093/named tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 2989/exim4 tcp6 0 0 :::53 :::* LISTEN 24093/named ... unix 2 [ ACC ] STREAM LISTENING 227030 957/x-session-manag /tmp/.ICE-unix/957 unix 2 [ ACC ] STREAM LISTENING 7836 3023/hald @/var/run/hald/dbus-eIoPv8M9kY unix 2 [ ACC ] STREAM LISTENING 223752 690/X @/tmp/.X11-unix/X0 unix 2 [ ACC ] STREAM LISTENING 7784 2999/lpd /dev/printer unix 2 [ ACC ] STREAM LISTENING 227660 1193/gam_server @/tmp/fam-user- unix 2 [ ACC ] STREAM LISTENING 223634 676/gdm /var/run/gdm_socket unix 2 [ ACC ] STREAM LISTENING 7428 2683/dbus-daemon /var/run/dbus/system_bus_socket unix 2 [ ACC ] STREAM LISTENING 227029 957/x-session-manag @/tmp/.ICE-unix/957 unix 2 [ ACC ] STREAM LISTENING 7404 2673/syslog-ng /dev/log unix 2 [ ACC ] STREAM LISTENING 226770 1068/dbus-daemon @/tmp/dbus-2SPOVWJvNd |
#netstat -lnp
Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN 2407/portmap tcp 0 0 192.168.106.2:53 0.0.0.0:* LISTEN 24093/named tcp 0 0 192.168.11.1:53 0.0.0.0:* LISTEN 24093/named tcp 0 0 127.0.0.1:53 0.0.0.0:* LISTEN 24093/named tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 2528/sshd tcp 0 0 127.0.0.1:953 0.0.0.0:* LISTEN 24093/named tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 2989/exim4 tcp6 0 0 :::53 :::* LISTEN 24093/named ... unix 2 [ ACC ] STREAM LISTENING 227030 957/x-session-manag /tmp/.ICE-unix/957 unix 2 [ ACC ] STREAM LISTENING 7836 3023/hald @/var/run/hald/dbus-eIoPv8M9kY unix 2 [ ACC ] STREAM LISTENING 223752 690/X @/tmp/.X11-unix/X0 unix 2 [ ACC ] STREAM LISTENING 7784 2999/lpd /dev/printer unix 2 [ ACC ] STREAM LISTENING 227660 1193/gam_server @/tmp/fam-user- unix 2 [ ACC ] STREAM LISTENING 223634 676/gdm /var/run/gdm_socket unix 2 [ ACC ] STREAM LISTENING 7428 2683/dbus-daemon /var/run/dbus/system_bus_socket unix 2 [ ACC ] STREAM LISTENING 227029 957/x-session-manag @/tmp/.ICE-unix/957 unix 2 [ ACC ] STREAM LISTENING 7404 2673/syslog-ng /dev/log unix 2 [ ACC ] STREAM LISTENING 226770 1068/dbus-daemon @/tmp/dbus-2SPOVWJvNd |
#ps -aux | grep inetd
Warning: bad ps syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html root 2803 0.0 0.0 4908 772 pts/13 S+ 17:04 0:00 grep inetd |
#ps -aux | grep inetd
Warning: bad ps syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html root 2803 0.0 0.0 4908 772 pts/13 S+ 17:04 0:00 grep inetd |
#apt-file search inetd.conf
manpages-ja: /usr/share/man/ja/man5/xinetd.conf.5.gz mrtg-contrib: /usr/share/doc/mrtg/examples/mrtg-mail/inetd.conf-dist openbsd-inetd: /usr/share/man/man5/inetd.conf.5.gz rinetd: /etc/rinetd.conf rlinetd: /etc/rlinetd.conf rlinetd: /usr/share/doc/rlinetd/examples/rlinetd.conf rlinetd: /usr/share/man/man5/rlinetd.conf.5.gz tinyhoneypot: /usr/share/doc/tinyhoneypot/examples/inetd.conf.sample xinetd: /etc/xinetd.conf xinetd: /usr/share/man/man5/xinetd.conf.5.gz |
#apt-file search inetd.conf
manpages-ja: /usr/share/man/ja/man5/xinetd.conf.5.gz mrtg-contrib: /usr/share/doc/mrtg/examples/mrtg-mail/inetd.conf-dist openbsd-inetd: /usr/share/man/man5/inetd.conf.5.gz rinetd: /etc/rinetd.conf rlinetd: /etc/rlinetd.conf rlinetd: /usr/share/doc/rlinetd/examples/rlinetd.conf rlinetd: /usr/share/man/man5/rlinetd.conf.5.gz tinyhoneypot: /usr/share/doc/tinyhoneypot/examples/inetd.conf.sample xinetd: /etc/xinetd.conf xinetd: /usr/share/man/man5/xinetd.conf.5.gz |
#~ +q436f+q6b75+q6b64+q6b72+q6b6c+q2332+q2334+q2569+q2a37+q6b31
SEE ALSO fingerd(8), ftpd(8), identd(8), rshd(8), talkd(8), tftpd(8) HISTORY The inetd command appeared in 4.3BSD. Support for Sun-RPC based services is modelled after that provided by SunOS 4.1. IPv6 sup‐ port was added by the KAME project in 1999. Marco d’Itri ported this code from OpenBSD in summer 2002 and added socket buffers tuning and libwrap support from the NetBSD source tree. BUGS -R rate BSD System Manager’s Manual INETD(8) Specify the maximum number of times a service can be invoked in one minute; the default is 256. If a service exceeds this ... ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ |
#~ +q436f+q6b75+q6b64+q6b72+q6b6c+q2332+q2334+q2569+q2a37+q6b31
SEE ALSO fingerd(8), ftpd(8), identd(8), rshd(8), talkd(8), tftpd(8) HISTORY The inetd command appeared in 4.3BSD. Support for Sun-RPC based services is modelled after that provided by SunOS 4.1. IPv6 sup‐ port was added by the KAME project in 1999. Marco d’Itri ported this code from OpenBSD in summer 2002 and added socket buffers tuning and libwrap support from the NetBSD source tree. BUGS -R rate BSD System Manager’s Manual INETD(8) Specify the maximum number of times a service can be invoked in one minute; the default is 256. If a service exceeds this ... ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ |
#!v
6 # Lines starting with "#:LABEL:" or "#<off>#" should not 7 # be changed unless you know what you are doing! 8 # 9 # If you want to disable an entry so it isn't touched during 10 # package updates just comment it out with a single '#' character. 11 # 12 # Packages should modify this file by using update-inetd(8) 13 # 14 # <service_name> <sock_type> <proto> <flags> <user> <server_path> <args> 15 # ... 32 33 #:RPC: RPC based services 34 35 #:HAM-RADIO: amateur-radio services 36 37 #:OTHER: Other servicesC 38 9999 stream tcp nowait approx /usr/sbin/appro 39 finger stream tcp nowait root /usr/sbin/tcpd /usr/bin/bc 40 41 |
#!v
6 # Lines starting with "#:LABEL:" or "#<off>#" should not 7 # be changed unless you know what you are doing! 8 # 9 # If you want to disable an entry so it isn't touched during 10 # package updates just comment it out with a single '#' character. 11 # 12 # Packages should modify this file by using update-inetd(8) 13 # 14 # <service_name> <sock_type> <proto> <flags> <user> <server_path> <args> 15 # ... 32 33 #:RPC: RPC based services 34 35 #:HAM-RADIO: amateur-radio services 36 37 #:OTHER: Other servicesC 38 9999 stream tcp nowait approx /usr/sbin/appro 39 finger stream tcp nowait root /usr/sbin/tcpd /usr/bin/bc 40 41 |
#~ +q436f+q6b75+q6b64+q6b72+q6b6c+q2332+q2334+q2569+q2a37+q6b31
2 # /usr/share/doc/ifupdown/examples for more information. 3 4 auto lo eth0 5 6 iface lo inet loopback 7 15.2 8 #iface eth0 inet st.15.254 9 # address 192.168.15.11 10 # netmask 255.255.255.0 11 ... ~ ~ ~ ~ ~ ~ ~ ~ ~ "/etc/network/interfaces" 32L, 726C записано |
#~ +q436f+q6b75+q6b64+q6b72+q6b6c+q2332+q2334+q2569+q2a37+q6b31
2 # /usr/share/doc/ifupdown/examples for more information. 3 4 auto lo eth0 5 6 iface lo inet loopback 7 15.2 8 #iface eth0 inet st.15.254 9 # address 192.168.15.11 10 # netmask 255.255.255.0 11 ... ~ ~ ~ ~ ~ ~ ~ ~ ~ "/etc/network/interfaces" 32L, 726C записано |
#netstat -rn
Kernel IP routing table Destination Gateway Genmask Flags MSS Window irtt Iface 192.168.106.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 0.0.0.0 192.168.106.1 0.0.0.0 UG 0 0 0 eth0 |
#netstat -rn
Kernel IP routing table Destination Gateway Genmask Flags MSS Window irtt Iface 192.168.106.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 0.0.0.0 192.168.106.1 0.0.0.0 UG 0 0 0 eth0 |
#dig ya.ru
; <<>> DiG 9.6.0-P1 <<>> ya.ru ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 11511 ;; flags: qr rd ra; QUERY: 1, ANSWER: 3, AUTHORITY: 2, ADDITIONAL: 2 ;; QUESTION SECTION: ;ya.ru. IN A ;; ANSWER SECTION: ya.ru. 7030 IN A 93.158.134.8 ya.ru. 7030 IN A 213.180.204.8 ya.ru. 7030 IN A 77.88.21.8 ;; AUTHORITY SECTION: ya.ru. 7030 IN NS ns1.yandex.ru. ya.ru. 7030 IN NS ns5.yandex.ru. ;; ADDITIONAL SECTION: ns1.yandex.ru. 342312 IN A 213.180.193.1 ns5.yandex.ru. 342312 IN A 213.180.204.1 ;; Query time: 1 msec ;; SERVER: 127.0.0.1#53(127.0.0.1) ;; WHEN: Thu Jun 4 17:14:41 2009 ;; MSG SIZE rcvd: 146 |
#dig ya.ru
; <<>> DiG 9.6.0-P1 <<>> ya.ru ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 11511 ;; flags: qr rd ra; QUERY: 1, ANSWER: 3, AUTHORITY: 2, ADDITIONAL: 2 ;; QUESTION SECTION: ;ya.ru. IN A ;; ANSWER SECTION: ya.ru. 7030 IN A 93.158.134.8 ya.ru. 7030 IN A 213.180.204.8 ya.ru. 7030 IN A 77.88.21.8 ;; AUTHORITY SECTION: ya.ru. 7030 IN NS ns1.yandex.ru. ya.ru. 7030 IN NS ns5.yandex.ru. ;; ADDITIONAL SECTION: ns1.yandex.ru. 342312 IN A 213.180.193.1 ns5.yandex.ru. 342312 IN A 213.180.204.1 ;; Query time: 1 msec ;; SERVER: 127.0.0.1#53(127.0.0.1) ;; WHEN: Thu Jun 4 17:14:41 2009 ;; MSG SIZE rcvd: 146 |
#ps -aux |grep inet
Warning: bad ps syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html root 3884 0.0 0.0 4908 776 pts/15 S+ 17:16 0:00 grep inet |
#ps -aux |grep inet
Warning: bad ps syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html root 3884 0.0 0.0 4908 776 pts/15 S+ 17:16 0:00 grep inet |
#ps -aux |grep in
Warning: bad ps syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html root 1 0.0 0.0 2128 716 ? Ss Jun03 0:01 init [2] root 67 0.0 0.0 0 0 ? S< Jun03 0:00 [kintegrityd/0] root 68 0.0 0.0 0 0 ? S< Jun03 0:00 [kintegrityd/1] root 676 0.0 0.0 17256 2124 ? Ss 16:50 0:00 /usr/sbin/gdm root 677 0.0 0.1 17816 3348 ? S 16:50 0:00 /usr/sbin/gdm root 690 2.6 1.3 87408 40928 tty7 Ss+ 16:50 0:42 /usr/bin/X :0 -audit 0 -auth /var/lib/gdm/:0.Xauth -nolisten tcp vt7 user 944 0.0 0.0 11252 2308 ? S 16:50 0:00 /usr/bin/gnome-keyring-daemon --daemonize --login user 1062 0.0 0.0 4888 588 ? Ss 16:50 0:00 /usr/bin/ssh-agent /usr/bin/dbus-launch --exit-with-session x-session-manager user 1068 0.0 0.0 2652 876 ? Ss 16:50 0:00 /usr/bin/dbus-daemon --fork --print-pid 6 --print-address 9 --session ... root 3251 0.0 0.0 2980 1552 tty1 Ss+ Jun03 0:00 /bin/login -- root 3252 0.0 0.0 2980 1552 tty2 Ss+ Jun03 0:00 /bin/login -- root 3253 0.0 0.0 1792 532 tty3 Ss+ Jun03 0:00 /sbin/getty 38400 tty3 root 3254 0.0 0.0 1792 536 tty4 Ss+ Jun03 0:00 /sbin/getty 38400 tty4 root 3255 0.0 0.0 1792 540 tty5 Ss+ Jun03 0:00 /sbin/getty 38400 tty5 root 3256 0.0 0.0 1792 536 tty6 Ss+ Jun03 0:00 /sbin/getty 38400 tty6 root 3843 0.0 0.0 5548 1032 ? Ss 17:14 0:00 /usr/sbin/sshd root 3893 0.0 0.0 4912 780 pts/15 S+ 17:16 0:00 grep in root 9346 0.0 0.0 2844 1216 ? S 06:25 0:00 /bin/sh /usr/local/bin/syslog2jabber bind 24093 0.0 0.6 63432 21468 ? Ssl 15:13 0:00 /usr/sbin/named -u bind |
#ps -aux |grep in
Warning: bad ps syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html root 1 0.0 0.0 2128 716 ? Ss Jun03 0:01 init [2] root 67 0.0 0.0 0 0 ? S< Jun03 0:00 [kintegrityd/0] root 68 0.0 0.0 0 0 ? S< Jun03 0:00 [kintegrityd/1] root 676 0.0 0.0 17256 2124 ? Ss 16:50 0:00 /usr/sbin/gdm root 677 0.0 0.1 17816 3348 ? S 16:50 0:00 /usr/sbin/gdm root 690 2.6 1.3 87408 40928 tty7 Ss+ 16:50 0:42 /usr/bin/X :0 -audit 0 -auth /var/lib/gdm/:0.Xauth -nolisten tcp vt7 user 944 0.0 0.0 11252 2308 ? S 16:50 0:00 /usr/bin/gnome-keyring-daemon --daemonize --login user 1062 0.0 0.0 4888 588 ? Ss 16:50 0:00 /usr/bin/ssh-agent /usr/bin/dbus-launch --exit-with-session x-session-manager user 1068 0.0 0.0 2652 876 ? Ss 16:50 0:00 /usr/bin/dbus-daemon --fork --print-pid 6 --print-address 9 --session ... root 3251 0.0 0.0 2980 1552 tty1 Ss+ Jun03 0:00 /bin/login -- root 3252 0.0 0.0 2980 1552 tty2 Ss+ Jun03 0:00 /bin/login -- root 3253 0.0 0.0 1792 532 tty3 Ss+ Jun03 0:00 /sbin/getty 38400 tty3 root 3254 0.0 0.0 1792 536 tty4 Ss+ Jun03 0:00 /sbin/getty 38400 tty4 root 3255 0.0 0.0 1792 540 tty5 Ss+ Jun03 0:00 /sbin/getty 38400 tty5 root 3256 0.0 0.0 1792 536 tty6 Ss+ Jun03 0:00 /sbin/getty 38400 tty6 root 3843 0.0 0.0 5548 1032 ? Ss 17:14 0:00 /usr/sbin/sshd root 3893 0.0 0.0 4912 780 pts/15 S+ 17:16 0:00 grep in root 9346 0.0 0.0 2844 1216 ? S 06:25 0:00 /bin/sh /usr/local/bin/syslog2jabber bind 24093 0.0 0.6 63432 21468 ? Ssl 15:13 0:00 /usr/sbin/named -u bind |
#ps -aux |grep init
Warning: bad ps syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html root 1 0.0 0.0 2128 716 ? Ss Jun03 0:01 init [2] root 4625 0.0 0.0 4908 756 pts/15 R+ 17:22 0:00 grep init |
#ps -aux |grep init
Warning: bad ps syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html root 1 0.0 0.0 2128 716 ? Ss Jun03 0:01 init [2] root 4625 0.0 0.0 4908 756 pts/15 R+ 17:22 0:00 grep init |
#netstat -lnp
Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN 2407/portmap tcp 0 0 192.168.15.2:53 0.0.0.0:* LISTEN 24093/named tcp 0 0 127.0.0.1:53 0.0.0.0:* LISTEN 24093/named tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 3843/sshd tcp 0 0 127.0.0.1:953 0.0.0.0:* LISTEN 24093/named tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 2989/exim4 tcp6 0 0 :::53 :::* LISTEN 24093/named tcp6 0 0 :::22 :::* LISTEN 3843/sshd ... unix 2 [ ACC ] STREAM LISTENING 227030 957/x-session-manag /tmp/.ICE-unix/957 unix 2 [ ACC ] STREAM LISTENING 7836 3023/hald @/var/run/hald/dbus-eIoPv8M9kY unix 2 [ ACC ] STREAM LISTENING 223752 690/X @/tmp/.X11-unix/X0 unix 2 [ ACC ] STREAM LISTENING 7784 2999/lpd /dev/printer unix 2 [ ACC ] STREAM LISTENING 227660 1193/gam_server @/tmp/fam-user- unix 2 [ ACC ] STREAM LISTENING 223634 676/gdm /var/run/gdm_socket unix 2 [ ACC ] STREAM LISTENING 7428 2683/dbus-daemon /var/run/dbus/system_bus_socket unix 2 [ ACC ] STREAM LISTENING 227029 957/x-session-manag @/tmp/.ICE-unix/957 unix 2 [ ACC ] STREAM LISTENING 7404 2673/syslog-ng /dev/log unix 2 [ ACC ] STREAM LISTENING 226770 1068/dbus-daemon @/tmp/dbus-2SPOVWJvNd |
#netstat -lnp
Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN 2407/portmap tcp 0 0 192.168.15.2:53 0.0.0.0:* LISTEN 24093/named tcp 0 0 127.0.0.1:53 0.0.0.0:* LISTEN 24093/named tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 3843/sshd tcp 0 0 127.0.0.1:953 0.0.0.0:* LISTEN 24093/named tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 2989/exim4 tcp6 0 0 :::53 :::* LISTEN 24093/named tcp6 0 0 :::22 :::* LISTEN 3843/sshd ... unix 2 [ ACC ] STREAM LISTENING 227030 957/x-session-manag /tmp/.ICE-unix/957 unix 2 [ ACC ] STREAM LISTENING 7836 3023/hald @/var/run/hald/dbus-eIoPv8M9kY unix 2 [ ACC ] STREAM LISTENING 223752 690/X @/tmp/.X11-unix/X0 unix 2 [ ACC ] STREAM LISTENING 7784 2999/lpd /dev/printer unix 2 [ ACC ] STREAM LISTENING 227660 1193/gam_server @/tmp/fam-user- unix 2 [ ACC ] STREAM LISTENING 223634 676/gdm /var/run/gdm_socket unix 2 [ ACC ] STREAM LISTENING 7428 2683/dbus-daemon /var/run/dbus/system_bus_socket unix 2 [ ACC ] STREAM LISTENING 227029 957/x-session-manag @/tmp/.ICE-unix/957 unix 2 [ ACC ] STREAM LISTENING 7404 2673/syslog-ng /dev/log unix 2 [ ACC ] STREAM LISTENING 226770 1068/dbus-daemon @/tmp/dbus-2SPOVWJvNd |
#tail -f /var/syslog
tail: невозможно открыть `/var/syslog' для чтения: Нет такого файла или каталога tail: больше нет файлов |
#tail -f /var/syslog
tail: невозможно открыть `/var/syslog' для чтения: Нет такого файла или каталога tail: больше нет файлов |
#tail -f /var/log/syslog
Jun 4 17:14:28 linux11 named[24093]: using default UDP/IPv4 port range: [1024, 65535] Jun 4 17:14:28 linux11 named[24093]: using default UDP/IPv6 port range: [1024, 65535] Jun 4 17:14:28 linux11 named[24093]: listening on IPv4 interface eth0, 192.168.15.2#53 Jun 4 17:14:28 linux11 named[24093]: no longer listening on 192.168.106.2#53 Jun 4 17:14:28 linux11 named[24093]: reloading configuration succeeded Jun 4 17:14:28 linux11 named[24093]: any newly configured zones are now loaded Jun 4 17:14:37 linux11 ntpdate[3835]: step time server 193.34.155.3 offset 0.101188 sec Jun 4 17:15:57 linux11 monit[3238]: 'sshd' process PID changed to 3843 Jun 4 17:17:01 linux11 /USR/SBIN/CRON[3908]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly) Jun 4 17:18:57 linux11 monit[3238]: 'sshd' PID has not changed ^C |
#tail -f /var/log/syslog
Jun 4 17:14:28 linux11 named[24093]: using default UDP/IPv4 port range: [1024, 65535] Jun 4 17:14:28 linux11 named[24093]: using default UDP/IPv6 port range: [1024, 65535] Jun 4 17:14:28 linux11 named[24093]: listening on IPv4 interface eth0, 192.168.15.2#53 Jun 4 17:14:28 linux11 named[24093]: no longer listening on 192.168.106.2#53 Jun 4 17:14:28 linux11 named[24093]: reloading configuration succeeded Jun 4 17:14:28 linux11 named[24093]: any newly configured zones are now loaded Jun 4 17:14:37 linux11 ntpdate[3835]: step time server 193.34.155.3 offset 0.101188 sec Jun 4 17:15:57 linux11 monit[3238]: 'sshd' process PID changed to 3843 Jun 4 17:17:01 linux11 /USR/SBIN/CRON[3908]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly) Jun 4 17:18:57 linux11 monit[3238]: 'sshd' PID has not changed ^C |
#netstat -lnp
Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN 2407/portmap tcp 0 0 192.168.15.2:53 0.0.0.0:* LISTEN 24093/named tcp 0 0 127.0.0.1:53 0.0.0.0:* LISTEN 24093/named tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 3843/sshd tcp 0 0 127.0.0.1:953 0.0.0.0:* LISTEN 24093/named tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 2989/exim4 tcp6 0 0 :::53 :::* LISTEN 24093/named tcp6 0 0 :::22 :::* LISTEN 3843/sshd ... unix 2 [ ACC ] STREAM LISTENING 227030 957/x-session-manag /tmp/.ICE-unix/957 unix 2 [ ACC ] STREAM LISTENING 7836 3023/hald @/var/run/hald/dbus-eIoPv8M9kY unix 2 [ ACC ] STREAM LISTENING 223752 690/X @/tmp/.X11-unix/X0 unix 2 [ ACC ] STREAM LISTENING 7784 2999/lpd /dev/printer unix 2 [ ACC ] STREAM LISTENING 227660 1193/gam_server @/tmp/fam-user- unix 2 [ ACC ] STREAM LISTENING 223634 676/gdm /var/run/gdm_socket unix 2 [ ACC ] STREAM LISTENING 7428 2683/dbus-daemon /var/run/dbus/system_bus_socket unix 2 [ ACC ] STREAM LISTENING 227029 957/x-session-manag @/tmp/.ICE-unix/957 unix 2 [ ACC ] STREAM LISTENING 7404 2673/syslog-ng /dev/log unix 2 [ ACC ] STREAM LISTENING 226770 1068/dbus-daemon @/tmp/dbus-2SPOVWJvNd |
#netstat -lnp
Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN 2407/portmap tcp 0 0 192.168.15.2:53 0.0.0.0:* LISTEN 24093/named tcp 0 0 127.0.0.1:53 0.0.0.0:* LISTEN 24093/named tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 3843/sshd tcp 0 0 127.0.0.1:953 0.0.0.0:* LISTEN 24093/named tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 2989/exim4 tcp6 0 0 :::53 :::* LISTEN 24093/named tcp6 0 0 :::22 :::* LISTEN 3843/sshd ... unix 2 [ ACC ] STREAM LISTENING 227030 957/x-session-manag /tmp/.ICE-unix/957 unix 2 [ ACC ] STREAM LISTENING 7836 3023/hald @/var/run/hald/dbus-eIoPv8M9kY unix 2 [ ACC ] STREAM LISTENING 223752 690/X @/tmp/.X11-unix/X0 unix 2 [ ACC ] STREAM LISTENING 7784 2999/lpd /dev/printer unix 2 [ ACC ] STREAM LISTENING 227660 1193/gam_server @/tmp/fam-user- unix 2 [ ACC ] STREAM LISTENING 223634 676/gdm /var/run/gdm_socket unix 2 [ ACC ] STREAM LISTENING 7428 2683/dbus-daemon /var/run/dbus/system_bus_socket unix 2 [ ACC ] STREAM LISTENING 227029 957/x-session-manag @/tmp/.ICE-unix/957 unix 2 [ ACC ] STREAM LISTENING 7404 2673/syslog-ng /dev/log unix 2 [ ACC ] STREAM LISTENING 226770 1068/dbus-daemon @/tmp/dbus-2SPOVWJvNd |
#tail -f /var/syslog
tail: невозможно открыть `/var/syslog' для чтения: Нет такого файла или каталога tail: больше нет файлов |
#tail -f /var/syslog
tail: невозможно открыть `/var/syslog' для чтения: Нет такого файла или каталога tail: больше нет файлов |
#netstat -lnp
Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN 2407/portmap tcp 0 0 192.168.15.2:53 0.0.0.0:* LISTEN 24093/named tcp 0 0 127.0.0.1:53 0.0.0.0:* LISTEN 24093/named tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 3843/sshd tcp 0 0 127.0.0.1:953 0.0.0.0:* LISTEN 24093/named tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 2989/exim4 tcp6 0 0 :::53 :::* LISTEN 24093/named tcp6 0 0 :::22 :::* LISTEN 3843/sshd ... unix 2 [ ACC ] STREAM LISTENING 227030 957/x-session-manag /tmp/.ICE-unix/957 unix 2 [ ACC ] STREAM LISTENING 7836 3023/hald @/var/run/hald/dbus-eIoPv8M9kY unix 2 [ ACC ] STREAM LISTENING 223752 690/X @/tmp/.X11-unix/X0 unix 2 [ ACC ] STREAM LISTENING 7784 2999/lpd /dev/printer unix 2 [ ACC ] STREAM LISTENING 227660 1193/gam_server @/tmp/fam-user- unix 2 [ ACC ] STREAM LISTENING 223634 676/gdm /var/run/gdm_socket unix 2 [ ACC ] STREAM LISTENING 7428 2683/dbus-daemon /var/run/dbus/system_bus_socket unix 2 [ ACC ] STREAM LISTENING 227029 957/x-session-manag @/tmp/.ICE-unix/957 unix 2 [ ACC ] STREAM LISTENING 7404 2673/syslog-ng /dev/log unix 2 [ ACC ] STREAM LISTENING 226770 1068/dbus-daemon @/tmp/dbus-2SPOVWJvNd |
#netstat -lnp
Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN 2407/portmap tcp 0 0 192.168.15.2:53 0.0.0.0:* LISTEN 24093/named tcp 0 0 127.0.0.1:53 0.0.0.0:* LISTEN 24093/named tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 3843/sshd tcp 0 0 127.0.0.1:953 0.0.0.0:* LISTEN 24093/named tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 2989/exim4 tcp6 0 0 :::53 :::* LISTEN 24093/named tcp6 0 0 :::22 :::* LISTEN 3843/sshd ... unix 2 [ ACC ] STREAM LISTENING 227030 957/x-session-manag /tmp/.ICE-unix/957 unix 2 [ ACC ] STREAM LISTENING 7836 3023/hald @/var/run/hald/dbus-eIoPv8M9kY unix 2 [ ACC ] STREAM LISTENING 223752 690/X @/tmp/.X11-unix/X0 unix 2 [ ACC ] STREAM LISTENING 7784 2999/lpd /dev/printer unix 2 [ ACC ] STREAM LISTENING 227660 1193/gam_server @/tmp/fam-user- unix 2 [ ACC ] STREAM LISTENING 223634 676/gdm /var/run/gdm_socket unix 2 [ ACC ] STREAM LISTENING 7428 2683/dbus-daemon /var/run/dbus/system_bus_socket unix 2 [ ACC ] STREAM LISTENING 227029 957/x-session-manag @/tmp/.ICE-unix/957 unix 2 [ ACC ] STREAM LISTENING 7404 2673/syslog-ng /dev/log unix 2 [ ACC ] STREAM LISTENING 226770 1068/dbus-daemon @/tmp/dbus-2SPOVWJvNd |
#echo (1244120611-1244123439)/60 | bc
bash: syntax error near unexpected token `1244120611-1244123439' |
#echo (1244120611-1244123439)/60 | bc
bash: syntax error near unexpected token `1244120611-1244123439' |
#init q
|
#netstat -lnp
Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN 2407/portmap tcp 0 0 192.168.15.2:53 0.0.0.0:* LISTEN 24093/named tcp 0 0 127.0.0.1:53 0.0.0.0:* LISTEN 24093/named tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 3843/sshd tcp 0 0 127.0.0.1:953 0.0.0.0:* LISTEN 24093/named tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 2989/exim4 tcp6 0 0 :::53 :::* LISTEN 24093/named tcp6 0 0 :::22 :::* LISTEN 3843/sshd ... unix 2 [ ACC ] STREAM LISTENING 227030 957/x-session-manag /tmp/.ICE-unix/957 unix 2 [ ACC ] STREAM LISTENING 7836 3023/hald @/var/run/hald/dbus-eIoPv8M9kY unix 2 [ ACC ] STREAM LISTENING 223752 690/X @/tmp/.X11-unix/X0 unix 2 [ ACC ] STREAM LISTENING 7784 2999/lpd /dev/printer unix 2 [ ACC ] STREAM LISTENING 227660 1193/gam_server @/tmp/fam-user- unix 2 [ ACC ] STREAM LISTENING 223634 676/gdm /var/run/gdm_socket unix 2 [ ACC ] STREAM LISTENING 7428 2683/dbus-daemon /var/run/dbus/system_bus_socket unix 2 [ ACC ] STREAM LISTENING 227029 957/x-session-manag @/tmp/.ICE-unix/957 unix 2 [ ACC ] STREAM LISTENING 7404 2673/syslog-ng /dev/log unix 2 [ ACC ] STREAM LISTENING 226770 1068/dbus-daemon @/tmp/dbus-2SPOVWJvNd |
#netstat -lnp
Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN 2407/portmap tcp 0 0 192.168.15.2:53 0.0.0.0:* LISTEN 24093/named tcp 0 0 127.0.0.1:53 0.0.0.0:* LISTEN 24093/named tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 3843/sshd tcp 0 0 127.0.0.1:953 0.0.0.0:* LISTEN 24093/named tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 2989/exim4 tcp6 0 0 :::53 :::* LISTEN 24093/named tcp6 0 0 :::22 :::* LISTEN 3843/sshd ... unix 2 [ ACC ] STREAM LISTENING 227030 957/x-session-manag /tmp/.ICE-unix/957 unix 2 [ ACC ] STREAM LISTENING 7836 3023/hald @/var/run/hald/dbus-eIoPv8M9kY unix 2 [ ACC ] STREAM LISTENING 223752 690/X @/tmp/.X11-unix/X0 unix 2 [ ACC ] STREAM LISTENING 7784 2999/lpd /dev/printer unix 2 [ ACC ] STREAM LISTENING 227660 1193/gam_server @/tmp/fam-user- unix 2 [ ACC ] STREAM LISTENING 223634 676/gdm /var/run/gdm_socket unix 2 [ ACC ] STREAM LISTENING 7428 2683/dbus-daemon /var/run/dbus/system_bus_socket unix 2 [ ACC ] STREAM LISTENING 227029 957/x-session-manag @/tmp/.ICE-unix/957 unix 2 [ ACC ] STREAM LISTENING 7404 2673/syslog-ng /dev/log unix 2 [ ACC ] STREAM LISTENING 226770 1068/dbus-daemon @/tmp/dbus-2SPOVWJvNd |
#netstat -lnp
Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN 2407/portmap tcp 0 0 192.168.15.2:53 0.0.0.0:* LISTEN 24093/named tcp 0 0 127.0.0.1:53 0.0.0.0:* LISTEN 24093/named tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 3843/sshd tcp 0 0 127.0.0.1:953 0.0.0.0:* LISTEN 24093/named tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 2989/exim4 tcp6 0 0 :::53 :::* LISTEN 24093/named tcp6 0 0 :::22 :::* LISTEN 3843/sshd ... unix 2 [ ACC ] STREAM LISTENING 227030 957/x-session-manag /tmp/.ICE-unix/957 unix 2 [ ACC ] STREAM LISTENING 7836 3023/hald @/var/run/hald/dbus-eIoPv8M9kY unix 2 [ ACC ] STREAM LISTENING 223752 690/X @/tmp/.X11-unix/X0 unix 2 [ ACC ] STREAM LISTENING 7784 2999/lpd /dev/printer unix 2 [ ACC ] STREAM LISTENING 227660 1193/gam_server @/tmp/fam-user- unix 2 [ ACC ] STREAM LISTENING 223634 676/gdm /var/run/gdm_socket unix 2 [ ACC ] STREAM LISTENING 7428 2683/dbus-daemon /var/run/dbus/system_bus_socket unix 2 [ ACC ] STREAM LISTENING 227029 957/x-session-manag @/tmp/.ICE-unix/957 unix 2 [ ACC ] STREAM LISTENING 7404 2673/syslog-ng /dev/log unix 2 [ ACC ] STREAM LISTENING 226770 1068/dbus-daemon @/tmp/dbus-2SPOVWJvNd |
#netstat -lnp
Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN 2407/portmap tcp 0 0 192.168.15.2:53 0.0.0.0:* LISTEN 24093/named tcp 0 0 127.0.0.1:53 0.0.0.0:* LISTEN 24093/named tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 3843/sshd tcp 0 0 127.0.0.1:953 0.0.0.0:* LISTEN 24093/named tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 2989/exim4 tcp6 0 0 :::53 :::* LISTEN 24093/named tcp6 0 0 :::22 :::* LISTEN 3843/sshd ... unix 2 [ ACC ] STREAM LISTENING 227030 957/x-session-manag /tmp/.ICE-unix/957 unix 2 [ ACC ] STREAM LISTENING 7836 3023/hald @/var/run/hald/dbus-eIoPv8M9kY unix 2 [ ACC ] STREAM LISTENING 223752 690/X @/tmp/.X11-unix/X0 unix 2 [ ACC ] STREAM LISTENING 7784 2999/lpd /dev/printer unix 2 [ ACC ] STREAM LISTENING 227660 1193/gam_server @/tmp/fam-user- unix 2 [ ACC ] STREAM LISTENING 223634 676/gdm /var/run/gdm_socket unix 2 [ ACC ] STREAM LISTENING 7428 2683/dbus-daemon /var/run/dbus/system_bus_socket unix 2 [ ACC ] STREAM LISTENING 227029 957/x-session-manag @/tmp/.ICE-unix/957 unix 2 [ ACC ] STREAM LISTENING 7404 2673/syslog-ng /dev/log unix 2 [ ACC ] STREAM LISTENING 226770 1068/dbus-daemon @/tmp/dbus-2SPOVWJvNd |
#netstat -lnp
Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN 2407/portmap tcp 0 0 192.168.15.2:53 0.0.0.0:* LISTEN 24093/named tcp 0 0 127.0.0.1:53 0.0.0.0:* LISTEN 24093/named tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 3843/sshd tcp 0 0 127.0.0.1:953 0.0.0.0:* LISTEN 24093/named tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 2989/exim4 tcp6 0 0 :::53 :::* LISTEN 24093/named tcp6 0 0 :::22 :::* LISTEN 3843/sshd ... unix 2 [ ACC ] STREAM LISTENING 227030 957/x-session-manag /tmp/.ICE-unix/957 unix 2 [ ACC ] STREAM LISTENING 7836 3023/hald @/var/run/hald/dbus-eIoPv8M9kY unix 2 [ ACC ] STREAM LISTENING 223752 690/X @/tmp/.X11-unix/X0 unix 2 [ ACC ] STREAM LISTENING 7784 2999/lpd /dev/printer unix 2 [ ACC ] STREAM LISTENING 227660 1193/gam_server @/tmp/fam-user- unix 2 [ ACC ] STREAM LISTENING 223634 676/gdm /var/run/gdm_socket unix 2 [ ACC ] STREAM LISTENING 7428 2683/dbus-daemon /var/run/dbus/system_bus_socket unix 2 [ ACC ] STREAM LISTENING 227029 957/x-session-manag @/tmp/.ICE-unix/957 unix 2 [ ACC ] STREAM LISTENING 7404 2673/syslog-ng /dev/log unix 2 [ ACC ] STREAM LISTENING 226770 1068/dbus-daemon @/tmp/dbus-2SPOVWJvNd |
#netstat -lnp
Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN 2407/portmap tcp 0 0 192.168.15.2:53 0.0.0.0:* LISTEN 24093/named tcp 0 0 127.0.0.1:53 0.0.0.0:* LISTEN 24093/named tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 3843/sshd tcp 0 0 127.0.0.1:953 0.0.0.0:* LISTEN 24093/named tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 2989/exim4 tcp6 0 0 :::53 :::* LISTEN 24093/named tcp6 0 0 :::22 :::* LISTEN 3843/sshd ... unix 2 [ ACC ] STREAM LISTENING 227030 957/x-session-manag /tmp/.ICE-unix/957 unix 2 [ ACC ] STREAM LISTENING 7836 3023/hald @/var/run/hald/dbus-eIoPv8M9kY unix 2 [ ACC ] STREAM LISTENING 223752 690/X @/tmp/.X11-unix/X0 unix 2 [ ACC ] STREAM LISTENING 7784 2999/lpd /dev/printer unix 2 [ ACC ] STREAM LISTENING 227660 1193/gam_server @/tmp/fam-user- unix 2 [ ACC ] STREAM LISTENING 223634 676/gdm /var/run/gdm_socket unix 2 [ ACC ] STREAM LISTENING 7428 2683/dbus-daemon /var/run/dbus/system_bus_socket unix 2 [ ACC ] STREAM LISTENING 227029 957/x-session-manag @/tmp/.ICE-unix/957 unix 2 [ ACC ] STREAM LISTENING 7404 2673/syslog-ng /dev/log unix 2 [ ACC ] STREAM LISTENING 226770 1068/dbus-daemon @/tmp/dbus-2SPOVWJvNd |
Время первой команды журнала | 16:52:08 2009- 6- 4 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Время последней команды журнала | 17:30:47 2009- 6- 4 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Количество командных строк в журнале | 101 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Процент команд с ненулевым кодом завершения, % | 15.84 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Процент синтаксически неверно набранных команд, % | 0.00 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Суммарное время работы с терминалом *, час | 0.64 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Количество командных строк в единицу времени, команда/мин | 2.61 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Частота использования команд |
|
В журнал автоматически попадают все команды, данные в любом терминале системы.
Для того чтобы убедиться, что журнал на текущем терминале ведётся, и команды записываются, дайте команду 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