/l3/users/22-06-2009/fbsd-adm/fbsd1.unix.nt/root :1 :2 :3 :4 :5 :6 :7 :8 :9 :10 :11 :12 :13 :14 :15 :16 :17 :18 :19 :20 :21 :22 :23 :24 :25 :26 :27 :28 :29 :30 :31 :32 :33 :34 :35 :36 :37 :38 :39 :40 :41 :42 :43 :44 :45 :46 :47 :48 :49 :50 :51 :52 :53 |
|
#grep -n FreeBSD /*
/COPYRIGHT:1:# $FreeBSD: src/COPYRIGHT,v 1.6.2.2.2.1 2008/01/01 09:37:09 imp Exp $ /COPYRIGHT:4:The compilation of software known as FreeBSD is distributed under the /COPYRIGHT:7:Copyright (C) 1992-2008 The FreeBSD Project. All rights reserved. Binary file /moused.core matches |
#grep -n vim /*
![]() Binary file /root matches |
#grep -n vim /*
![]() Binary file /root matches |
#grep -n vim /*
![]() Binary file /root matches |
#grep -n vim /*
![]() Binary file /root matches |
#grep -n vim /*
Binary file /root matches |
#grep -n vi /*
![]() /COPYRIGHT:10:modification, are permitted provided that the following conditions /COPYRIGHT:16: documentation and/or other materials provided with the distribution. /COPYRIGHT:40:modification, are permitted provided that the following conditions /COPYRIGHT:46: documentation and/or other materials provided with the distribution. /COPYRIGHT:76:Standard Portable Operating System Interface for Computer Environments /COPYRIGHT:91:The views and conclusions contained in the software and documentation are /COPYRIGHT:112:Specifically, the provision reads: Binary file /boot matches Binary file /etc matches Binary file /moused.core matches Binary file /rescue matches Binary file /root matches Binary file /sbin matches |
#grep -n vi /*
![]() /COPYRIGHT:10:modification, are permitted provided that the following conditions /COPYRIGHT:16: documentation and/or other materials provided with the distribution. /COPYRIGHT:40:modification, are permitted provided that the following conditions /COPYRIGHT:46: documentation and/or other materials provided with the distribution. /COPYRIGHT:76:Standard Portable Operating System Interface for Computer Environments /COPYRIGHT:91:The views and conclusions contained in the software and documentation are /COPYRIGHT:112:Specifically, the provision reads: Binary file /boot matches Binary file /etc matches Binary file /moused.core matches Binary file /rescue matches Binary file /root matches Binary file /sbin matches |
#grep -n vi /*
![]() /COPYRIGHT:10:modification, are permitted provided that the following conditions /COPYRIGHT:16: documentation and/or other materials provided with the distribution. /COPYRIGHT:40:modification, are permitted provided that the following conditions /COPYRIGHT:46: documentation and/or other materials provided with the distribution. /COPYRIGHT:76:Standard Portable Operating System Interface for Computer Environments /COPYRIGHT:91:The views and conclusions contained in the software and documentation are /COPYRIGHT:112:Specifically, the provision reads: Binary file /boot matches Binary file /etc matches Binary file /moused.core matches Binary file /rescue matches Binary file /root matches Binary file /sbin matches |
#grep -n vi /*
![]() /COPYRIGHT:10:modification, are permitted provided that the following conditions /COPYRIGHT:16: documentation and/or other materials provided with the distribution. /COPYRIGHT:40:modification, are permitted provided that the following conditions /COPYRIGHT:46: documentation and/or other materials provided with the distribution. /COPYRIGHT:76:Standard Portable Operating System Interface for Computer Environments /COPYRIGHT:91:The views and conclusions contained in the software and documentation are /COPYRIGHT:112:Specifically, the provision reads: Binary file /boot matches Binary file /etc matches Binary file /moused.core matches Binary file /rescue matches Binary file /root matches Binary file /sbin matches |
#grep -n vi /*
![]() /COPYRIGHT:10:modification, are permitted provided that the following conditions /COPYRIGHT:16: documentation and/or other materials provided with the distribution. /COPYRIGHT:40:modification, are permitted provided that the following conditions /COPYRIGHT:46: documentation and/or other materials provided with the distribution. /COPYRIGHT:76:Standard Portable Operating System Interface for Computer Environments /COPYRIGHT:91:The views and conclusions contained in the software and documentation are /COPYRIGHT:112:Specifically, the provision reads: Binary file /boot matches Binary file /etc matches Binary file /moused.core matches Binary file /rescue matches Binary file /root matches Binary file /sbin matches |
#grep -n vi /*
![]() /COPYRIGHT:10:modification, are permitted provided that the following conditions /COPYRIGHT:16: documentation and/or other materials provided with the distribution. /COPYRIGHT:40:modification, are permitted provided that the following conditions /COPYRIGHT:46: documentation and/or other materials provided with the distribution. /COPYRIGHT:76:Standard Portable Operating System Interface for Computer Environments /COPYRIGHT:91:The views and conclusions contained in the software and documentation are /COPYRIGHT:112:Specifically, the provision reads: Binary file /boot matches Binary file /etc matches Binary file /moused.core matches Binary file /rescue matches Binary file /root matches Binary file /sbin matches |
#grep -n vi /*
![]() /COPYRIGHT:10:modification, are permitted provided that the following conditions /COPYRIGHT:16: documentation and/or other materials provided with the distribution. /COPYRIGHT:40:modification, are permitted provided that the following conditions /COPYRIGHT:46: documentation and/or other materials provided with the distribution. /COPYRIGHT:76:Standard Portable Operating System Interface for Computer Environments /COPYRIGHT:91:The views and conclusions contained in the software and documentation are /COPYRIGHT:112:Specifically, the provision reads: Binary file /boot matches Binary file /etc matches Binary file /moused.core matches Binary file /rescue matches Binary file /root matches Binary file /sbin matches |
#grep -n vi /*
![]() /COPYRIGHT:10:modification, are permitted provided that the following conditions /COPYRIGHT:16: documentation and/or other materials provided with the distribution. /COPYRIGHT:40:modification, are permitted provided that the following conditions /COPYRIGHT:46: documentation and/or other materials provided with the distribution. /COPYRIGHT:76:Standard Portable Operating System Interface for Computer Environments /COPYRIGHT:91:The views and conclusions contained in the software and documentation are /COPYRIGHT:112:Specifically, the provision reads: Binary file /boot matches Binary file /etc matches Binary file /moused.core matches Binary file /rescue matches Binary file /root matches Binary file /sbin matches |
#grep -n vi /*
![]() /COPYRIGHT:10:modification, are permitted provided that the following conditions /COPYRIGHT:16: documentation and/or other materials provided with the distribution. /COPYRIGHT:40:modification, are permitted provided that the following conditions /COPYRIGHT:46: documentation and/or other materials provided with the distribution. /COPYRIGHT:76:Standard Portable Operating System Interface for Computer Environments /COPYRIGHT:91:The views and conclusions contained in the software and documentation are /COPYRIGHT:112:Specifically, the provision reads: Binary file /boot matches Binary file /etc matches Binary file /moused.core matches Binary file /rescue matches Binary file /root matches Binary file /sbin matches |
#grep -n vi /*
![]() /COPYRIGHT:10:modification, are permitted provided that the following conditions /COPYRIGHT:16: documentation and/or other materials provided with the distribution. /COPYRIGHT:40:modification, are permitted provided that the following conditions /COPYRIGHT:46: documentation and/or other materials provided with the distribution. /COPYRIGHT:76:Standard Portable Operating System Interface for Computer Environments /COPYRIGHT:91:The views and conclusions contained in the software and documentation are /COPYRIGHT:112:Specifically, the provision reads: Binary file /boot matches Binary file /etc matches Binary file /moused.core matches Binary file /rescue matches Binary file /root matches Binary file /sbin matches |
#grep -n vi /*
/COPYRIGHT:10:modification, are permitted provided that the following conditions /COPYRIGHT:16: documentation and/or other materials provided with the distribution. /COPYRIGHT:40:modification, are permitted provided that the following conditions /COPYRIGHT:46: documentation and/or other materials provided with the distribution. /COPYRIGHT:76:Standard Portable Operating System Interface for Computer Environments /COPYRIGHT:91:The views and conclusions contained in the software and documentation are /COPYRIGHT:112:Specifically, the provision reads: Binary file /boot matches Binary file /etc matches Binary file /moused.core matches Binary file /rescue matches Binary file /root matches Binary file /sbin matches |
#grep -l vim /*
![]() /root |
#grep -l vim /*
![]() /root |
#grep -l vim /*
![]() /root |
#grep -l vim /*
![]() /root |
#grep -l vim /*
![]() /root |
#grep -l vim /*
![]() /root |
#grep -l vim /*
![]() /root |
#grep -l vim /*
![]() /root |
#grep -l vim /*
![]() /root |
#grep -l vim /*
![]() /root |
#grep -l vim /*
/root |
#find /usr/share/doc -name \*.txt -exec grep -l `GNU grep` {}
![]() /tmp/test/doc-txt bash: GNU: ËÏÍÁÎÄÁ ÎÅ ÎÁÊÄÅÎÁ find: -exec: no terminating ";" or "+" |
#find /usr/share/doc -name \*.txt -exec grep -l `GNU grep` {}
![]() /tmp/test/doc-txt bash: GNU: ËÏÍÁÎÄÁ ÎÅ ÎÁÊÄÅÎÁ find: -exec: no terminating ";" or "+" |
#find /usr/share/doc -name \*.txt -exec grep -l `GNU grep` {}
![]() /tmp/test/doc-txt bash: GNU: ËÏÍÁÎÄÁ ÎÅ ÎÁÊÄÅÎÁ find: -exec: no terminating ";" or "+" |
#find /usr/share/doc -name \*.txt -exec grep -l `GNU grep` {}
![]() /tmp/test/doc-txt bash: GNU: ËÏÍÁÎÄÁ ÎÅ ÎÁÊÄÅÎÁ find: -exec: no terminating ";" or "+" |
#find /usr/share/doc -name \*.txt -exec grep -l `GNU grep` {}
![]() /tmp/test/doc-txt bash: GNU: ËÏÍÁÎÄÁ ÎÅ ÎÁÊÄÅÎÁ find: -exec: no terminating ";" or "+" |
#find /usr/share/doc -name \*.txt -exec grep -l `GNU grep` {}
![]() /tmp/test/doc-txt bash: GNU: ËÏÍÁÎÄÁ ÎÅ ÎÁÊÄÅÎÁ find: -exec: no terminating ";" or "+" |
#find /usr/share/doc -name \*.txt -exec grep -l `GNU grep` {}
![]() /tmp/test/doc-txt bash: GNU: ËÏÍÁÎÄÁ ÎÅ ÎÁÊÄÅÎÁ find: -exec: no terminating ";" or "+" |
#find /usr/share/doc -name \*.txt -exec grep -l `GNU grep` {}
![]() /tmp/test/doc-txt bash: GNU: ËÏÍÁÎÄÁ ÎÅ ÎÁÊÄÅÎÁ find: -exec: no terminating ";" or "+" |
#find /usr/share/doc -name \*.txt -exec grep -l `GNU grep` {}
![]() /tmp/test/doc-txt bash: GNU: ËÏÍÁÎÄÁ ÎÅ ÎÁÊÄÅÎÁ find: -exec: no terminating ";" or "+" |
#find /usr/share/doc -name \*.txt -exec grep -l `GNU grep` {}
![]() /tmp/test/doc-txt bash: GNU: ËÏÍÁÎÄÁ ÎÅ ÎÁÊÄÅÎÁ find: -exec: no terminating ";" or "+" |
#find /usr/share/doc -name \*.txt -exec grep -l `GNU grep` {}
![]() /tmp/test/doc-txt bash: GNU: ËÏÍÁÎÄÁ ÎÅ ÎÁÊÄÅÎÁ find: -exec: no terminating ";" or "+" |
#find /usr/share/doc -name \*.txt -exec grep -l `GNU grep` {}
![]() /tmp/test/doc-txt bash: GNU: ËÏÍÁÎÄÁ ÎÅ ÎÁÊÄÅÎÁ find: -exec: no terminating ";" or "+" |
#find /usr/share/doc -name \*.txt -exec grep -l `GNU grep` {}
![]() /tmp/test/doc-txt bash: GNU: ËÏÍÁÎÄÁ ÎÅ ÎÁÊÄÅÎÁ find: -exec: no terminating ";" or "+" |
#find /usr/share/doc -name \*.txt -exec grep -l `GNU grep` {}
![]() /tmp/test/doc-txt bash: GNU: ËÏÍÁÎÄÁ ÎÅ ÎÁÊÄÅÎÁ find: -exec: no terminating ";" or "+" |
#find /usr/share/doc -name \*.txt -exec grep -l `GNU grep` {}
![]() /tmp/test/doc-txt bash: GNU: ËÏÍÁÎÄÁ ÎÅ ÎÁÊÄÅÎÁ find: -exec: no terminating ";" or "+" |
#find /usr/share/doc -name \*.txt -exec grep -l `GNU grep` {}
![]() |
#find /usr/share/doc -name \*.txt -exec grep -l `GNU grep` {}
![]() |
#find /usr/share/doc -name \*.txt -exec grep -l `GNU grep` {}
![]() |
#find /usr/share/doc -name \*.txt -exec grep -l `GNU grep` {}
![]() |
#find /usr/share/doc -name \*.txt -exec grep -l `GNU grep` {}
![]() |
#find /usr/share/doc -name \*.txt -exec grep -l `GNU grep` {}
![]() |
#find /usr/share/doc -name \*.txt -exec grep -l `GNU grep` {}
![]() |
#find /usr/share/doc -name \*.txt -exec grep -l `GNU grep` {}
![]() |
#find /usr/share/doc -name \*.txt -exec grep -l `GNU grep` {}
![]() |
#find /usr/share/doc -name \*.txt -exec grep -l `GNU grep` {}
![]() |
#find /usr/share/doc -name \*.txt -exec grep -l `GNU grep` {}
![]() |
#find /usr/share/doc -name \*.txt -exec grep -l `GNU grep` {}
![]() |
#find /usr/share/doc -name \*.txt -exec grep -l `GNU grep` {}
![]() |
#find /usr/share/doc -name \*.txt -exec grep -l `GNU grep` {}
![]() |
#find /usr/share/doc -name \*.txt -exec grep -l `GNU grep` {}
![]() |
#find /usr/share/doc -name \*.txt -exec grep -l `GNU grep` {} /t
![]() |
#find /usr/share/doc -name \*.txt -exec grep -l `GNU grep` {} /
![]() |
#find /usr/share/doc -name \*.txt -exec grep -l `GNU grep` {} /t
![]() |
#find /usr/share/doc -name \*.txt -exec grep -l `GNU grep` {} /t
![]() |
#find /usr/share/doc -name \*.txt -exec grep -l `GNU grep` {} /
![]() |
#find /usr/share/doc -name \*.txt -exec grep -l `GNU grep` {} /t
![]() |
#find /usr/share/doc -name \*.txt -exec grep -l `GNU grep` {} /t
![]() |
#find /usr/share/doc -name \*.txt -exec grep -l `GNU grep` {} /
![]() |
#find /usr/share/doc -name \*.txt -exec grep -l `GNU grep` {} /t
![]() |
#find /usr/share/doc -name \*.txt -exec grep -l `GNU grep` {} /t
![]() |
#find /usr/share/doc -name \*.txt -exec grep -l `GNU grep` {} /
![]() |
#find /usr/share/doc -name \*.txt -exec grep -l `GNU grep` {} /t
![]() |
#find /usr/share/doc -name \*.txt -exec grep -l `GNU grep` {} /t
![]() |
#find /usr/share/doc -name \*.txt -exec grep -l `GNU grep` {} /
![]() |
#find /usr/share/doc -name \*.txt -exec grep -l `GNU grep` {} /t
![]() |
#find /usr/share/doc -name \*.txt -exec grep -l `GNU grep` {} /t
![]() |
#find /usr/share/doc -name \*.txt -exec grep -l `GNU grep` {} /
![]() |
#find /usr/share/doc -name \*.txt -exec grep -l `GNU grep` {} /t
![]() |
#find /usr/share/doc -name \*.txt -exec grep -l `GNU grep` {} /t
![]() |
#find /usr/share/doc -name \*.txt -exec grep -l `GNU grep` {} /
![]() |
#find /usr/share/doc -name \*.txt -exec grep -l `GNU grep` {} /t
![]() |
#find /usr/share/doc -name \*.txt -exec grep -l `GNU grep` {} /t
![]() |
#find /usr/share/doc -name \*.txt -exec grep -l `GNU grep` {} /
![]() |
#find /usr/share/doc -name \*.txt -exec grep -l `GNU grep` {} /t
![]() |
#find /usr/share/doc -name \*.txt -exec grep -l `GNU grep` {} /t
![]() |
#find /usr/share/doc -name \*.txt -exec grep -l `GNU grep` {} /
![]() |
#find /usr/share/doc -name \*.txt -exec grep -l `GNU grep` {} /d
![]() ev/null \ > |
#find /usr/share/doc -name \*.txt -exec grep -l `GNU grep` {} /d
![]() ev/null \ > |
#find /usr/share/doc -name \*.txt -exec grep -l `GNU grep` {} /d
![]() ev/null \ > |
#find /usr/share/doc -name \*.txt -exec grep -l `GNU grep` {} /d
![]() ev/null \ > |
#find /usr/share/doc -name \*.txt -exec grep -l `GNU grep` {} /d
![]() ev/null \ > |
#find /usr/share/doc -name \*.txt -exec grep -l `GNU grep` {} /d
![]() ev/null \ > |
#find /usr/share/doc -name \*.txt -exec grep -l `GNU grep` {} /d
![]() ev/null \ > |
#find /usr/share/doc -name \*.txt -exec grep -l `GNU grep` {} /d
![]() ev/null \ > |
#find /usr/share/doc -name \*.txt -exec grep -l `GNU grep` {} /d
![]() ev/null \ > |
#find /usr/share/doc -name \*.txt -exec grep -l `GNU grep` {} /d
![]() ev/null \ > |
#find /usr/share/doc -name \*.txt -exec grep -l `GNU grep` {} /d
![]() ev/null \ > |
#find /usr/share/doc -name \*.txt -exec grep -l `GNU grep` {} /d
![]() ev/null \; bash: GNU: ËÏÍÁÎÄÁ ÎÅ ÎÁÊÄÅÎÁ |
#find /usr/share/doc -name \*.txt -exec grep -l `GNU grep` {} /d
![]() ev/null \; bash: GNU: ËÏÍÁÎÄÁ ÎÅ ÎÁÊÄÅÎÁ |
#find /usr/share/doc -name \*.txt -exec grep -l `GNU grep` {} /d
![]() ev/null \; bash: GNU: ËÏÍÁÎÄÁ ÎÅ ÎÁÊÄÅÎÁ |
#find /usr/share/doc -name \*.txt -exec grep -l `GNU grep` {} /d
![]() ev/null \; bash: GNU: ËÏÍÁÎÄÁ ÎÅ ÎÁÊÄÅÎÁ |
#find /usr/share/doc -name \*.txt -exec grep -l `GNU grep` {} /d
ev/null \; bash: GNU: ËÏÍÁÎÄÁ ÎÅ ÎÁÊÄÅÎÁ |
Время первой команды журнала | 20:13:49 2009- 7- 3 | ||||||
Время последней команды журнала | 20:20:04 2009- 7- 3 | ||||||
Количество командных строк в журнале | 101 | ||||||
Процент команд с ненулевым кодом завершения, % | 40.59 | ||||||
Процент синтаксически неверно набранных команд, % | 0.00 | ||||||
Суммарное время работы с терминалом *, час | 0.10 | ||||||
Количество командных строк в единицу времени, команда/мин | 16.16 | ||||||
Частота использования команд |
|
В журнал автоматически попадают все команды, данные в любом терминале системы.
Для того чтобы убедиться, что журнал на текущем терминале ведётся, и команды записываются, дайте команду 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 они отображаются не полностью, а вместо перевода строки выводится специальный символ.
Время ввода команды, показанное в журнале, соответствует времени начала ввода командной строки, которое равно тому моменту, когда на терминале появилось приглашение интерпретатора
Имя терминала, на котором была введена команда, показано в специальном блоке. Этот блок показывается только в том случае, если терминал текущей