/l3/users/eb/2009/linux3/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 |
|
#smbpasswd --help
smbpasswd: invalid option -- '-' When run by root: smbpasswd [options] [username] otherwise: smbpasswd [options] options: -L local mode (must be first option) -h print this usage message -s use stdin for password prompt -c smb.conf file Use the given path to the smb.conf file ... -a add user -d disable user -e enable user -i interdomain trust account -m machine trust account -n set no password -W use stdin ldap admin password -w PASSWORD ldap admin password -x delete user -R ORDER name resolve order |
#smbpasswd --help
smbpasswd: invalid option -- '-' When run by root: smbpasswd [options] [username] otherwise: smbpasswd [options] options: -L local mode (must be first option) -h print this usage message -s use stdin for password prompt -c smb.conf file Use the given path to the smb.conf file ... -a add user -d disable user -e enable user -i interdomain trust account -m machine trust account -n set no password -W use stdin ldap admin password -w PASSWORD ldap admin password -x delete user -R ORDER name resolve order |
#ls /etc/l
ldap/ ld.so.conf libaudit.conf lilalo/ locale.gen logcheck/ logrotate.conf lsb-base/ ld.so.cache ld.so.conf.d/ libpaper.d/ locale.alias localtime login.defs logrotate.d/ lvm/ |
#ls /etc/l
ldap/ ld.so.conf libaudit.conf lilalo/ locale.gen logcheck/ logrotate.conf lsb-base/ ld.so.cache ld.so.conf.d/ libpaper.d/ locale.alias localtime login.defs logrotate.d/ lvm/ |
#ls /etc/ldap/
ldap.conf sasl2/ schema/ slapd.conf |
#ls /etc/l
ldap/ ld.so.conf libaudit.conf lilalo/ locale.gen logcheck/ logrotate.conf lsb-base/ ld.so.cache ld.so.conf.d/ libpaper.d/ locale.alias localtime login.defs logrotate.d/ lvm/ |
#ls /etc/l
ldap/ ld.so.conf libaudit.conf lilalo/ locale.gen logcheck/ logrotate.conf lsb-base/ ld.so.cache ld.so.conf.d/ libpaper.d/ locale.alias localtime login.defs logrotate.d/ lvm/ |
#ls /etc/ldap/
ldap.conf sasl2/ schema/ slapd.conf |
#ls /etc/ldap/schema/
collective.schema cosine.ldif inetorgperson.ldif nadf.schema openldap.schema corba.schema cosine.schema inetorgperson.schema nis.ldif pmi.schema core.ldif duaconf.schema java.schema nis.schema ppolicy.schema core.schema dyngroup.schema misc.schema openldap.ldif README |
#ls /etc/ldap/schema/
collective.schema cosine.ldif inetorgperson.ldif nadf.schema openldap.schema corba.schema cosine.schema inetorgperson.schema nis.ldif pmi.schema core.ldif duaconf.schema java.schema nis.schema ppolicy.schema core.schema dyngroup.schema misc.schema openldap.ldif README |
#ls
1 etc.zip harddisk.img hello m1 Mail remote_ssh_config screen.dot screen.png sent t1.txt |
#ls
1 etc.zip harddisk.img hello m1 Mail remote_ssh_config screen.dot screen.png sent t1.txt |
#zip -ry9 ./etc.zip /etc
adding: etc/vga/libvga.et4000 (deflated 79%) adding: etc/vga/libvga.config (deflated 58%) adding: etc/mime.types (deflated 70%) adding: etc/apt/ (stored 0%) adding: etc/apt/trusted.gpg (deflated 9%) adding: etc/apt/apt.conf.d/ (stored 0%) adding: etc/apt/apt.conf.d/01autoremove (deflated 14%) adding: etc/apt/apt.conf.d/90debsums (deflated 17%) adding: etc/apt/apt.conf.d/70debconf (deflated 21%) adding: etc/apt/sources.list (deflated 43%) ... adding: etc/ssl/certs/635ccfd5.0 (stored 0%) adding: etc/ssl/certs/IPS_Timestamping_root.pem (stored 0%) adding: etc/ssl/certs/DigiCert_Assured_ID_Root_CA.pem (stored 0%) adding: etc/ssl/certs/Entrust.net_Premium_2048_Secure_Server_CA.pem (stored 0%) adding: etc/ssl/certs/2fb1850a.0 (stored 0%) adding: etc/ssl/certs/signet_rootca_pem.pem (stored 0%) adding: etc/ssl/certs/b0f3e76e.0 (stored 0%) adding: etc/ssl/certs/Firmaprofesional_Root_CA.pem (stored 0%) adding: etc/ssl/certs/d8274e24.0 (stored 0%) adding: etc/ssl/certs/UTN-USER_First-Network_Applications.pem (stored 0%) |
#zip -ry9 ./etc.zip /etc
adding: etc/vga/libvga.et4000 (deflated 79%) adding: etc/vga/libvga.config (deflated 58%) adding: etc/mime.types (deflated 70%) adding: etc/apt/ (stored 0%) adding: etc/apt/trusted.gpg (deflated 9%) adding: etc/apt/apt.conf.d/ (stored 0%) adding: etc/apt/apt.conf.d/01autoremove (deflated 14%) adding: etc/apt/apt.conf.d/90debsums (deflated 17%) adding: etc/apt/apt.conf.d/70debconf (deflated 21%) adding: etc/apt/sources.list (deflated 43%) ... adding: etc/ssl/certs/635ccfd5.0 (stored 0%) adding: etc/ssl/certs/IPS_Timestamping_root.pem (stored 0%) adding: etc/ssl/certs/DigiCert_Assured_ID_Root_CA.pem (stored 0%) adding: etc/ssl/certs/Entrust.net_Premium_2048_Secure_Server_CA.pem (stored 0%) adding: etc/ssl/certs/2fb1850a.0 (stored 0%) adding: etc/ssl/certs/signet_rootca_pem.pem (stored 0%) adding: etc/ssl/certs/b0f3e76e.0 (stored 0%) adding: etc/ssl/certs/Firmaprofesional_Root_CA.pem (stored 0%) adding: etc/ssl/certs/d8274e24.0 (stored 0%) adding: etc/ssl/certs/UTN-USER_First-Network_Applications.pem (stored 0%) |
#hping3 --help
usage: hping3 host [options] -h --help show this help -v --version show version -c --count packet count -i --interval wait (uX for X microseconds, for example -i u1000) --fast alias for -i u10000 (10 packets for second) --faster alias for -i u1000 (100 packets for second) --flood sent packets as fast as possible. Don't show replies. -n --numeric numeric output -q --quiet quiet ... -j --dump dump packets in hex -J --print dump printable characters -B --safe enable 'safe' protocol -u --end tell you when --file reached EOF and prevent rewind -T --traceroute traceroute mode (implies --bind and --ttl 1) --tr-stop Exit when receive the first not ICMP in traceroute mode --tr-keep-ttl Keep the source TTL fixed, useful to monitor just one hop --tr-no-rtt Don't calculate/show RTT information in traceroute mode ARS packet description (new, unstable) --apd-send Send the packet described with APD (see docs/APD.txt) |
#hping3 --help
usage: hping3 host [options] -h --help show this help -v --version show version -c --count packet count -i --interval wait (uX for X microseconds, for example -i u1000) --fast alias for -i u10000 (10 packets for second) --faster alias for -i u1000 (100 packets for second) --flood sent packets as fast as possible. Don't show replies. -n --numeric numeric output -q --quiet quiet ... -j --dump dump packets in hex -J --print dump printable characters -B --safe enable 'safe' protocol -u --end tell you when --file reached EOF and prevent rewind -T --traceroute traceroute mode (implies --bind and --ttl 1) --tr-stop Exit when receive the first not ICMP in traceroute mode --tr-keep-ttl Keep the source TTL fixed, useful to monitor just one hop --tr-no-rtt Don't calculate/show RTT information in traceroute mode ARS packet description (new, unstable) --apd-send Send the packet described with APD (see docs/APD.txt) |
#ping --help
ping: invalid option -- '-' Usage: ping [-LRUbdfnqrvVaA] [-c count] [-i interval] [-w deadline] [-p pattern] [-s packetsize] [-t ttl] [-I interface or address] [-M mtu discovery hint] [-S sndbuf] [ -T timestamp option ] [ -Q tos ] [hop1 ...] destination |
#ping --help
ping: invalid option -- '-' Usage: ping [-LRUbdfnqrvVaA] [-c count] [-i interval] [-w deadline] [-p pattern] [-s packetsize] [-t ttl] [-I interface or address] [-M mtu discovery hint] [-S sndbuf] [ -T timestamp option ] [ -Q tos ] [hop1 ...] destination |
#ping -l 500 -M crimea-board.info
ping: wrong value for -M: do, dont, want are valid ones. |
#ping -l 500 -M crimea-board.info
ping: wrong value for -M: do, dont, want are valid ones. |
#ping -l 500 -M do crimea-board.info
PING crimea-board.info (193.238.109.9) 56(84) bytes of data. 64 bytes from crimea-board.info (193.238.109.9): icmp_seq=1 ttl=54 time=27.5 ms 64 bytes from crimea-board.info (193.238.109.9): icmp_seq=2 ttl=54 time=32.3 ms 64 bytes from crimea-board.info (193.238.109.9): icmp_seq=3 ttl=54 time=32.4 ms 64 bytes from crimea-board.info (193.238.109.9): icmp_seq=4 ttl=54 time=32.4 ms 64 bytes from crimea-board.info (193.238.109.9): icmp_seq=5 ttl=54 time=32.4 ms 64 bytes from crimea-board.info (193.238.109.9): icmp_seq=6 ttl=54 time=32.4 ms 64 bytes from crimea-board.info (193.238.109.9): icmp_seq=7 ttl=54 time=32.4 ms 64 bytes from crimea-board.info (193.238.109.9): icmp_seq=8 ttl=54 time=32.4 ms 64 bytes from crimea-board.info (193.238.109.9): icmp_seq=9 ttl=54 time=32.4 ms ... 64 bytes from crimea-board.info (193.238.109.9): icmp_seq=22 ttl=54 time=51.9 ms 64 bytes from crimea-board.info (193.238.109.9): icmp_seq=23 ttl=54 time=26.1 ms 64 bytes from crimea-board.info (193.238.109.9): icmp_seq=24 ttl=54 time=44.7 ms 64 bytes from crimea-board.info (193.238.109.9): icmp_seq=25 ttl=54 time=144 ms 64 bytes from crimea-board.info (193.238.109.9): icmp_seq=26 ttl=54 time=25.7 ms 64 bytes from crimea-board.info (193.238.109.9): icmp_seq=27 ttl=54 time=24.5 ms 64 bytes from crimea-board.info (193.238.109.9): icmp_seq=28 ttl=54 time=43.9 ms --- crimea-board.info ping statistics --- 28 packets transmitted, 28 received, 0% packet loss, time 13991ms rtt min/avg/max/mdev = 24.517/46.856/270.824/48.271 ms, pipe 14 |
#ping -l 500 -M do crimea-board.info
PING crimea-board.info (193.238.109.9) 56(84) bytes of data. 64 bytes from crimea-board.info (193.238.109.9): icmp_seq=1 ttl=54 time=27.5 ms 64 bytes from crimea-board.info (193.238.109.9): icmp_seq=2 ttl=54 time=32.3 ms 64 bytes from crimea-board.info (193.238.109.9): icmp_seq=3 ttl=54 time=32.4 ms 64 bytes from crimea-board.info (193.238.109.9): icmp_seq=4 ttl=54 time=32.4 ms 64 bytes from crimea-board.info (193.238.109.9): icmp_seq=5 ttl=54 time=32.4 ms 64 bytes from crimea-board.info (193.238.109.9): icmp_seq=6 ttl=54 time=32.4 ms 64 bytes from crimea-board.info (193.238.109.9): icmp_seq=7 ttl=54 time=32.4 ms 64 bytes from crimea-board.info (193.238.109.9): icmp_seq=8 ttl=54 time=32.4 ms 64 bytes from crimea-board.info (193.238.109.9): icmp_seq=9 ttl=54 time=32.4 ms ... 64 bytes from crimea-board.info (193.238.109.9): icmp_seq=22 ttl=54 time=51.9 ms 64 bytes from crimea-board.info (193.238.109.9): icmp_seq=23 ttl=54 time=26.1 ms 64 bytes from crimea-board.info (193.238.109.9): icmp_seq=24 ttl=54 time=44.7 ms 64 bytes from crimea-board.info (193.238.109.9): icmp_seq=25 ttl=54 time=144 ms 64 bytes from crimea-board.info (193.238.109.9): icmp_seq=26 ttl=54 time=25.7 ms 64 bytes from crimea-board.info (193.238.109.9): icmp_seq=27 ttl=54 time=24.5 ms 64 bytes from crimea-board.info (193.238.109.9): icmp_seq=28 ttl=54 time=43.9 ms --- crimea-board.info ping statistics --- 28 packets transmitted, 28 received, 0% packet loss, time 13991ms rtt min/avg/max/mdev = 24.517/46.856/270.824/48.271 ms, pipe 14 |
#ping -l 1500 -M do crimea-board.info
WARNING: probably, rcvbuf is not enough to hold preload. PING crimea-board.info (193.238.109.9) 56(84) bytes of data. 64 bytes from crimea-board.info (193.238.109.9): icmp_seq=1 ttl=54 time=47.6 ms 64 bytes from crimea-board.info (193.238.109.9): icmp_seq=2 ttl=54 time=132 ms 64 bytes from crimea-board.info (193.238.109.9): icmp_seq=3 ttl=54 time=132 ms 64 bytes from crimea-board.info (193.238.109.9): icmp_seq=4 ttl=54 time=132 ms 64 bytes from crimea-board.info (193.238.109.9): icmp_seq=5 ttl=54 time=132 ms 64 bytes from crimea-board.info (193.238.109.9): icmp_seq=6 ttl=54 time=132 ms 64 bytes from crimea-board.info (193.238.109.9): icmp_seq=7 ttl=54 time=132 ms 64 bytes from crimea-board.info (193.238.109.9): icmp_seq=8 ttl=54 time=132 ms ... 64 bytes from crimea-board.info (193.238.109.9): icmp_seq=20 ttl=54 time=25.6 ms 64 bytes from crimea-board.info (193.238.109.9): icmp_seq=21 ttl=54 time=25.9 ms 64 bytes from crimea-board.info (193.238.109.9): icmp_seq=22 ttl=54 time=34.8 ms 64 bytes from crimea-board.info (193.238.109.9): icmp_seq=23 ttl=54 time=41.1 ms 64 bytes from crimea-board.info (193.238.109.9): icmp_seq=24 ttl=54 time=26.6 ms 64 bytes from crimea-board.info (193.238.109.9): icmp_seq=25 ttl=54 time=26.7 ms 64 bytes from crimea-board.info (193.238.109.9): icmp_seq=26 ttl=54 time=25.2 ms --- crimea-board.info ping statistics --- 26 packets transmitted, 26 received, 0% packet loss, time 11994ms rtt min/avg/max/mdev = 25.238/88.342/133.482/47.480 ms, pipe 14 |
#ping -l 1500 -M do crimea-board.info
WARNING: probably, rcvbuf is not enough to hold preload. PING crimea-board.info (193.238.109.9) 56(84) bytes of data. 64 bytes from crimea-board.info (193.238.109.9): icmp_seq=1 ttl=54 time=47.6 ms 64 bytes from crimea-board.info (193.238.109.9): icmp_seq=2 ttl=54 time=132 ms 64 bytes from crimea-board.info (193.238.109.9): icmp_seq=3 ttl=54 time=132 ms 64 bytes from crimea-board.info (193.238.109.9): icmp_seq=4 ttl=54 time=132 ms 64 bytes from crimea-board.info (193.238.109.9): icmp_seq=5 ttl=54 time=132 ms 64 bytes from crimea-board.info (193.238.109.9): icmp_seq=6 ttl=54 time=132 ms 64 bytes from crimea-board.info (193.238.109.9): icmp_seq=7 ttl=54 time=132 ms 64 bytes from crimea-board.info (193.238.109.9): icmp_seq=8 ttl=54 time=132 ms ... 64 bytes from crimea-board.info (193.238.109.9): icmp_seq=20 ttl=54 time=25.6 ms 64 bytes from crimea-board.info (193.238.109.9): icmp_seq=21 ttl=54 time=25.9 ms 64 bytes from crimea-board.info (193.238.109.9): icmp_seq=22 ttl=54 time=34.8 ms 64 bytes from crimea-board.info (193.238.109.9): icmp_seq=23 ttl=54 time=41.1 ms 64 bytes from crimea-board.info (193.238.109.9): icmp_seq=24 ttl=54 time=26.6 ms 64 bytes from crimea-board.info (193.238.109.9): icmp_seq=25 ttl=54 time=26.7 ms 64 bytes from crimea-board.info (193.238.109.9): icmp_seq=26 ttl=54 time=25.2 ms --- crimea-board.info ping statistics --- 26 packets transmitted, 26 received, 0% packet loss, time 11994ms rtt min/avg/max/mdev = 25.238/88.342/133.482/47.480 ms, pipe 14 |
#ping -l 2500 -M do crimea-board.info
WARNING: probably, rcvbuf is not enough to hold preload. PING crimea-board.info (193.238.109.9) 56(84) bytes of data. 64 bytes from crimea-board.info (193.238.109.9): icmp_seq=1 ttl=54 time=39.5 ms 64 bytes from crimea-board.info (193.238.109.9): icmp_seq=2 ttl=54 time=45.6 ms 64 bytes from crimea-board.info (193.238.109.9): icmp_seq=3 ttl=54 time=55.0 ms 64 bytes from crimea-board.info (193.238.109.9): icmp_seq=4 ttl=54 time=55.0 ms 64 bytes from crimea-board.info (193.238.109.9): icmp_seq=5 ttl=54 time=55.0 ms 64 bytes from crimea-board.info (193.238.109.9): icmp_seq=6 ttl=54 time=55.0 ms 64 bytes from crimea-board.info (193.238.109.9): icmp_seq=7 ttl=54 time=55.0 ms 64 bytes from crimea-board.info (193.238.109.9): icmp_seq=8 ttl=54 time=55.0 ms ... 64 bytes from crimea-board.info (193.238.109.9): icmp_seq=49 ttl=54 time=87.4 ms 64 bytes from crimea-board.info (193.238.109.9): icmp_seq=50 ttl=54 time=87.4 ms 64 bytes from crimea-board.info (193.238.109.9): icmp_seq=601 ttl=54 time=26.5 ms 64 bytes from crimea-board.info (193.238.109.9): icmp_seq=602 ttl=54 time=25.4 ms 64 bytes from crimea-board.info (193.238.109.9): icmp_seq=603 ttl=54 time=85.1 ms 64 bytes from crimea-board.info (193.238.109.9): icmp_seq=604 ttl=54 time=49.3 ms 64 bytes from crimea-board.info (193.238.109.9): icmp_seq=605 ttl=54 time=215 ms --- crimea-board.info ping statistics --- 606 packets transmitted, 55 received, 90% packet loss, time 6003ms rtt min/avg/max/mdev = 25.401/69.489/215.785/25.137 ms, pipe 600 |
#ping -l 2500 -M do crimea-board.info
WARNING: probably, rcvbuf is not enough to hold preload. PING crimea-board.info (193.238.109.9) 56(84) bytes of data. 64 bytes from crimea-board.info (193.238.109.9): icmp_seq=1 ttl=54 time=39.5 ms 64 bytes from crimea-board.info (193.238.109.9): icmp_seq=2 ttl=54 time=45.6 ms 64 bytes from crimea-board.info (193.238.109.9): icmp_seq=3 ttl=54 time=55.0 ms 64 bytes from crimea-board.info (193.238.109.9): icmp_seq=4 ttl=54 time=55.0 ms 64 bytes from crimea-board.info (193.238.109.9): icmp_seq=5 ttl=54 time=55.0 ms 64 bytes from crimea-board.info (193.238.109.9): icmp_seq=6 ttl=54 time=55.0 ms 64 bytes from crimea-board.info (193.238.109.9): icmp_seq=7 ttl=54 time=55.0 ms 64 bytes from crimea-board.info (193.238.109.9): icmp_seq=8 ttl=54 time=55.0 ms ... 64 bytes from crimea-board.info (193.238.109.9): icmp_seq=49 ttl=54 time=87.4 ms 64 bytes from crimea-board.info (193.238.109.9): icmp_seq=50 ttl=54 time=87.4 ms 64 bytes from crimea-board.info (193.238.109.9): icmp_seq=601 ttl=54 time=26.5 ms 64 bytes from crimea-board.info (193.238.109.9): icmp_seq=602 ttl=54 time=25.4 ms 64 bytes from crimea-board.info (193.238.109.9): icmp_seq=603 ttl=54 time=85.1 ms 64 bytes from crimea-board.info (193.238.109.9): icmp_seq=604 ttl=54 time=49.3 ms 64 bytes from crimea-board.info (193.238.109.9): icmp_seq=605 ttl=54 time=215 ms --- crimea-board.info ping statistics --- 606 packets transmitted, 55 received, 90% packet loss, time 6003ms rtt min/avg/max/mdev = 25.401/69.489/215.785/25.137 ms, pipe 600 |
#hping3 -TV crimea-board.info
using eth0, addr: 192.168.15.3, MTU: 1500 HPING crimea-board.info (eth0 193.238.109.9): NO FLAGS are set, 40 headers + 0 data bytes hop=1 TTL 0 during transit from ip=192.168.15.254 name=UNKNOWN hop=1 hoprtt=0.9 ms hop=2 TTL 0 during transit from ip=10.0.35.1 name=UNKNOWN hop=2 hoprtt=0.2 ms --- crimea-board.info hping statistic --- 11 packets transmitted, 2 packets received, 82% packet loss round-trip min/avg/max = 0.2/0.6/0.9 ms |
#hping3 -TV crimea-board.info
using eth0, addr: 192.168.15.3, MTU: 1500 HPING crimea-board.info (eth0 193.238.109.9): NO FLAGS are set, 40 headers + 0 data bytes hop=1 TTL 0 during transit from ip=192.168.15.254 name=UNKNOWN hop=1 hoprtt=0.9 ms hop=2 TTL 0 during transit from ip=10.0.35.1 name=UNKNOWN hop=2 hoprtt=0.2 ms --- crimea-board.info hping statistic --- 11 packets transmitted, 2 packets received, 82% packet loss round-trip min/avg/max = 0.2/0.6/0.9 ms |
#hping3 -0 -c 20 -m 1000 -y --rand-source -p 22 crimea-board.info
HPING crimea-board.info (eth0 193.238.109.9): raw IP mode set, 20 headers + 0 data bytes --- crimea-board.info hping statistic --- 20 packets transmitted, 0 packets received, 100% packet loss round-trip min/avg/max = 0.0/0.0/0.0 ms |
#hping3 -0 -c 20 -m 1000 -y --rand-source -p 22 crimea-board.info
HPING crimea-board.info (eth0 193.238.109.9): raw IP mode set, 20 headers + 0 data bytes --- crimea-board.info hping statistic --- 20 packets transmitted, 0 packets received, 100% packet loss round-trip min/avg/max = 0.0/0.0/0.0 ms |
#ping crimea-board.info
PING crimea-board.info (193.238.109.9) 56(84) bytes of data. 64 bytes from crimea-board.info (193.238.109.9): icmp_seq=1 ttl=54 time=27.7 ms 64 bytes from crimea-board.info (193.238.109.9): icmp_seq=2 ttl=54 time=25.3 ms 64 bytes from crimea-board.info (193.238.109.9): icmp_seq=3 ttl=54 time=53.8 ms 64 bytes from crimea-board.info (193.238.109.9): icmp_seq=4 ttl=54 time=55.9 ms --- crimea-board.info ping statistics --- 4 packets transmitted, 4 received, 0% packet loss, time 2997ms rtt min/avg/max/mdev = 25.395/40.731/55.938/14.220 ms |
#ping crimea-board.info
PING crimea-board.info (193.238.109.9) 56(84) bytes of data. 64 bytes from crimea-board.info (193.238.109.9): icmp_seq=1 ttl=54 time=27.7 ms 64 bytes from crimea-board.info (193.238.109.9): icmp_seq=2 ttl=54 time=25.3 ms 64 bytes from crimea-board.info (193.238.109.9): icmp_seq=3 ttl=54 time=53.8 ms 64 bytes from crimea-board.info (193.238.109.9): icmp_seq=4 ttl=54 time=55.9 ms --- crimea-board.info ping statistics --- 4 packets transmitted, 4 received, 0% packet loss, time 2997ms rtt min/avg/max/mdev = 25.395/40.731/55.938/14.220 ms |
#hping3 -0 -c 20 -y --rand-source -p 22 -A crimea-board.info
HPING crimea-board.info (eth0 193.238.109.9): raw IP mode set, 20 headers + 0 data bytes --- crimea-board.info hping statistic --- 9 packets transmitted, 0 packets received, 100% packet loss round-trip min/avg/max = 0.0/0.0/0.0 ms |
#hping3 -0 -c 20 -y --rand-source -p 22 -A crimea-board.info
HPING crimea-board.info (eth0 193.238.109.9): raw IP mode set, 20 headers + 0 data bytes --- crimea-board.info hping statistic --- 9 packets transmitted, 0 packets received, 100% packet loss round-trip min/avg/max = 0.0/0.0/0.0 ms |
#hping3 -0 -c 20 -y --rand-source -p 22 -A 192.168.15.4
HPING 192.168.15.4 (eth0 192.168.15.4): raw IP mode set, 20 headers + 0 data bytes --- 192.168.15.4 hping statistic --- 10 packets transmitted, 0 packets received, 100% packet loss round-trip min/avg/max = 0.0/0.0/0.0 ms |
#hping3 -0 -c 20 -y --rand-source -p 22 -A 192.168.15.4
HPING 192.168.15.4 (eth0 192.168.15.4): raw IP mode set, 20 headers + 0 data bytes --- 192.168.15.4 hping statistic --- 10 packets transmitted, 0 packets received, 100% packet loss round-trip min/avg/max = 0.0/0.0/0.0 ms |
#hping3 -0 -y --rand-source -p 22 -A 192.168.15.4
HPING 192.168.15.4 (eth0 192.168.15.4): raw IP mode set, 20 headers + 0 data bytes --- 192.168.15.4 hping statistic --- 12 packets transmitted, 0 packets received, 100% packet loss round-trip min/avg/max = 0.0/0.0/0.0 ms |
#hping3 -0 -y --rand-source -p 22 -A 192.168.15.4
HPING 192.168.15.4 (eth0 192.168.15.4): raw IP mode set, 20 headers + 0 data bytes --- 192.168.15.4 hping statistic --- 12 packets transmitted, 0 packets received, 100% packet loss round-trip min/avg/max = 0.0/0.0/0.0 ms |
#hping3 -1 -y 192.168.15.4
HPING 192.168.15.4 (eth0 192.168.15.4): icmp mode set, 28 headers + 0 data bytes len=28 ip=192.168.15.4 ttl=64 id=38837 icmp_seq=0 rtt=3.0 ms len=28 ip=192.168.15.4 ttl=64 id=38838 icmp_seq=1 rtt=0.3 ms len=28 ip=192.168.15.4 ttl=64 id=38839 icmp_seq=2 rtt=0.3 ms len=28 ip=192.168.15.4 ttl=64 id=38840 icmp_seq=3 rtt=0.2 ms len=28 ip=192.168.15.4 ttl=64 id=38841 icmp_seq=4 rtt=0.2 ms len=28 ip=192.168.15.4 ttl=64 id=38842 icmp_seq=5 rtt=0.3 ms len=28 ip=192.168.15.4 ttl=64 id=38843 icmp_seq=6 rtt=0.3 ms len=28 ip=192.168.15.4 ttl=64 id=38844 icmp_seq=7 rtt=0.3 ms len=28 ip=192.168.15.4 ttl=64 id=38845 icmp_seq=8 rtt=0.3 ms len=28 ip=192.168.15.4 ttl=64 id=38846 icmp_seq=9 rtt=0.3 ms len=28 ip=192.168.15.4 ttl=64 id=38847 icmp_seq=10 rtt=0.2 ms len=28 ip=192.168.15.4 ttl=64 id=38848 icmp_seq=11 rtt=2.7 ms len=28 ip=192.168.15.4 ttl=64 id=38849 icmp_seq=12 rtt=4.3 ms --- 192.168.15.4 hping statistic --- 13 packets transmitted, 13 packets received, 0% packet loss round-trip min/avg/max = 0.2/1.0/4.3 ms |
#hping3 -1 -y 192.168.15.4
HPING 192.168.15.4 (eth0 192.168.15.4): icmp mode set, 28 headers + 0 data bytes len=28 ip=192.168.15.4 ttl=64 id=38837 icmp_seq=0 rtt=3.0 ms len=28 ip=192.168.15.4 ttl=64 id=38838 icmp_seq=1 rtt=0.3 ms len=28 ip=192.168.15.4 ttl=64 id=38839 icmp_seq=2 rtt=0.3 ms len=28 ip=192.168.15.4 ttl=64 id=38840 icmp_seq=3 rtt=0.2 ms len=28 ip=192.168.15.4 ttl=64 id=38841 icmp_seq=4 rtt=0.2 ms len=28 ip=192.168.15.4 ttl=64 id=38842 icmp_seq=5 rtt=0.3 ms len=28 ip=192.168.15.4 ttl=64 id=38843 icmp_seq=6 rtt=0.3 ms len=28 ip=192.168.15.4 ttl=64 id=38844 icmp_seq=7 rtt=0.3 ms len=28 ip=192.168.15.4 ttl=64 id=38845 icmp_seq=8 rtt=0.3 ms len=28 ip=192.168.15.4 ttl=64 id=38846 icmp_seq=9 rtt=0.3 ms len=28 ip=192.168.15.4 ttl=64 id=38847 icmp_seq=10 rtt=0.2 ms len=28 ip=192.168.15.4 ttl=64 id=38848 icmp_seq=11 rtt=2.7 ms len=28 ip=192.168.15.4 ttl=64 id=38849 icmp_seq=12 rtt=4.3 ms --- 192.168.15.4 hping statistic --- 13 packets transmitted, 13 packets received, 0% packet loss round-trip min/avg/max = 0.2/1.0/4.3 ms |
#hping3 -2 -y 192.168.15.4
HPING 192.168.15.4 (eth0 192.168.15.4): udp mode set, 28 headers + 0 data bytes ICMP Port Unreachable from ip=192.168.15.4 name=linux4.class4.unix.nt ICMP Port Unreachable from ip=192.168.15.4 name=linux4.class4.unix.nt ICMP Port Unreachable from ip=192.168.15.4 name=linux4.class4.unix.nt ICMP Port Unreachable from ip=192.168.15.4 name=linux4.class4.unix.nt ICMP Port Unreachable from ip=192.168.15.4 name=linux4.class4.unix.nt ICMP Port Unreachable from ip=192.168.15.4 name=linux4.class4.unix.nt ICMP Port Unreachable from ip=192.168.15.4 name=linux4.class4.unix.nt ICMP Port Unreachable from ip=192.168.15.4 name=linux4.class4.unix.nt ICMP Port Unreachable from ip=192.168.15.4 name=linux4.class4.unix.nt --- 192.168.15.4 hping statistic --- 10 packets transmitted, 9 packets received, 10% packet loss round-trip min/avg/max = 0.0/0.0/0.0 ms |
#hping3 -2 -y 192.168.15.4
HPING 192.168.15.4 (eth0 192.168.15.4): udp mode set, 28 headers + 0 data bytes ICMP Port Unreachable from ip=192.168.15.4 name=linux4.class4.unix.nt ICMP Port Unreachable from ip=192.168.15.4 name=linux4.class4.unix.nt ICMP Port Unreachable from ip=192.168.15.4 name=linux4.class4.unix.nt ICMP Port Unreachable from ip=192.168.15.4 name=linux4.class4.unix.nt ICMP Port Unreachable from ip=192.168.15.4 name=linux4.class4.unix.nt ICMP Port Unreachable from ip=192.168.15.4 name=linux4.class4.unix.nt ICMP Port Unreachable from ip=192.168.15.4 name=linux4.class4.unix.nt ICMP Port Unreachable from ip=192.168.15.4 name=linux4.class4.unix.nt ICMP Port Unreachable from ip=192.168.15.4 name=linux4.class4.unix.nt --- 192.168.15.4 hping statistic --- 10 packets transmitted, 9 packets received, 10% packet loss round-trip min/avg/max = 0.0/0.0/0.0 ms |
#hping3 -2 -y -V 192.168.15.4
using eth0, addr: 192.168.15.3, MTU: 1500 HPING 192.168.15.4 (eth0 192.168.15.4): udp mode set, 28 headers + 0 data bytes ICMP Port Unreachable from ip=192.168.15.4 name=linux4.class4.unix.nt ICMP Port Unreachable from ip=192.168.15.4 name=linux4.class4.unix.nt ICMP Port Unreachable from ip=192.168.15.4 name=linux4.class4.unix.nt ICMP Port Unreachable from ip=192.168.15.4 name=linux4.class4.unix.nt --- 192.168.15.4 hping statistic --- 4 packets transmitted, 4 packets received, 0% packet loss round-trip min/avg/max = 0.0/0.0/0.0 ms |
#hping3 -2 -y -V 192.168.15.4
using eth0, addr: 192.168.15.3, MTU: 1500 HPING 192.168.15.4 (eth0 192.168.15.4): udp mode set, 28 headers + 0 data bytes ICMP Port Unreachable from ip=192.168.15.4 name=linux4.class4.unix.nt ICMP Port Unreachable from ip=192.168.15.4 name=linux4.class4.unix.nt ICMP Port Unreachable from ip=192.168.15.4 name=linux4.class4.unix.nt ICMP Port Unreachable from ip=192.168.15.4 name=linux4.class4.unix.nt --- 192.168.15.4 hping statistic --- 4 packets transmitted, 4 packets received, 0% packet loss round-trip min/avg/max = 0.0/0.0/0.0 ms |
#hping3 -0 -p 80 -V 192.168.15.4
using eth0, addr: 192.168.15.3, MTU: 1500 HPING 192.168.15.4 (eth0 192.168.15.4): raw IP mode set, 20 headers + 0 data bytes --- 192.168.15.4 hping statistic --- 139 packets transmitted, 0 packets received, 100% packet loss round-trip min/avg/max = 0.0/0.0/0.0 ms |
#hping3 -0 -p 80 -V 192.168.15.4
using eth0, addr: 192.168.15.3, MTU: 1500 HPING 192.168.15.4 (eth0 192.168.15.4): raw IP mode set, 20 headers + 0 data bytes --- 192.168.15.4 hping statistic --- 139 packets transmitted, 0 packets received, 100% packet loss round-trip min/avg/max = 0.0/0.0/0.0 ms |
#hping3 -0 -V 192.168.15.4
using eth0, addr: 192.168.15.3, MTU: 1500 HPING 192.168.15.4 (eth0 192.168.15.4): raw IP mode set, 20 headers + 0 data bytes --- 192.168.15.4 hping statistic --- 278 packets transmitted, 0 packets received, 100% packet loss round-trip min/avg/max = 0.0/0.0/0.0 ms |
#hping3 -0 -V 192.168.15.4
using eth0, addr: 192.168.15.3, MTU: 1500 HPING 192.168.15.4 (eth0 192.168.15.4): raw IP mode set, 20 headers + 0 data bytes --- 192.168.15.4 hping statistic --- 278 packets transmitted, 0 packets received, 100% packet loss round-trip min/avg/max = 0.0/0.0/0.0 ms |
#vi /etc/ssh/sshd_config
--- /tmp/l3-saved-4627.6693.19336 2009-06-06 18:59:58.000000000 +0300 +++ /etc/ssh/sshd_config 2009-06-06 19:00:04.000000000 +0300 @@ -2,7 +2,7 @@ # See the sshd(8) manpage for details # What ports, IPs and protocols we listen for -Port 20022 +Port 22 # Use these options to restrict which interfaces/protocols sshd will bind to #ListenAddress :: #ListenAddress 0.0.0.0 |
#openvt -c 2 /bin/bash
|
#ls /
bin dev home lost+found opt sbin sys var boot etc initrd.img media proc selinux tmp vmlinuz data flash lib mnt root srv usr |
#ls /data/
bin dev home lost+found opt sbin sys var boot etc initrd.img media proc selinux tmp vmlinuz data flash lib mnt root srv usr |
#ls /data/home/
quiz user |
#ls -a /data/home/
. .. quiz user |
#ls -a /data/home/user/
. Documents .ICEauthority .screenrc .. Download .l3rc sent 11.txt etc.zip .lesshst .ssh a .gajim .lilalo Templates .bash_history .gconf .local .thumbnails .bash_logout .gconfd Mail Videos .bash_profile .gksu.lock .mozilla .viminfo .bashrc .gnome2 Music .vimrc .cache .gqview .muttrc .Xauthority .config .gstreamer-0.10 Pictures .xsession-errors .dbus .gtk-bookmarks .profile Desktop .gvfs Public .dmrc hello .recently-used.xbel |
#ls -a /data/home/user/.gajim/
. .. |
#ls -a /data/home/user/.mozilla/
. .. |
#ls -a /data/root/.mozilla/
ls: cannot access /data/root/.mozilla/: No such file or directory |
#ls -a /data/root/.ssh/
. authorized_keys config id_dsa.pub known_hosts.old .. autorized_keys id_dsa known_hosts |
#ls -al /data/root/.ssh/
total 36 drwxr-xr-x 2 root root 4096 2009-06-03 10:56 . drwxr-xr-x 8 root root 4096 2009-06-06 19:00 .. -rw-r--r-- 1 root root 7826 2009-06-03 11:29 authorized_keys -rw-r--r-- 1 root root 1804 2009-06-03 11:28 autorized_keys -rw-r--r-- 1 root root 27 2009-06-03 10:56 config -rw------- 1 root root 668 2009-06-03 10:37 id_dsa -rw-r--r-- 1 root root 601 2009-06-03 10:37 id_dsa.pub -rw------- 1 root root 0 2009-06-06 19:22 known_hosts -rw-r--r-- 1 root root 1768 2009-06-03 10:17 known_hosts.old |
#ls -al /data/home/user/.ssh/*
-rw-r--r-- 1 user user 0 2009-06-06 19:20 /data/home/user/.ssh/known_hosts |
Время первой команды журнала | 16:06:20 2009- 6- 6 | |||||||||||||||||||||||||||||||||||||||
Время последней команды журнала | 19:25:46 2009- 6- 6 | |||||||||||||||||||||||||||||||||||||||
Количество командных строк в журнале | 79 | |||||||||||||||||||||||||||||||||||||||
Процент команд с ненулевым кодом завершения, % | 31.65 | |||||||||||||||||||||||||||||||||||||||
Процент синтаксически неверно набранных команд, % | 0.00 | |||||||||||||||||||||||||||||||||||||||
Суммарное время работы с терминалом *, час | 1.36 | |||||||||||||||||||||||||||||||||||||||
Количество командных строк в единицу времени, команда/мин | 0.97 | |||||||||||||||||||||||||||||||||||||||
Частота использования команд |
|
В журнал автоматически попадают все команды, данные в любом терминале системы.
Для того чтобы убедиться, что журнал на текущем терминале ведётся, и команды записываются, дайте команду w. В поле WHAT, соответствующем текущему терминалу, должна быть указана программа script.
Команды, при наборе которых были допущены синтаксические ошибки, выводятся перечёркнутым текстом:
$ l s-l bash: l: command not found |
Если код завершения команды равен нулю, команда была выполнена без ошибок. Команды, код завершения которых отличен от нуля, выделяются цветом.
$ test 5 -lt 4 |
Команды, ход выполнения которых был прерван пользователем, выделяются цветом.
$ find / -name abc find: /home/devi-orig/.gnome2: Keine Berechtigung find: /home/devi-orig/.gnome2_private: Keine Berechtigung find: /home/devi-orig/.nautilus/metafiles: Keine Berechtigung find: /home/devi-orig/.metacity: Keine Berechtigung find: /home/devi-orig/.inkscape: Keine Berechtigung ^C |
Команды, выполненные с привилегиями суперпользователя, выделяются слева красной чертой.
# id uid=0(root) gid=0(root) Gruppen=0(root) |
Изменения, внесённые в текстовый файл с помощью редактора, запоминаются и показываются в журнале в формате ed. Строки, начинающиеся символом "<", удалены, а строки, начинающиеся символом ">" -- добавлены.
$ vi ~/.bashrc
|
Для того чтобы изменить файл в соответствии с показанными в диффшоте изменениями, можно воспользоваться командой patch. Нужно скопировать изменения, запустить программу patch, указав в качестве её аргумента файл, к которому применяются изменения, и всавить скопированный текст:
$ patch ~/.bashrc |
Для того чтобы получить краткую справочную информацию о команде, нужно подвести к ней мышь. Во всплывающей подсказке появится краткое описание команды.
Если справочная информация о команде есть, команда выделяется голубым фоном, например: vi. Если справочная информация отсутствует, команда выделяется розовым фоном, например: notepad.exe. Справочная информация может отсутствовать в том случае, если (1) команда введена неверно; (2) если распознавание команды LiLaLo выполнено неверно; (3) если информация о команде неизвестна LiLaLo. Последнее возможно для редких команд.
Большие, в особенности многострочные, всплывающие подсказки лучше всего показываются браузерами KDE Konqueror, Apple Safari и Microsoft Internet Explorer. В браузерах Mozilla и Firefox они отображаются не полностью, а вместо перевода строки выводится специальный символ.
Время ввода команды, показанное в журнале, соответствует времени начала ввода командной строки, которое равно тому моменту, когда на терминале появилось приглашение интерпретатора
Имя терминала, на котором была введена команда, показано в специальном блоке. Этот блок показывается только в том случае, если терминал текущей команды отличается от терминала предыдущей.
Вывод не интересующих вас в настоящий момент элементов журнала, таких как время, имя терминала и других, можно отключить. Для этого нужно воспользоваться формой управления журналом вверху страницы.
Небольшие комментарии к командам можно вставлять прямо из командной строки. Комментарий вводится прямо в командную строку, после символов #^ или #v. Символы ^ и v показывают направление выбора команды, к которой относится комментарий: ^ - к предыдущей, v - к следующей. Например, если в командной строке было введено:
$ whoami
user
$ #^ Интересно, кто я?в журнале это будет выглядеть так:
$ whoami
user
Интересно, кто я? |
Если комментарий содержит несколько строк, его можно вставить в журнал следующим образом:
$ whoami
user
$ cat > /dev/null #^ Интересно, кто я?
Программа whoami выводит имя пользователя, под которым мы зарегистрировались в системе. - Она не может ответить на вопрос о нашем назначении в этом мире.В журнале это будет выглядеть так:
$ whoami user
|
Комментарии, не относящиеся непосредственно ни к какой из команд, добавляются точно таким же способом, только вместо симолов #^ или #v нужно использовать символы #=
1 2 3 4Группы команд, выполненных на разных терминалах, разделяются специальной линией. Под этой линией в правом углу показано имя терминала, на котором выполнялись команды. Для того чтобы посмотреть команды только одного сенса, нужно щёкнуть по этому названию.
LiLaLo (L3) расшифровывается как Live Lab Log.
Программа разработана для повышения эффективности обучения Unix/Linux-системам.
(c) Игорь Чубин, 2004-2008