/l3/users/29-05-2007/nt-lnet/linux1.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 :25 :26 :27 :28 :29 :30 :31 :32 :33 :34 :35 :36 :37 :38 :39 :40 |
|
#make clean linux-x86-any
gcc -c -Wall -O2 -fomit-frame-pointer -funroll-loops DES_fmt.c DES_fmt.c:6:20: error: string.h: No such file or directory In file included from common.h:14, from DES_fmt.c:10: memory.h:13:19: error: stdio.h: No such file or directory memory.h:14:20: error: stdlib.h: No such file or directory In file included from common.h:14, from DES_fmt.c:10: memory.h:46: error: expected ‘)’ before ‘size’ memory.h:64: error: expected ‘)’ before ‘size’ ... DES_fmt.c: In function ‘get_key’: DES_fmt.c:302: warning: incompatible implicit declaration of built-in function ‘memcpy’ make[1]: *** [DES_fmt.o] Ошибка 1 make[1]: Leaving directory `/root/john-1.7.0.2/src' make: *** [linux-x86-any] Ошибка 2 If you press Ctrl-C for a second time before John had a chance to 46,9 handle your first Ctrl-C, John will abort immediately without saving. By default, the state is also saved every 10 minutes to permit for 1,2-9 |
#less /tmp/make
|
#ls ../doc/
solaris-sparc-gcc Solaris, SPARC 32-bit, gcc solaris-x86-any Solaris, x86, gcc sco-x86-any-gcc SCO, x86, gcc sco-x86-any-cc SCO, x86, cc tru64-alpha Tru64 (Digital UNIX, OSF/1), Alpha aix-ppc32 AIX, PowerPC 32-bit macosx-ppc32-altivec Mac OS X, PowerPC w/AltiVec (best) macosx-ppc32 Mac OS X, PowerPC 32-bit macosx-ppc64 Mac OS X 10.4+, PowerPC 64-bit macosx-x86-mmx Mac OS X, x86 with MMX ... win32-cygwin-x86-any Win32, Cygwin, x86 beos-x86-mmx BeOS, x86 with MMX beos-x86-any BeOS, x86 generic Any other Unix-like system with gcc CHANGES CONFIG CONTACT CREDITS EXAMPLES EXTERNAL FAQ INSTALL LICENSE MODES OPTIONS README RULES If you press Ctrl-C for a second time before John had a chance to 46,9 handle your first Ctrl-C, John will abort immediately without saving. By default, the state is also saved every 10 minutes to permit for 1,2-9 |
#less ../doc/INSTALL
|
#make
To build John the Ripper, type: make clean SYSTEM where SYSTEM can be one of the following: linux-x86-mmx Linux, x86 with MMX (best) linux-x86-any Linux, x86 linux-x86-any-a.out Linux, x86, a.out binaries (obsolete) linux-x86-64 Linux, AMD x86-64, 64-bit native linux-x86-64-mmx Linux, AMD x86-64, 32-bit with MMX linux-alpha Linux, Alpha linux-sparc Linux, SPARC 32-bit ... irix-mips64-r10k IRIX, MIPS 64-bit (R10K) (best) irix-mips64 IRIX, MIPS 64-bit irix-mips32 IRIX, MIPS 32-bit dos-djgpp-x86-mmx DOS, DJGPP 2.x, x86 with MMX (best) dos-djgpp-x86-any DOS, DJGPP 2.x, x86 win32-cygwin-x86-mmx Win32, Cygwin, x86 with MMX (best) win32-cygwin-x86-any Win32, Cygwin, x86 beos-x86-mmx BeOS, x86 with MMX beos-x86-any BeOS, x86 generic Any other Unix-like system with gcc |
#less /tmp/make
|
#make linux-x86-any
ln -sf x86-any.h arch.h make ../run/john ../run/unshadow ../run/unafs ../run/unique \ JOHN_OBJS="DES_fmt.o DES_std.o DES_bs.o BSDI_fmt.o MD5_fmt.o MD5_std.o BF_fmt.o BF_std.o AFS_fmt.o LM_fmt.o batch.o bench.o charset.o common.o compiler.o config.o cracker.o crc32.o external.o formats.o getopt.o idle.o inc.o john.o list.o loader.o logger.o math.o memory.o misc.o options.o params.o path.o recovery.o rpp.o rules.o signals.o single.o status.o tty.o wordlist.o unshadow. make[1]: Entering directory `/root/john-1.7.0.2/src' gcc -c -Wall -O2 -fomit-frame-pointer -funroll-loops DES_fmt.c DES_fmt.c:6:20: error: string.h: No such file or directory In file included from common.h:14, from DES_fmt.c:10: memory.h:13:19: error: stdio.h: No such file or directory memory.h:14:20: error: stdlib.h: No such file or directory ... DES_fmt.c:109: warning: implicit declaration of function ‘memcpy’ DES_fmt.c:109: warning: incompatible implicit declaration of built-in function ‘memcpy’ DES_fmt.c:112: warning: incompatible implicit declaration of built-in function ‘memcpy’ DES_fmt.c: In function ‘set_key’: DES_fmt.c:290: warning: incompatible implicit declaration of built-in function ‘memcpy’ DES_fmt.c: In function ‘get_key’: DES_fmt.c:302: warning: incompatible implicit declaration of built-in function ‘memcpy’ make[1]: *** [DES_fmt.o] Ошибка 1 make[1]: Leaving directory `/root/john-1.7.0.2/src' make: *** [linux-x86-any] Ошибка 2 |
#apt-cache search stdio.h
solaris-sparcv8-cc Solaris, SPARC V8 32-bit, cc solaris-sparc-gcc Solaris, SPARC 32-bit, gcc solaris-x86-any Solaris, x86, gcc sco-x86-any-gcc SCO, x86, gcc sco-x86-any-cc SCO, x86, cc tru64-alpha Tru64 (Digital UNIX, OSF/1), Alpha aix-ppc32 AIX, PowerPC 32-bit macosx-ppc32-altivec Mac OS X, PowerPC w/AltiVec (best) macosx-ppc32 Mac OS X, PowerPC 32-bit macosx-ppc64 Mac OS X 10.4+, PowerPC 64-bit ... win32-cygwin-x86-mmx Win32, Cygwin, x86 with MMX (best) win32-cygwin-x86-any Win32, Cygwin, x86 beos-x86-mmx BeOS, x86 with MMX beos-x86-any BeOS, x86 generic Any other Unix-like system with gcc If you press Ctrl-C for a second time before John had a chance to 46,9 handle your first Ctrl-C, John will abort immediately without saving. By default, the state is also saved every 10 minutes to permit for 1,2-9 |
#apt-cache search stdio
solaris-x86-any Solaris, x86, gcc sco-x86-any-gcc SCO, x86, gcc sco-x86-any-cc SCO, x86, cc tru64-alpha Tru64 (Digital UNIX, OSF/1), Alpha aix-ppc32 AIX, PowerPC 32-bit macosx-ppc32-altivec Mac OS X, PowerPC w/AltiVec (best) macosx-ppc32 Mac OS X, PowerPC 32-bit macosx-ppc64 Mac OS X 10.4+, PowerPC 64-bit macosx-x86-mmx Mac OS X, x86 with MMX hpux-pa-risc-gcc HP-UX, PA-RISC, gcc ... beos-x86-mmx BeOS, x86 with MMX beos-x86-any BeOS, x86 generic Any other Unix-like system with gcc aview - A high quality ASCII art image viewer and video player libpstreams-dev - a C++ iostream interface to POSIX process I/O If you press Ctrl-C for a second time before John had a chance to 46,9 handle your first Ctrl-C, John will abort immediately without saving. By default, the state is also saved every 10 minutes to permit for 1,2-9 |
#apt-get install libpstreams-dev
irix-mips64-r10k IRIX, MIPS 64-bit (R10K) (best) irix-mips64 IRIX, MIPS 64-bit irix-mips32 IRIX, MIPS 32-bit dos-djgpp-x86-mmx DOS, DJGPP 2.x, x86 with MMX (best) dos-djgpp-x86-any DOS, DJGPP 2.x, x86 win32-cygwin-x86-mmx Win32, Cygwin, x86 with MMX (best) win32-cygwin-x86-any Win32, Cygwin, x86 beos-x86-mmx BeOS, x86 with MMX beos-x86-any BeOS, x86 generic Any other Unix-like system with gcc ... Получено 118kB за 0s (155kB/c) Выбор ранее не выбранного пакета libpstreams-dev. (Чтение базы данных... на данный момент установлено 86751 файлов и каталогов.) Распаковывается пакет libpstreams-dev (из файла .../libpstreams-dev_0.5.2-1_all.deb)... Настраивается пакет libpstreams-dev (0.5.2-1) ... If you press Ctrl-C for a second time before John had a chance to 46,9 handle your first Ctrl-C, John will abort immediately without saving. By default, the state is also saved every 10 minutes to permit for 1,2-9 |
#apt-get install libc6
sco-x86-any-cc SCO, x86, cc tru64-alpha Tru64 (Digital UNIX, OSF/1), Alpha aix-ppc32 AIX, PowerPC 32-bit macosx-ppc32-altivec Mac OS X, PowerPC w/AltiVec (best) macosx-ppc32 Mac OS X, PowerPC 32-bit macosx-ppc64 Mac OS X 10.4+, PowerPC 64-bit macosx-x86-mmx Mac OS X, x86 with MMX hpux-pa-risc-gcc HP-UX, PA-RISC, gcc hpux-pa-risc-cc HP-UX, PA-RISC, ANSI cc irix-mips64-r10k IRIX, MIPS 64-bit (R10K) (best) ... generic Any other Unix-like system with gcc Чтение списков пакетов... Готово Построение дерева зависимостей... Готово Уже установлена самая новая версия libc6. обновлено 0, установлено 0 новых пакетов, для удаления отмечено 0 пакетов, и 0 пакетов не обновлено. If you press Ctrl-C for a second time before John had a chance to 46,9 handle your first Ctrl-C, John will abort immediately without saving. By default, the state is also saved every 10 minutes to permit for 1,2-9 |
#apt-get install libc6-dev
generic Any other Unix-like system with gcc Чтение списков пакетов... Готово Построение дерева зависимостей... Готово Будут установлены следующие дополнительные пакеты: linux-kernel-headers Предлагаемые пакеты: glibc-doc manpages-dev НОВЫЕ пакеты, которые будут установлены: libc6-dev linux-kernel-headers обновлено 0, установлено 2 новых пакетов, для удаления отмечено 0 пакетов, и 0 пакетов не обновлено. ... Распаковывается пакет linux-kernel-headers (из файла .../linux-kernel-headers_2.6.18-7_i386.deb)... Выбор ранее не выбранного пакета libc6-dev. Распаковывается пакет libc6-dev (из файла .../libc6-dev_2.3.6.ds1-13_i386.deb)... Настраивается пакет linux-kernel-headers (2.6.18-7) ... Настраивается пакет libc6-dev (2.3.6.ds1-13) ... If you press Ctrl-C for a second time before John had a chance to 46,9 handle your first Ctrl-C, John will abort immediately without saving. By default, the state is also saved every 10 minutes to permit for 1,2-9 |
#make
To build John the Ripper, type: make clean SYSTEM where SYSTEM can be one of the following: linux-x86-mmx Linux, x86 with MMX (best) linux-x86-any Linux, x86 linux-x86-any-a.out Linux, x86, a.out binaries (obsolete) linux-x86-64 Linux, AMD x86-64, 64-bit native linux-x86-64-mmx Linux, AMD x86-64, 32-bit with MMX linux-alpha Linux, Alpha linux-sparc Linux, SPARC 32-bit ... irix-mips64-r10k IRIX, MIPS 64-bit (R10K) (best) irix-mips64 IRIX, MIPS 64-bit irix-mips32 IRIX, MIPS 32-bit dos-djgpp-x86-mmx DOS, DJGPP 2.x, x86 with MMX (best) dos-djgpp-x86-any DOS, DJGPP 2.x, x86 win32-cygwin-x86-mmx Win32, Cygwin, x86 with MMX (best) win32-cygwin-x86-any Win32, Cygwin, x86 beos-x86-mmx BeOS, x86 with MMX beos-x86-any BeOS, x86 generic Any other Unix-like system with gcc |
#make linux-x86-any
gcc -c -Wall -O2 -fomit-frame-pointer -funroll-loops recovery.c gcc -c -Wall -O2 -fomit-frame-pointer -funroll-loops rpp.c gcc -c -Wall -O2 -fomit-frame-pointer -funroll-loops rules.c gcc -c -Wall -O2 -fomit-frame-pointer -funroll-loops signals.c gcc -c -Wall -O2 -fomit-frame-pointer -funroll-loops single.c gcc -c -Wall -O2 -fomit-frame-pointer -funroll-loops status.c gcc -c -Wall -O2 -fomit-frame-pointer -funroll-loops tty.c gcc -c -Wall -O2 -fomit-frame-pointer -funroll-loops wordlist.c gcc -c -Wall -O2 -fomit-frame-pointer -funroll-loops unshadow.c gcc -c -Wall -O2 -fomit-frame-pointer -funroll-loops unafs.c ... rm -f ../run/unafs ln -s john ../run/unafs rm -f ../run/unique ln -s john ../run/unique make[1]: Leaving directory `/root/john-1.7.0.2/src' If you press Ctrl-C for a second time before John had a chance to 46,9 handle your first Ctrl-C, John will abort immediately without saving. By default, the state is also saved every 10 minutes to permit for 1,2-9 |
#echo $?
0 |
#ls -l
solaris-sparc-gcc Solaris, SPARC 32-bit, gcc solaris-x86-any Solaris, x86, gcc sco-x86-any-gcc SCO, x86, gcc sco-x86-any-cc SCO, x86, cc tru64-alpha Tru64 (Digital UNIX, OSF/1), Alpha aix-ppc32 AIX, PowerPC 32-bit macosx-ppc32-altivec Mac OS X, PowerPC w/AltiVec (best) macosx-ppc32 Mac OS X, PowerPC 32-bit macosx-ppc64 Mac OS X 10.4+, PowerPC 64-bit macosx-x86-mmx Mac OS X, x86 with MMX ... win32-cygwin-x86-any Win32, Cygwin, x86 beos-x86-mmx BeOS, x86 with MMX beos-x86-any BeOS, x86 generic Any other Unix-like system with gcc Display all 160 possibilities? (y or n) If you press Ctrl-C for a second time before John had a chance to 46,9 handle your first Ctrl-C, John will abort immediately without saving. By default, the state is also saved every 10 minutes to permit for 1,2-9 |
#ls -l r
recovery.c recovery.h recovery.o rpp.c rpp.h rpp.o rules.c rules.h rules.o |
#ls -l
-rw------- 1 root root 6065 2006-02-27 11:52 bench.c -rw------- 1 root root 1287 2006-02-27 11:52 bench.h -rw-r--r-- 1 root root 4556 2007-06-01 09:39 bench.o -rw------- 1 root root 1512 2006-02-27 11:52 best.c -rwx------ 1 root root 2321 2005-10-08 23:02 best.sh -rw------- 1 root root 3449 2001-06-16 09:08 BF_fmt.c -rw-r--r-- 1 root root 3500 2007-06-01 09:38 BF_fmt.o -rw------- 1 root root 21922 2006-03-07 01:23 BF_std.c -rw------- 1 root root 1182 2001-04-29 07:29 BF_std.h -rw-r--r-- 1 root root 18468 2007-06-01 09:38 BF_std.o ... -rw------- 1 root root 4166 2006-01-09 16:18 unique.c -rw-r--r-- 1 root root 3036 2007-06-01 09:39 unique.o -rw------- 1 root root 2865 2006-01-09 16:18 unshadow.c -rw-r--r-- 1 root root 2988 2007-06-01 09:39 unshadow.o -rw------- 1 root root 904 2000-08-24 01:16 vax.h -rw------- 1 root root 4859 2006-02-27 05:46 wordlist.c -rw------- 1 root root 400 1998-12-02 01:08 wordlist.h -rw-r--r-- 1 root root 6356 2007-06-01 09:39 wordlist.o -rw------- 1 root root 906 2003-10-10 06:27 x86-64.h -rw------- 1 root root 1006 2001-07-26 18:00 x86-any.h |
#cd ..
|
#ls
doc README run src |
#ls run/
solaris-sparc-gcc Solaris, SPARC 32-bit, gcc solaris-x86-any Solaris, x86, gcc sco-x86-any-gcc SCO, x86, gcc sco-x86-any-cc SCO, x86, cc tru64-alpha Tru64 (Digital UNIX, OSF/1), Alpha aix-ppc32 AIX, PowerPC 32-bit macosx-ppc32-altivec Mac OS X, PowerPC w/AltiVec (best) macosx-ppc32 Mac OS X, PowerPC 32-bit macosx-ppc64 Mac OS X 10.4+, PowerPC 64-bit macosx-x86-mmx Mac OS X, x86 with MMX ... win32-cygwin-x86-any Win32, Cygwin, x86 beos-x86-mmx BeOS, x86 with MMX beos-x86-any BeOS, x86 generic Any other Unix-like system with gcc all.chr alnum.chr alpha.chr digits.chr john john.conf lanman.chr mailer password.lst unafs unique unshadow If you press Ctrl-C for a second time before John had a chance to 46,9 handle your first Ctrl-C, John will abort immediately without saving. By default, the state is also saved every 10 minutes to permit for 1,2-9 |
#cd run/
solaris-sparcv8-cc Solaris, SPARC V8 32-bit, cc solaris-sparc-gcc Solaris, SPARC 32-bit, gcc solaris-x86-any Solaris, x86, gcc sco-x86-any-gcc SCO, x86, gcc sco-x86-any-cc SCO, x86, cc tru64-alpha Tru64 (Digital UNIX, OSF/1), Alpha aix-ppc32 AIX, PowerPC 32-bit macosx-ppc32-altivec Mac OS X, PowerPC w/AltiVec (best) macosx-ppc32 Mac OS X, PowerPC 32-bit macosx-ppc64 Mac OS X 10.4+, PowerPC 64-bit ... win32-cygwin-x86-mmx Win32, Cygwin, x86 with MMX (best) win32-cygwin-x86-any Win32, Cygwin, x86 beos-x86-mmx BeOS, x86 with MMX beos-x86-any BeOS, x86 generic Any other Unix-like system with gcc If you press Ctrl-C for a second time before John had a chance to 46,9 handle your first Ctrl-C, John will abort immediately without saving. By default, the state is also saved every 10 minutes to permit for 1,2-9 |
#./john /etc/shadow
sco-x86-any-cc SCO, x86, cc tru64-alpha Tru64 (Digital UNIX, OSF/1), Alpha aix-ppc32 AIX, PowerPC 32-bit macosx-ppc32-altivec Mac OS X, PowerPC w/AltiVec (best) macosx-ppc32 Mac OS X, PowerPC 32-bit macosx-ppc64 Mac OS X 10.4+, PowerPC 64-bit macosx-x86-mmx Mac OS X, x86 with MMX hpux-pa-risc-gcc HP-UX, PA-RISC, gcc hpux-pa-risc-cc HP-UX, PA-RISC, ANSI cc irix-mips64-r10k IRIX, MIPS 64-bit (R10K) (best) ... generic Any other Unix-like system with gcc Loaded 2 password hashes with 2 different salts (FreeBSD MD5 [32/32]) password (user) guesses: 1 time: 0:00:02:21 (3) c/s: 2837 trying: 0256701 Session aborted If you press Ctrl-C for a second time before John had a chance to 46,9 handle your first Ctrl-C, John will abort immediately without saving. By default, the state is also saved every 10 minutes to permit for 1,2-9 |
#nslookup
> ? The '?' command is not yet implemented. > help The 'help' command is not yet implemented. > /h Server: 192.168.16.15 Address: 192.168.16.15#53 ** server can't find /h: NXDOMAIN > server 192.168.16.4 Default server: 192.168.16.4 ... The 'ls' command is not implemented. > q Server: 192.168.16.4 Address: 192.168.16.4#53 ** server can't find q: NXDOMAIN > quit Server: 192.168.16.4 Address: 192.168.16.4#53 ** server can't find quit: NXDOMAIN > exit |
#cd
solaris-sparcv8-cc Solaris, SPARC V8 32-bit, cc solaris-sparc-gcc Solaris, SPARC 32-bit, gcc solaris-x86-any Solaris, x86, gcc sco-x86-any-gcc SCO, x86, gcc sco-x86-any-cc SCO, x86, cc tru64-alpha Tru64 (Digital UNIX, OSF/1), Alpha aix-ppc32 AIX, PowerPC 32-bit macosx-ppc32-altivec Mac OS X, PowerPC w/AltiVec (best) macosx-ppc32 Mac OS X, PowerPC 32-bit macosx-ppc64 Mac OS X 10.4+, PowerPC 64-bit ... win32-cygwin-x86-mmx Win32, Cygwin, x86 with MMX (best) win32-cygwin-x86-any Win32, Cygwin, x86 beos-x86-mmx BeOS, x86 with MMX beos-x86-any BeOS, x86 generic Any other Unix-like system with gcc If you press Ctrl-C for a second time before John had a chance to 46,9 handle your first Ctrl-C, John will abort immediately without saving. By default, the state is also saved every 10 minutes to permit for 1,2-9 |
#> .ssh/known_hosts
solaris-sparcv8-cc Solaris, SPARC V8 32-bit, cc solaris-sparc-gcc Solaris, SPARC 32-bit, gcc solaris-x86-any Solaris, x86, gcc sco-x86-any-gcc SCO, x86, gcc sco-x86-any-cc SCO, x86, cc tru64-alpha Tru64 (Digital UNIX, OSF/1), Alpha aix-ppc32 AIX, PowerPC 32-bit macosx-ppc32-altivec Mac OS X, PowerPC w/AltiVec (best) macosx-ppc32 Mac OS X, PowerPC 32-bit macosx-ppc64 Mac OS X 10.4+, PowerPC 64-bit ... win32-cygwin-x86-mmx Win32, Cygwin, x86 with MMX (best) win32-cygwin-x86-any Win32, Cygwin, x86 beos-x86-mmx BeOS, x86 with MMX beos-x86-any BeOS, x86 generic Any other Unix-like system with gcc If you press Ctrl-C for a second time before John had a chance to 46,9 handle your first Ctrl-C, John will abort immediately without saving. By default, the state is also saved every 10 minutes to permit for 1,2-9 |
#ssh 192.168.16.2
The authenticity of host '192.168.16.2 (192.168.16.2)' can't be established. RSA key fingerprint is 9e:2d:a9:2d:1c:93:bd:a9:4e:1a:2b:31:c8:fa:a4:3c. Are you sure you want to continue connecting (yes/no)? yes Warning: Permanently added '192.168.16.2' (RSA) to the list of known hosts. Enter passphrase for key '/root/.ssh/id_rsa': Last login: Fri Jun 1 09:33:19 2007 Linux linux2 2.6.21.2 #1 SMP Thu May 24 13:33:22 EEST 2007 i686 The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. l3-agent is already running: pid=2682; pidfile=/root/.lilalo/l3-agent.pid |
#ssh-keygen -l -f /etc/ssh/ssh_
solaris-sparc-gcc Solaris, SPARC 32-bit, gcc solaris-x86-any Solaris, x86, gcc sco-x86-any-gcc SCO, x86, gcc sco-x86-any-cc SCO, x86, cc tru64-alpha Tru64 (Digital UNIX, OSF/1), Alpha aix-ppc32 AIX, PowerPC 32-bit macosx-ppc32-altivec Mac OS X, PowerPC w/AltiVec (best) macosx-ppc32 Mac OS X, PowerPC 32-bit macosx-ppc64 Mac OS X 10.4+, PowerPC 64-bit macosx-x86-mmx Mac OS X, x86 with MMX ... win32-cygwin-x86-any Win32, Cygwin, x86 beos-x86-mmx BeOS, x86 with MMX beos-x86-any BeOS, x86 generic Any other Unix-like system with gcc ssh_config ssh_host_dsa_key ssh_host_dsa_key.pub ssh_host_rsa_key ssh_host_rsa_key.pub If you press Ctrl-C for a second time before John had a chance to 46,9 handle your first Ctrl-C, John will abort immediately without saving. By default, the state is also saved every 10 minutes to permit for 1,2-9 |
#ssh-keygen -l -f /etc/ssh/ssh_host_rsa_key.pub
2048 9e:2d:a9:2d:1c:93:bd:a9:4e:1a:2b:31:c8:fa:a4:3c /etc/ssh/ssh_host_rsa_key.pub |
## 9e:2d:a9:2d:1c:93:bd:a9:4e:1a:2b:31:c8:fa:a4:3c
solaris-sparcv8-cc Solaris, SPARC V8 32-bit, cc solaris-sparc-gcc Solaris, SPARC 32-bit, gcc solaris-x86-any Solaris, x86, gcc sco-x86-any-gcc SCO, x86, gcc sco-x86-any-cc SCO, x86, cc tru64-alpha Tru64 (Digital UNIX, OSF/1), Alpha aix-ppc32 AIX, PowerPC 32-bit macosx-ppc32-altivec Mac OS X, PowerPC w/AltiVec (best) macosx-ppc32 Mac OS X, PowerPC 32-bit macosx-ppc64 Mac OS X 10.4+, PowerPC 64-bit ... win32-cygwin-x86-mmx Win32, Cygwin, x86 with MMX (best) win32-cygwin-x86-any Win32, Cygwin, x86 beos-x86-mmx BeOS, x86 with MMX beos-x86-any BeOS, x86 generic Any other Unix-like system with gcc If you press Ctrl-C for a second time before John had a chance to 46,9 handle your first Ctrl-C, John will abort immediately without saving. By default, the state is also saved every 10 minutes to permit for 1,2-9 |
#exit
solaris-sparc-gcc Solaris, SPARC 32-bit, gcc solaris-x86-any Solaris, x86, gcc sco-x86-any-gcc SCO, x86, gcc sco-x86-any-cc SCO, x86, cc tru64-alpha Tru64 (Digital UNIX, OSF/1), Alpha aix-ppc32 AIX, PowerPC 32-bit macosx-ppc32-altivec Mac OS X, PowerPC w/AltiVec (best) macosx-ppc32 Mac OS X, PowerPC 32-bit macosx-ppc64 Mac OS X 10.4+, PowerPC 64-bit macosx-x86-mmx Mac OS X, x86 with MMX ... win32-cygwin-x86-any Win32, Cygwin, x86 beos-x86-mmx BeOS, x86 with MMX beos-x86-any BeOS, x86 generic Any other Unix-like system with gcc Connection to 192.168.16.2 closed. If you press Ctrl-C for a second time before John had a chance to 46,9 handle your first Ctrl-C, John will abort immediately without saving. By default, the state is also saved every 10 minutes to permit for 1,2-9 |
#ssh 192.168.16.4
irix-mips64 IRIX, MIPS 64-bit irix-mips32 IRIX, MIPS 32-bit dos-djgpp-x86-mmx DOS, DJGPP 2.x, x86 with MMX (best) dos-djgpp-x86-any DOS, DJGPP 2.x, x86 win32-cygwin-x86-mmx Win32, Cygwin, x86 with MMX (best) win32-cygwin-x86-any Win32, Cygwin, x86 beos-x86-mmx BeOS, x86 with MMX beos-x86-any BeOS, x86 generic Any other Unix-like system with gcc The authenticity of host '192.168.16.4 (192.168.16.4)' can't be established. ... The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. If you press Ctrl-C for a second time before John had a chance to 46,9 handle your first Ctrl-C, John will abort immediately without saving. By default, the state is also saved every 10 minutes to permit for 1,2-9 |
#ls
db.0 db.16.168.192 db.empty db.root named.conf named.conf.options zones.rfc1918 db.127 db.255 db.local db.test.net.nt named.conf.local rndc.key |
#vim db.test.net.nt
|
#/etc/init.d/bind9 restart
solaris-x86-any Solaris, x86, gcc sco-x86-any-gcc SCO, x86, gcc sco-x86-any-cc SCO, x86, cc tru64-alpha Tru64 (Digital UNIX, OSF/1), Alpha aix-ppc32 AIX, PowerPC 32-bit macosx-ppc32-altivec Mac OS X, PowerPC w/AltiVec (best) macosx-ppc32 Mac OS X, PowerPC 32-bit macosx-ppc64 Mac OS X 10.4+, PowerPC 64-bit macosx-x86-mmx Mac OS X, x86 with MMX hpux-pa-risc-gcc HP-UX, PA-RISC, gcc ... beos-x86-mmx BeOS, x86 with MMX beos-x86-any BeOS, x86 generic Any other Unix-like system with gcc Stopping domain name service...: bind. Starting domain name service...: bind. If you press Ctrl-C for a second time before John had a chance to 46,9 handle your first Ctrl-C, John will abort immediately without saving. By default, the state is also saved every 10 minutes to permit for 1,2-9 |
#tail /var/log/daemon.log
Jun 1 09:54:23 linux4 named[3336]: command channel listening on ::1#953 Jun 1 09:54:23 linux4 named[3336]: zone 0.in-addr.arpa/IN: loaded serial 1 Jun 1 09:54:23 linux4 named[3336]: zone 127.in-addr.arpa/IN: loaded serial 1 Jun 1 09:54:23 linux4 named[3336]: zone 16.168.192.in-addr.arpa/IN: loaded serial 20070531 Jun 1 09:54:23 linux4 named[3336]: zone 255.in-addr.arpa/IN: loaded serial 1 Jun 1 09:54:23 linux4 named[3336]: zone localhost/IN: loaded serial 1 Jun 1 09:54:23 linux4 named[3336]: zone test.net.nt/IN: loaded serial 2007053101 Jun 1 09:54:23 linux4 named[3336]: running Jun 1 09:54:23 linux4 named[3336]: zone 16.168.192.in-addr.arpa/IN: sending notifies (serial 20070531) Jun 1 09:54:23 linux4 named[3336]: zone test.net.nt/IN: sending notifies (serial 2007053101) |
#tcpdump port 53
aix-ppc32 AIX, PowerPC 32-bit macosx-ppc32-altivec Mac OS X, PowerPC w/AltiVec (best) macosx-ppc32 Mac OS X, PowerPC 32-bit macosx-ppc64 Mac OS X 10.4+, PowerPC 64-bit macosx-x86-mmx Mac OS X, x86 with MMX hpux-pa-risc-gcc HP-UX, PA-RISC, gcc hpux-pa-risc-cc HP-UX, PA-RISC, ANSI cc irix-mips64-r10k IRIX, MIPS 64-bit (R10K) (best) irix-mips64 IRIX, MIPS 64-bit irix-mips32 IRIX, MIPS 32-bit ... tcpdump: verbose output suppressed, use -v or -vv for full protocol decode listening on eth0, link-type EN10MB (Ethernet), capture size 96 bytes 0 packets captured 0 packets received by filter 0 packets dropped by kernel If you press Ctrl-C for a second time before John had a chance to 46,9 handle your first Ctrl-C, John will abort immediately without saving. By default, the state is also saved every 10 minutes to permit for 1,2-9 |
#tcpdump port 53
macosx-ppc64 Mac OS X 10.4+, PowerPC 64-bit macosx-x86-mmx Mac OS X, x86 with MMX hpux-pa-risc-gcc HP-UX, PA-RISC, gcc hpux-pa-risc-cc HP-UX, PA-RISC, ANSI cc irix-mips64-r10k IRIX, MIPS 64-bit (R10K) (best) irix-mips64 IRIX, MIPS 64-bit irix-mips32 IRIX, MIPS 32-bit dos-djgpp-x86-mmx DOS, DJGPP 2.x, x86 with MMX (best) dos-djgpp-x86-any DOS, DJGPP 2.x, x86 win32-cygwin-x86-mmx Win32, Cygwin, x86 with MMX (best) ... tcpdump: verbose output suppressed, use -v or -vv for full protocol decode listening on eth0, link-type EN10MB (Ethernet), capture size 96 bytes 0 packets captured 0 packets received by filter 0 packets dropped by kernel If you press Ctrl-C for a second time before John had a chance to 46,9 handle your first Ctrl-C, John will abort immediately without saving. By default, the state is also saved every 10 minutes to permit for 1,2-9 |
#vim db.test.net.nt
|
#tcpdump port 53
09:57:04.875919 IP host4.test.net.nt.32774 > auth5.dns.cogentco.com.domain: 55927% [1au] AAAA? auth1.dns.cogentco.com. (51) 09:57:04.876801 IP b.gtld-servers.net.domain > host4.test.net.nt.32774: 53368- 0/4/5 (189) 09:57:04.877293 IP host4.test.net.nt.32774 > auth1.dns.cogentco.com.domain: 61084% [1au] AAAA? ns.psi.net. (39) 09:57:04.877706 IP host4.test.net.nt.32774 > auth1.dns.cogentco.com.domain: 64479% [1au] AAAA? ns2.psi.net. (40) 09:57:04.879761 IP host4.test.net.nt.32774 > auth5.dns.cogentco.com.domain: 20099% [1au] AAAA? auth2.dns.cogentco.com. (51) 09:57:04.992935 IP host4.test.net.nt.32774 > ns.ru.net.domain: 32603% [1au] AAAA? ns.ru.net. (38) 09:57:05.024873 IP auth1.dns.cogentco.com.domain > host4.test.net.nt.32774: 64479*- 0/1/1 (98) 09:57:05.054726 IP host4.test.net.nt.32774 > e2.NSTLD.COM.domain: 43478 [1au] PTR? 30.112.54.192.in-addr.arpa. (55) 09:57:05.107407 IP auth5.dns.cogentco.com.domain > host4.test.net.nt.32774: 55927*- 0/1/1 (87) 09:57:05.258915 IP host4.test.net.nt.32774 > g3.NSTLD.COM.domain: 37248 [1au] PTR? 32.51.35.192.in-addr.arpa. (54) ... 09:57:05.985559 IP l2.NSTLD.COM.domain > host4.test.net.nt.32774: 63840*- 2/7/8[|domain] 09:57:05.988389 IP host4.test.net.nt.32774 > c3.NSTLD.COM.domain: 32277 [1au] PTR? 241.5.5.192.in-addr.arpa. (53) 180 packets captured 848 packets received by filter 486 packets dropped by kernel If you press Ctrl-C for a second time before John had a chance to 46,9 handle your first Ctrl-C, John will abort immediately without saving. By default, the state is also saved every 10 minutes to permit for 1,2-9 |
#dig axfr umc.com.ua
sco-x86-any-cc SCO, x86, cc tru64-alpha Tru64 (Digital UNIX, OSF/1), Alpha aix-ppc32 AIX, PowerPC 32-bit macosx-ppc32-altivec Mac OS X, PowerPC w/AltiVec (best) macosx-ppc32 Mac OS X, PowerPC 32-bit macosx-ppc64 Mac OS X 10.4+, PowerPC 64-bit macosx-x86-mmx Mac OS X, x86 with MMX hpux-pa-risc-gcc HP-UX, PA-RISC, gcc hpux-pa-risc-cc HP-UX, PA-RISC, ANSI cc irix-mips64-r10k IRIX, MIPS 64-bit (R10K) (best) ... beos-x86-any BeOS, x86 generic Any other Unix-like system with gcc ; <<>> DiG 9.3.4 <<>> axfr umc.com.ua ;; global options: printcmd ; Transfer failed. If you press Ctrl-C for a second time before John had a chance to 46,9 handle your first Ctrl-C, John will abort immediately without saving. By default, the state is also saved every 10 minutes to permit for 1,2-9 |
#dig axfr umc.ua
; <<>> DiG 9.3.4 <<>> axfr umc.ua ;; global options: printcmd ; Transfer failed. |
#dig axfr privatbank.com.ua
sco-x86-any-cc SCO, x86, cc tru64-alpha Tru64 (Digital UNIX, OSF/1), Alpha aix-ppc32 AIX, PowerPC 32-bit macosx-ppc32-altivec Mac OS X, PowerPC w/AltiVec (best) macosx-ppc32 Mac OS X, PowerPC 32-bit macosx-ppc64 Mac OS X 10.4+, PowerPC 64-bit macosx-x86-mmx Mac OS X, x86 with MMX hpux-pa-risc-gcc HP-UX, PA-RISC, gcc hpux-pa-risc-cc HP-UX, PA-RISC, ANSI cc irix-mips64-r10k IRIX, MIPS 64-bit (R10K) (best) ... beos-x86-any BeOS, x86 generic Any other Unix-like system with gcc ; <<>> DiG 9.3.4 <<>> axfr privatbank.com.ua ;; global options: printcmd ; Transfer failed. If you press Ctrl-C for a second time before John had a chance to 46,9 handle your first Ctrl-C, John will abort immediately without saving. By default, the state is also saved every 10 minutes to permit for 1,2-9 |
#dig axfr 192.168.16.4
; <<>> DiG 9.3.4 <<>> axfr 192.168.16.4 ;; global options: printcmd ; Transfer failed. |
#vim /etc/bind/named.conf
|
#dig axfr 192.168.16.4 test.net.nt
host2.test.net.nt. 10800000 IN A 192.168.16.2 host20.test.net.nt. 10800000 IN A 192.168.16.20 host200.test.net.nt. 10800000 IN A 192.168.16.200 host201.test.net.nt. 10800000 IN A 192.168.16.201 host202.test.net.nt. 10800000 IN A 192.168.16.202 host203.test.net.nt. 10800000 IN A 192.168.16.203 host204.test.net.nt. 10800000 IN A 192.168.16.204 host205.test.net.nt. 10800000 IN A 192.168.16.205 host206.test.net.nt. 10800000 IN A 192.168.16.206 host207.test.net.nt. 10800000 IN A 192.168.16.207 ... host95.test.net.nt. 10800000 IN A 192.168.16.95 host96.test.net.nt. 10800000 IN A 192.168.16.96 host97.test.net.nt. 10800000 IN A 192.168.16.97 host98.test.net.nt. 10800000 IN A 192.168.16.98 host99.test.net.nt. 10800000 IN A 192.168.16.99 test.net.nt. 10800000 IN SOA test.net.nt. user.test.net.nt. 2007053102 36000 3600 604800 3600 ;; Query time: 73 msec ;; SERVER: 127.0.0.1#53(127.0.0.1) ;; WHEN: Fri Jun 1 09:59:09 2007 ;; XFR size: 257 records (messages 1) |
#dig umc.ua
; <<>> DiG 9.3.4 <<>> umc.ua ;; global options: printcmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 11582 ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 4, ADDITIONAL: 0 ;; QUESTION SECTION: ;umc.ua. IN A ;; ANSWER SECTION: umc.ua. 3600 IN A 213.186.117.56 ;; AUTHORITY SECTION: ... umc.ua. 3600 IN NS ares.utel.net.ua. ;; Query time: 760 msec ;; SERVER: 127.0.0.1#53(127.0.0.1) ;; WHEN: Fri Jun 1 09:59:23 2007 ;; MSG SIZE rcvd: 123 If you press Ctrl-C for a second time before John had a chance to 46,9 handle your first Ctrl-C, John will abort immediately without saving. By default, the state is also saved every 10 minutes to permit for 1,2-9 |
#dig n2.umc.ua google.com
;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 47722 ;; flags: qr rd ra; QUERY: 1, ANSWER: 3, AUTHORITY: 4, ADDITIONAL: 0 ;; QUESTION SECTION: ;google.com. IN A ;; ANSWER SECTION: google.com. 300 IN A 64.233.167.99 google.com. 300 IN A 64.233.187.99 google.com. 300 IN A 72.14.207.99 ;; AUTHORITY SECTION: ... google.com. 345600 IN NS ns4.google.com. ;; Query time: 221 msec ;; SERVER: 127.0.0.1#53(127.0.0.1) ;; WHEN: Fri Jun 1 09:59:42 2007 ;; MSG SIZE rcvd: 148 If you press Ctrl-C for a second time before John had a chance to 46,9 handle your first Ctrl-C, John will abort immediately without saving. By default, the state is also saved every 10 minutes to permit for 1,2-9 |
#dig n2.umc.ua axrf
;; Query time: 336 msec ;; SERVER: 127.0.0.1#53(127.0.0.1) ;; WHEN: Fri Jun 1 09:59:58 2007 ;; MSG SIZE rcvd: 155 ; <<>> DiG 9.3.4 <<>> n2.umc.ua axrf ;; global options: printcmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 18276 ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0 ;; QUESTION SECTION: ... . 10800 IN SOA A.ROOT-SERVERS.NET. NSTLD.VERISIGN-GRS.COM. 2007053101 1800 900 604800 86400 ;; Query time: 150 msec ;; SERVER: 127.0.0.1#53(127.0.0.1) ;; WHEN: Fri Jun 1 09:59:58 2007 ;; MSG SIZE rcvd: 97 If you press Ctrl-C for a second time before John had a chance to 46,9 handle your first Ctrl-C, John will abort immediately without saving. By default, the state is also saved every 10 minutes to permit for 1,2-9 |
#dig n2.umc.ua umc.ua axrf
;; Query time: 178 msec ;; SERVER: 127.0.0.1#53(127.0.0.1) ;; WHEN: Fri Jun 1 10:00:16 2007 ;; MSG SIZE rcvd: 171 ; <<>> DiG 9.3.4 <<>> n2.umc.ua umc.ua axrf ;; global options: printcmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 35377 ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0 ;; QUESTION SECTION: ... . 10782 IN SOA A.ROOT-SERVERS.NET. NSTLD.VERISIGN-GRS.COM. 2007053101 1800 900 604800 86400 ;; Query time: 87 msec ;; SERVER: 127.0.0.1#53(127.0.0.1) ;; WHEN: Fri Jun 1 10:00:17 2007 ;; MSG SIZE rcvd: 97 If you press Ctrl-C for a second time before John had a chance to 46,9 handle your first Ctrl-C, John will abort immediately without saving. By default, the state is also saved every 10 minutes to permit for 1,2-9 |
#dig n2.umc.ua umc.ua axrf 1> /tmp/axfr
|
#less /tmp/axfr
|
#dig @n2.umc.ua umc.ua axrf
;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 9095 ;; flags: qr aa rd; QUERY: 1, ANSWER: 1, AUTHORITY: 4, ADDITIONAL: 3 ;; QUESTION SECTION: ;umc.ua. IN A ;; ANSWER SECTION: umc.ua. 3600 IN A 213.186.117.56 ;; AUTHORITY SECTION: umc.ua. 3600 IN NS ns.rql.net.ua. umc.ua. 3600 IN NS ns.umc.ua. ... . 203492 IN NS B.ROOT-SERVERS.NET. . 203492 IN NS C.ROOT-SERVERS.NET. . 203492 IN NS D.ROOT-SERVERS.NET. . 203492 IN NS E.ROOT-SERVERS.NET. ;; ADDITIONAL SECTION: J.ROOT-SERVERS.NET. 289892 IN A 192.58.128.30 ;; Query time: 25 msec ;; SERVER: 80.255.64.69#53(80.255.64.69) ;; WHEN: Fri Jun 1 10:00:46 2007 ;; MSG SIZE rcvd: 249 |
#dig @ares.utel.net.ua umc.ua axrf
. 30060 IN NS J.ROOT-SERVERS.NET. . 30060 IN NS F.ROOT-SERVERS.NET. ;; ADDITIONAL SECTION: C.ROOT-SERVERS.NET. 116460 IN A 192.33.4.12 L.ROOT-SERVERS.NET. 116460 IN A 198.32.64.12 I.ROOT-SERVERS.NET. 116460 IN A 192.36.148.17 E.ROOT-SERVERS.NET. 116460 IN A 192.203.230.10 G.ROOT-SERVERS.NET. 116460 IN A 192.112.36.4 K.ROOT-SERVERS.NET. 116460 IN A 193.0.14.129 H.ROOT-SERVERS.NET. 116460 IN A 128.63.2.53 ... F.ROOT-SERVERS.NET. 116460 IN A 192.5.5.241 ;; Query time: 212 msec ;; SERVER: 212.113.37.157#53(212.113.37.157) ;; WHEN: Fri Jun 1 10:01:14 2007 ;; MSG SIZE rcvd: 441 If you press Ctrl-C for a second time before John had a chance to 46,9 handle your first Ctrl-C, John will abort immediately without saving. By default, the state is also saved every 10 minutes to permit for 1,2-9 |
#dig @ares.utel.net.ua umc.ua axrf 1> /tmp/axfr
|
#less /tmp/axfr
|
#dig 192.168.16.1
; <<>> DiG 9.3.4 <<>> 192.168.16.1 ;; global options: printcmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 19770 ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0 ;; QUESTION SECTION: ;192.168.16.1. IN A ;; AUTHORITY SECTION: . 10800 IN SOA A.ROOT-SERVERS.NET. NSTLD.VERISIGN-GRS.COM. 2007053101 1800 900 604800 86400 ;; Query time: 246 msec ;; SERVER: 127.0.0.1#53(127.0.0.1) ;; WHEN: Fri Jun 1 10:01:49 2007 ;; MSG SIZE rcvd: 105 |
#vim /etc/resolv.conf
|
#host host1.test.net.nt
solaris-sparc-gcc Solaris, SPARC 32-bit, gcc solaris-x86-any Solaris, x86, gcc sco-x86-any-gcc SCO, x86, gcc sco-x86-any-cc SCO, x86, cc tru64-alpha Tru64 (Digital UNIX, OSF/1), Alpha aix-ppc32 AIX, PowerPC 32-bit macosx-ppc32-altivec Mac OS X, PowerPC w/AltiVec (best) macosx-ppc32 Mac OS X, PowerPC 32-bit macosx-ppc64 Mac OS X 10.4+, PowerPC 64-bit macosx-x86-mmx Mac OS X, x86 with MMX ... win32-cygwin-x86-any Win32, Cygwin, x86 beos-x86-mmx BeOS, x86 with MMX beos-x86-any BeOS, x86 generic Any other Unix-like system with gcc host1.test.net.nt has address 192.168.16.1 If you press Ctrl-C for a second time before John had a chance to 46,9 handle your first Ctrl-C, John will abort immediately without saving. By default, the state is also saved every 10 minutes to permit for 1,2-9 |
#host 192.168.16.1
1.16.168.192.in-addr.arpa domain name pointer host1.test.net.nt. |
#dig 192.168.16.1
; <<>> DiG 9.3.4 <<>> 192.168.16.1 ;; global options: printcmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 52427 ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0 ;; QUESTION SECTION: ;192.168.16.1. IN A ;; AUTHORITY SECTION: . 10756 IN SOA A.ROOT-SERVERS.NET. NSTLD.VERISIGN-GRS.COM. 2007053101 1800 900 604800 86400 ;; Query time: 63 msec ;; SERVER: 127.0.0.1#53(127.0.0.1) ;; WHEN: Fri Jun 1 10:02:33 2007 ;; MSG SIZE rcvd: 105 |
#dig @127.0.0.1 192.168.16.1
win32-cygwin-x86-any Win32, Cygwin, x86 beos-x86-mmx BeOS, x86 with MMX beos-x86-any BeOS, x86 generic Any other Unix-like system with gcc ; <<>> DiG 9.3.4 <<>> @127.0.0.1 192.168.16.1 ; (1 server found) ;; global options: printcmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 33118 ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0 ... . 10739 IN SOA A.ROOT-SERVERS.NET. NSTLD.VERISIGN-GRS.COM. 2007053101 1800 900 604800 86400 ;; Query time: 61 msec ;; SERVER: 127.0.0.1#53(127.0.0.1) ;; WHEN: Fri Jun 1 10:02:50 2007 ;; MSG SIZE rcvd: 105 If you press Ctrl-C for a second time before John had a chance to 46,9 handle your first Ctrl-C, John will abort immediately without saving. By default, the state is also saved every 10 minutes to permit for 1,2-9 |
#dig -x 192.168.16.1
beos-x86-any BeOS, x86 generic Any other Unix-like system with gcc ; <<>> DiG 9.3.4 <<>> -x 192.168.16.1 ;; global options: printcmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 58807 ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 0 ;; QUESTION SECTION: ;1.16.168.192.in-addr.arpa. IN PTR ;; ANSWER SECTION: ... 16.168.192.in-addr.arpa. 1080000 IN NS 192.168.16.4.16.168.192.in-addr.arpa. ;; Query time: 62 msec ;; SERVER: 127.0.0.1#53(127.0.0.1) ;; WHEN: Fri Jun 1 10:03:07 2007 ;; MSG SIZE rcvd: 101 If you press Ctrl-C for a second time before John had a chance to 46,9 handle your first Ctrl-C, John will abort immediately without saving. By default, the state is also saved every 10 minutes to permit for 1,2-9 |
#dig host1.test.net.nt
beos-x86-any BeOS, x86 generic Any other Unix-like system with gcc ; <<>> DiG 9.3.4 <<>> host1.test.net.nt ;; global options: printcmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 58350 ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 0 ;; QUESTION SECTION: ;host1.test.net.nt. IN A ;; ANSWER SECTION: ... test.net.nt. 10800 IN NS 192.168.16.4.test.net.nt. ;; Query time: 62 msec ;; SERVER: 127.0.0.1#53(127.0.0.1) ;; WHEN: Fri Jun 1 10:03:38 2007 ;; MSG SIZE rcvd: 78 If you press Ctrl-C for a second time before John had a chance to 46,9 handle your first Ctrl-C, John will abort immediately without saving. By default, the state is also saved every 10 minutes to permit for 1,2-9 |
#dig host1
; <<>> DiG 9.3.4 <<>> host1 ;; global options: printcmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 63108 ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0 ;; QUESTION SECTION: ;host1. IN A ;; AUTHORITY SECTION: . 10800 IN SOA a.root-servers.net. nstld.verisign-grs.com. 2007053101 1800 900 604800 86400 ;; Query time: 125 msec ;; SERVER: 127.0.0.1#53(127.0.0.1) ;; WHEN: Fri Jun 1 10:03:48 2007 ;; MSG SIZE rcvd: 98 |
#vim /etc/resolv.conf
|
#hostname
linux4 |
#hostname -f
linux4.net.nt |
#vim /etc/hosts
|
#hostname -f
linux4.test.net.nt |
#dig host1
; <<>> DiG 9.3.4 <<>> host1 ;; global options: printcmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 46226 ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0 ;; QUESTION SECTION: ;host1. IN A ;; AUTHORITY SECTION: . 10757 IN SOA a.root-servers.net. nstld.verisign-grs.com. 2007053101 1800 900 604800 86400 ;; Query time: 61 msec ;; SERVER: 127.0.0.1#53(127.0.0.1) ;; WHEN: Fri Jun 1 10:04:31 2007 ;; MSG SIZE rcvd: 98 |
#ping host1
macosx-x86-mmx Mac OS X, x86 with MMX hpux-pa-risc-gcc HP-UX, PA-RISC, gcc hpux-pa-risc-cc HP-UX, PA-RISC, ANSI cc irix-mips64-r10k IRIX, MIPS 64-bit (R10K) (best) irix-mips64 IRIX, MIPS 64-bit irix-mips32 IRIX, MIPS 32-bit dos-djgpp-x86-mmx DOS, DJGPP 2.x, x86 with MMX (best) dos-djgpp-x86-any DOS, DJGPP 2.x, x86 win32-cygwin-x86-mmx Win32, Cygwin, x86 with MMX (best) win32-cygwin-x86-any Win32, Cygwin, x86 ... 64 bytes from host1.test.net.nt (192.168.16.1): icmp_seq=4 ttl=64 time=0.178 ms 64 bytes from host1.test.net.nt (192.168.16.1): icmp_seq=5 ttl=64 time=0.180 ms --- host1.test.net.nt ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 3999ms rtt min/avg/max/mdev = 0.178/0.187/0.219/0.018 ms If you press Ctrl-C for a second time before John had a chance to 46,9 handle your first Ctrl-C, John will abort immediately without saving. By default, the state is also saved every 10 minutes to permit for 1,2-9 |
#dig @127.0.0.1 test.net.nt ns
win32-cygwin-x86-any Win32, Cygwin, x86 beos-x86-mmx BeOS, x86 with MMX beos-x86-any BeOS, x86 generic Any other Unix-like system with gcc ; <<>> DiG 9.3.4 <<>> @127.0.0.1 test.net.nt ns ; (1 server found) ;; global options: printcmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 53647 ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0 ... test.net.nt. 10800 IN NS 192.168.16.4.test.net.nt. ;; Query time: 62 msec ;; SERVER: 127.0.0.1#53(127.0.0.1) ;; WHEN: Fri Jun 1 10:05:14 2007 ;; MSG SIZE rcvd: 56 If you press Ctrl-C for a second time before John had a chance to 46,9 handle your first Ctrl-C, John will abort immediately without saving. By default, the state is also saved every 10 minutes to permit for 1,2-9 |
#vim db.16.168.192
|
#vim db.16.168.192
|
#rndc reload
solaris-sparc-gcc Solaris, SPARC 32-bit, gcc solaris-x86-any Solaris, x86, gcc sco-x86-any-gcc SCO, x86, gcc sco-x86-any-cc SCO, x86, cc tru64-alpha Tru64 (Digital UNIX, OSF/1), Alpha aix-ppc32 AIX, PowerPC 32-bit macosx-ppc32-altivec Mac OS X, PowerPC w/AltiVec (best) macosx-ppc32 Mac OS X, PowerPC 32-bit macosx-ppc64 Mac OS X 10.4+, PowerPC 64-bit macosx-x86-mmx Mac OS X, x86 with MMX ... win32-cygwin-x86-any Win32, Cygwin, x86 beos-x86-mmx BeOS, x86 with MMX beos-x86-any BeOS, x86 generic Any other Unix-like system with gcc server reload successful If you press Ctrl-C for a second time before John had a chance to 46,9 handle your first Ctrl-C, John will abort immediately without saving. By default, the state is also saved every 10 minutes to permit for 1,2-9 |
#dig @127.0.0.1 test.net.nt ns
; <<>> DiG 9.3.4 <<>> @127.0.0.1 test.net.nt ns ; (1 server found) ;; global options: printcmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 13255 ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0 ;; QUESTION SECTION: ;test.net.nt. IN NS ;; ANSWER SECTION: test.net.nt. 10800 IN NS 192.168.16.4.test.net.nt. ;; Query time: 4 msec ;; SERVER: 127.0.0.1#53(127.0.0.1) ;; WHEN: Fri Jun 1 10:06:26 2007 ;; MSG SIZE rcvd: 56 |
#rndc restart
solaris-sparc-gcc Solaris, SPARC 32-bit, gcc solaris-x86-any Solaris, x86, gcc sco-x86-any-gcc SCO, x86, gcc sco-x86-any-cc SCO, x86, cc tru64-alpha Tru64 (Digital UNIX, OSF/1), Alpha aix-ppc32 AIX, PowerPC 32-bit macosx-ppc32-altivec Mac OS X, PowerPC w/AltiVec (best) macosx-ppc32 Mac OS X, PowerPC 32-bit macosx-ppc64 Mac OS X 10.4+, PowerPC 64-bit macosx-x86-mmx Mac OS X, x86 with MMX ... win32-cygwin-x86-any Win32, Cygwin, x86 beos-x86-mmx BeOS, x86 with MMX beos-x86-any BeOS, x86 generic Any other Unix-like system with gcc rndc: 'restart' is not implemented If you press Ctrl-C for a second time before John had a chance to 46,9 handle your first Ctrl-C, John will abort immediately without saving. By default, the state is also saved every 10 minutes to permit for 1,2-9 |
#rndc stop
|
#rndc start
rndc: connect failed: 127.0.0.1#953: connection refused |
#tail /var/log/daemon.log
macosx-x86-mmx Mac OS X, x86 with MMX hpux-pa-risc-gcc HP-UX, PA-RISC, gcc hpux-pa-risc-cc HP-UX, PA-RISC, ANSI cc irix-mips64-r10k IRIX, MIPS 64-bit (R10K) (best) irix-mips64 IRIX, MIPS 64-bit irix-mips32 IRIX, MIPS 32-bit dos-djgpp-x86-mmx DOS, DJGPP 2.x, x86 with MMX (best) dos-djgpp-x86-any DOS, DJGPP 2.x, x86 win32-cygwin-x86-mmx Win32, Cygwin, x86 with MMX (best) win32-cygwin-x86-any Win32, Cygwin, x86 ... Jun 1 10:06:43 linux4 named[3411]: stopping command channel on ::1#953 Jun 1 10:06:43 linux4 named[3411]: no longer listening on ::#53 Jun 1 10:06:43 linux4 named[3411]: no longer listening on 127.0.0.1#53 Jun 1 10:06:43 linux4 named[3411]: no longer listening on 192.168.16.4#53 Jun 1 10:06:43 linux4 named[3411]: exiting If you press Ctrl-C for a second time before John had a chance to 46,9 handle your first Ctrl-C, John will abort immediately without saving. By default, the state is also saved every 10 minutes to permit for 1,2-9 |
#rndc start
rndc: connect failed: 127.0.0.1#953: connection refused |
#/etc/init.d/bind9 restart
sco-x86-any-gcc SCO, x86, gcc sco-x86-any-cc SCO, x86, cc tru64-alpha Tru64 (Digital UNIX, OSF/1), Alpha aix-ppc32 AIX, PowerPC 32-bit macosx-ppc32-altivec Mac OS X, PowerPC w/AltiVec (best) macosx-ppc32 Mac OS X, PowerPC 32-bit macosx-ppc64 Mac OS X 10.4+, PowerPC 64-bit macosx-x86-mmx Mac OS X, x86 with MMX hpux-pa-risc-gcc HP-UX, PA-RISC, gcc hpux-pa-risc-cc HP-UX, PA-RISC, ANSI cc ... beos-x86-any BeOS, x86 generic Any other Unix-like system with gcc Stopping domain name service...: bindrndc: connect failed: 127.0.0.1#953: connection refused failed! Starting domain name service...: bind. If you press Ctrl-C for a second time before John had a chance to 46,9 handle your first Ctrl-C, John will abort immediately without saving. By default, the state is also saved every 10 minutes to permit for 1,2-9 |
#tail /var/log/daemon.log
Jun 1 10:07:18 linux4 named[3872]: command channel listening on ::1#953 Jun 1 10:07:18 linux4 named[3872]: zone 0.in-addr.arpa/IN: loaded serial 1 Jun 1 10:07:18 linux4 named[3872]: zone 127.in-addr.arpa/IN: loaded serial 1 Jun 1 10:07:18 linux4 named[3872]: zone 16.168.192.in-addr.arpa/IN: loaded serial 20070532 Jun 1 10:07:18 linux4 named[3872]: zone 255.in-addr.arpa/IN: loaded serial 1 Jun 1 10:07:18 linux4 named[3872]: zone localhost/IN: loaded serial 1 Jun 1 10:07:18 linux4 named[3872]: zone test.net.nt/IN: loaded serial 2007053102 Jun 1 10:07:18 linux4 named[3872]: running Jun 1 10:07:18 linux4 named[3872]: zone 16.168.192.in-addr.arpa/IN: sending notifies (serial 20070532) Jun 1 10:07:18 linux4 named[3872]: zone test.net.nt/IN: sending notifies (serial 2007053102) |
#dig @127.0.0.1 test.net.nt ns
; <<>> DiG 9.3.4 <<>> @127.0.0.1 test.net.nt ns ; (1 server found) ;; global options: printcmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 50527 ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0 ;; QUESTION SECTION: ;test.net.nt. IN NS ;; ANSWER SECTION: test.net.nt. 10800 IN NS 192.168.16.4.test.net.nt. ;; Query time: 62 msec ;; SERVER: 127.0.0.1#53(127.0.0.1) ;; WHEN: Fri Jun 1 10:07:31 2007 ;; MSG SIZE rcvd: 56 |
#vim db.
|
#vim db.16.168.192
|
#vim db.test.net.nt
|
#/etc/init.d/bind9 restart
Stopping domain name service...: bind. Starting domain name service...: bind. |
#dig @127.0.0.1 test.net.nt ns
generic Any other Unix-like system with gcc ; <<>> DiG 9.3.4 <<>> @127.0.0.1 test.net.nt ns ; (1 server found) ;; global options: printcmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 39727 ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1 ;; QUESTION SECTION: ;test.net.nt. IN NS ;; ANSWER SECTION: ... host4.test.net.nt. 10800000 IN A 192.168.16.4 ;; Query time: 62 msec ;; SERVER: 127.0.0.1#53(127.0.0.1) ;; WHEN: Fri Jun 1 10:08:16 2007 ;; MSG SIZE rcvd: 65 If you press Ctrl-C for a second time before John had a chance to 46,9 handle your first Ctrl-C, John will abort immediately without saving. By default, the state is also saved every 10 minutes to permit for 1,2-9 |
#vim db.test.net.nt
|
#whois 10.0.11.19
NetHandle: NET-10-0-0-0-1 Parent: NetType: IANA Special Use NameServer: BLACKHOLE-1.IANA.ORG NameServer: BLACKHOLE-2.IANA.ORG Comment: This block is reserved for special purposes. Comment: Please see RFC 1918 for additional information. Comment: RegDate: Updated: 2002-09-12 ... OrgTechName: Internet Corporation for Assigned Names and Number OrgTechPhone: +1-310-301-5820 OrgTechEmail: abuse@iana.org # ARIN WHOIS database, last updated 2007-05-31 19:10 # Enter ? for additional hints on searching ARIN's WHOIS database. If you press Ctrl-C for a second time before John had a chance to 46,9 handle your first Ctrl-C, John will abort immediately without saving. By default, the state is also saved every 10 minutes to permit for 1,2-9 |
#whois 10.0.11.14
OrgName: Internet Assigned Numbers Authority OrgID: IANA Address: 4676 Admiralty Way, Suite 330 City: Marina del Rey StateProv: CA PostalCode: 90292-6695 Country: US NetRange: 10.0.0.0 - 10.255.255.255 CIDR: 10.0.0.0/8 NetName: RESERVED-10 ... OrgAbuseHandle: IANA-IP-ARIN OrgAbuseName: Internet Corporation for Assigned Names and Number OrgAbusePhone: +1-310-301-5820 OrgAbuseEmail: abuse@iana.org OrgTechHandle: IANA-IP-ARIN OrgTechName: Internet Corporation for Assigned Names and Number OrgTechPhone: +1-310-301-5820 OrgTechEmail: abuse@iana.org # ARIN WHOIS database, last updated 2007-05-31 19:10 # Enter ? for additional hints on searching ARIN's WHOIS database. |
#whois 19.0.11.14
RTechHandle: ZF4-ARIN RTechName: DNS Administrator RTechPhone: +1-313-390-3476 RTechEmail: dnsadmin@ford.com OrgAbuseHandle: ZF4-ARIN OrgAbuseName: DNS Administrator OrgAbusePhone: +1-313-390-3476 OrgAbuseEmail: dnsadmin@ford.com OrgNOCHandle: ZF4-ARIN OrgNOCName: DNS Administrator ... OrgTechName: DNS Administrator OrgTechPhone: +1-313-390-3476 OrgTechEmail: dnsadmin@ford.com # ARIN WHOIS database, last updated 2007-05-31 19:10 # Enter ? for additional hints on searching ARIN's WHOIS database. If you press Ctrl-C for a second time before John had a chance to 46,9 handle your first Ctrl-C, John will abort immediately without saving. By default, the state is also saved every 10 minutes to permit for 1,2-9 |
#dig @192.168.16.4 test.net.nt axfr
solaris-sparcv8-cc Solaris, SPARC V8 32-bit, cc solaris-sparc-gcc Solaris, SPARC 32-bit, gcc solaris-x86-any Solaris, x86, gcc sco-x86-any-gcc SCO, x86, gcc sco-x86-any-cc SCO, x86, cc tru64-alpha Tru64 (Digital UNIX, OSF/1), Alpha aix-ppc32 AIX, PowerPC 32-bit macosx-ppc32-altivec Mac OS X, PowerPC w/AltiVec (best) macosx-ppc32 Mac OS X, PowerPC 32-bit macosx-ppc64 Mac OS X 10.4+, PowerPC 64-bit ... win32-cygwin-x86-mmx Win32, Cygwin, x86 with MMX (best) win32-cygwin-x86-any Win32, Cygwin, x86 beos-x86-mmx BeOS, x86 with MMX beos-x86-any BeOS, x86 generic Any other Unix-like system with gcc If you press Ctrl-C for a second time before John had a chance to 46,9 handle your first Ctrl-C, John will abort immediately without saving. By default, the state is also saved every 10 minutes to permit for 1,2-9 |
#dig @192.168.16.4 test.net.nt axfr
host84.test.net.nt. 10800000 IN A 192.168.16.84 host85.test.net.nt. 10800000 IN A 192.168.16.85 host86.test.net.nt. 10800000 IN A 192.168.16.86 host87.test.net.nt. 10800000 IN A 192.168.16.87 host88.test.net.nt. 10800000 IN A 192.168.16.88 host89.test.net.nt. 10800000 IN A 192.168.16.89 host9.test.net.nt. 10800000 IN A 192.168.16.9 host90.test.net.nt. 10800000 IN A 192.168.16.90 host91.test.net.nt. 10800000 IN A 192.168.16.91 host92.test.net.nt. 10800000 IN A 192.168.16.92 ... host95.test.net.nt. 10800000 IN A 192.168.16.95 host96.test.net.nt. 10800000 IN A 192.168.16.96 host97.test.net.nt. 10800000 IN A 192.168.16.97 host98.test.net.nt. 10800000 IN A 192.168.16.98 host99.test.net.nt. 10800000 IN A 192.168.16.99 test.net.nt. 10800000 IN SOA test.net.nt. user.test.net.nt. 2007053102 36000 3600 604800 3600 ;; Query time: 203 msec ;; SERVER: 192.168.16.4#53(192.168.16.4) ;; WHEN: Fri Jun 1 10:20:15 2007 ;; XFR size: 257 records (messages 1) |
#dig @192.168.16.4 -x host1
;; SERVER: 127.0.0.1#53(127.0.0.1) ;; WHEN: Fri Jun 1 10:24:42 2007 ;; MSG SIZE rcvd: 94 ; <<>> DiG 9.3.4 <<>> @192.168.16.4 -x host1 ; (1 server found) ;; global options: printcmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 38723 ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0 ;; QUESTION SECTION: ;host1.in-addr.arpa. IN PTR ;; AUTHORITY SECTION: in-addr.arpa. 10800 IN SOA A.ROOT-SERVERS.NET. dns-ops.ARIN.NET. 2007053116 1800 900 691200 10800 ;; Query time: 247 msec ;; SERVER: 192.168.16.4#53(192.168.16.4) ;; WHEN: Fri Jun 1 10:22:19 2007 ;; MSG SIZE rcvd: 103 |
Время первой команды журнала | 09:33:56 2007- 6- 1 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Время последней команды журнала | 10:20:15 2007- 6- 1 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Количество командных строк в журнале | 101 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Процент команд с ненулевым кодом завершения, % | 6.93 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Процент синтаксически неверно набранных команд, % | 0.00 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Суммарное время работы с терминалом *, час | 0.77 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Количество командных строк в единицу времени, команда/мин | 2.18 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Частота использования команд |
|
В журнал автоматически попадают все команды, данные в любом терминале системы.
Для того чтобы убедиться, что журнал на текущем терминале ведётся, и команды записываются, дайте команду 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