ÐÑойки ÐÑÐ°Ð²Ð°Ñ Ð¿Ð°Ð½ÐµÐ»Ñ \
â<â /etc c âââââââââv>ââ<â /etc/apache2/sites-available ââââv>v>ââ<â /etc/apache2/sites-available ââââv>â
â ÐÐ¼Ñ âÐ Ð°Ð·Ð¼ÐµÑ âÐÑÐµÐ¼Ñ Ð¿Ñавки ââ ÐÐ¼Ñ âÐ Ð°Ð·Ð¼ÐµÑ âÐÑÐµÐ¼Ñ Ð¿Ñавки â
â/exim4 â 4096âÐÑ7 16:0416:00 â´â/.. â-ÐÐÐРХ-â â´
â/firebird â 4096âÐ9 15:4600:35 ult â 2064âÐÑн 11 10:47 н 11 10:47 â
â/fonts â 4096âÐ7 16:047â:04 4 ââ default-ssl â 7366âÐÐ°Ñ 28 23:56 â
â/foomatic â 409ÐÑн 7 16:04:04 4 ââ â â â
â/freetds â 4096âÐÑн 9 15:46 6 ââ â â â
â/gconf â 4096âÐÑн 9 11:33 3 ââ â â â
â/gdm â 4096âÐÑн 7 16:05 5 ââ â â â
â/ggi â 4096âÐÑн 9 12:24 4 ââ â â â
ââââââââââââââââââââââââââââââââââââââââ¾ââââââââââââââââââââââââââââââââââââââââ¾
âggi ââ default â
ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
СовеÑ: ÐÑ Ñ
оÑиÑе навигаÑÐ¸Ñ Ð² ÑÑиле lynx? УÑÑановиÑе ÑÑо в диалоге ÐонÑигÑÑаÑиÑ.
adm:/etc# [^]
1ÐомоÑÑ 2ÐÐµÐ½Ñ 3ÐÑоÑмоÑ4ÐÑавка 5ÐÐ¾Ð¿Ð¸Ñ 6ÐеÑемеÑ7ÐвÐÑлог8УдалиÑÑ9ÐенÑMC 10ÐÑÑ
од
sub collapse_list($);ity; 92 4
init_filter();
# ^^^
mywi_init();
sub minutes_passed
load_command_lines_from_xml($Config{"backend_datafile"});
sub process_command_lines;
load_uploads($Config{"upload_dir"});
if (print_edit_all_html($Config{"output"});ion} eq "edit") {
load_sessions_from_xml($Config{"backend_datafile"});
sub print_edit_all_html;
sort_command_lines;
sub print_command_lines_html;СколÑко Ñаз в жÑÑнале вÑÑÑеÑаеÑÑÑ ÐºÐ°ÐºÐ°Ñ ÐºÐ¾Ð¼Ð°Ð½Ð´Ð°
sub mywi_init;
sub print_command_lines_txt;
sub load_mywitxt;
sub print_files_html;
sub mywi_process_query($);
sub print_stat_html;
#
sub print_header_html; # ÐÑÑ Ð´Ð»Ñ Ñкономии обÑаÑений к mywi
sub add_to_log($$);
sub print_header2_html;
sub parse_query;
sub count_frequency_of_commands;
sub search_in_txt;
sub make_comment;
sub add_to_log($$);
sub make_new_entries_table;
sub mywi_guess($);
sub load_command_lines_from_xml;
#
sub lo 2ÐеÐеÑен3ÐÑÑ
од 4Hex 5СÑÑока 6RxÐоиÑк7ÐоиÑк 8Ðак еÑÑ9ÐеФоÑма
main$| = 1;
init_variables();
init_config();
$Config{frontend_ico_path}=$Config{frontend_css};
$Config{frontend_ico_path}=~s@/[^/]*$@@;
} 138 ÐозиÑÐ¸Ñ 4 5
push(@command_lines, split(/\|/, $command_list));
}
mywi_init();
my %position_of_command;
my %position_of_arg;
my $i=0;
for my $command_line (@command_lines) {ckend_datafile"});
} $command_line =~ s@^\s*@@;
$command_line =~ /\s*(\S+)\s*(.*)/;
if (if ($1 && $1 eq "sudo" ) {
oad_ses$position_of_command{"$1"}=$i++;datafile"});
$command_line =~ s/\s*sudo\s+//;
sort}
if ($command_line !~ m@^\s*\S*/etc/@) {
}rin$command_line =~ s@^\s*\S+/@@;
init_filter
{ my $command = $1;
my $args = $2;
if (if ($command && !defined $position_of_command{"$command"}) {
$position_of_command{"$command"}=$i++;
};
if ($args) {
}or my @args = split (/\s+/, $args);
for my $a (@args) {
}
$posif !defined $position_of_arg{"$a"};
extract_from_clinein (";;", map("$_::$filter{$_}", keys %filter));
} };
}
# In: $what = commands | args
return \%position_of_command;
# РазобÑаÑÑ ÐºÐ¾Ð¼Ð°Ð½Ð´Ð½ÑÑ ÑÑÑÐ¾ÐºÑ $_[1] и возвÑаÑиÑÑ Ñ
ÑÑ, ÑодеÑжаÑий
} else {
# Ð½Ð¾Ð¼ÐµÑ Ð¿ÐµÑвого поÑвление ÐºÐ¾Ð¼Ð°Ð½Ð´Ñ Ð² ÑÑÑоке:
return \%position_of_arg;
# команда => пеÑÐ²Ð°Ñ Ð¿Ð¾Ð·Ð¸ÑиÑ
}
sub my $cline = $_[1];
my @lists = split /\;/, $cline;
{
my @command_lines = ();
for my $command_list (@lists) {
for $command ($data =~ m@<command>(.*?)</command>@sg) {
my %cl;
} while ($command =~ m@<([^>]*?)>(.*?)</\1>@sg) {
$cl{$1} = $2;
}
push @Command_Lines, \%cl;
=cut}
}
next;
sub load_sessions_from_xml
my $datafile = $_[0];
{
open (CLASS, $datafile)
or die "Can't open file with xml lablog ",$datafile,"\n";
binmode CLASS, ":utf8";
my $data = <CLASS>;
close(CLASS);
my $i=0;
for my $session ($data =~ m@<session>(.*?)</session>@msg) {
my %session_hash;
while ($session =~ m@<([^>]*?)>(.*?)</\1>@sg) {
$session_hash{$1} = $2;
}
$Sessions{$session_hash{local_session_id}} = \%session_hash;
}
local $/;
}
$tigra_hints_items
};
var myHint = new THints (HINTS_CFG, HINTS_ITEMS);
if ($note_operator eq "=") {
$$cl->{"class"} = "note";
$$cl->{"note"} = $note_text;
}
else {
my $j=$i;
if ($note_operator eq "^") {
$j--;
$j-- while ($j >=0 && (!$Command_Lines[$j] || $Command_Lines[$j]->{tty} ne $$cl->{tty}));
}
elsif ($note_operator eq "v") {
$$cl->{"note"} = $$cl->{"output"};
$j++;
}
$j++ while ($j <= @Command_Lines && $Command_Lines[$j]->{tty} ne $$cl->{tty} || !$Command_Lines[$j]);
my $j = $i;
}
$Command_Lines[$j]->{note}.="$note_text\n";
$$cl=0;
}
}
if ($$cl->{"class"} eq "note") {
my $note_html = $$cl->{note};
_html"} = $note_html;
}
}
$note_html =~ s@(www\.[a-zA-Z.0-9/?\_%-]*)@<a href='$1'>$1</a>@g;
$note =~ s/\n/<br\/>63/msg; 4
#############
minutes_passed
sub make_new
{ my $entries_class = shift;
# my @known_commands = @{$_[0]};
my $result = "";
##
my %count;
# my @new_commands = ();
# DIfor my $c (keys %frequency_of_command, @known_commands) {
$count{$c}++
SH}
# COfor my $c (keys %frequency_of_command) {
push @new_commands, $c if $count{$c} != 2;ds));
}
my $new_commands_section;
if (@new_commands){_time = strftime "%D", localtime($prev_unix_time);}{$t});
# Ðобmy $hint;
for my $c (reverse sort { $frequency_of_command{$a} <=> $frequency_of_command{$b} } @new_commands) {
$hint = make_comment($c);
next unless $hint;
my ($command, $hint) = $hint =~ m/(.*?) \s*- \s*(.*)/;
next unless $command =~ s/\($entries_class\)//i;
$thi$new_commands_section .= "<tr><td valign='top'>$command</td><td>$hint</td></tr>";
}
}
if ($new_commands_section) {
my %$result .= "<table class='new_commands_table' width='700' cellspacing='0' cellpadding='0'>"
# ÐÑе . "<tr class='new_commands_caption'>"
# Ð . "<td colspan='2' align='right'>$table_caption</td>"
# . "</tr>"
# п . "<tr class='new_commands_header'>"/wrong/;
# $this_da. "<td width=100>Ðоманда</td><td width=600>ÐпиÑание</td>"n"
. $new_commands_section
}############
. "</table>"
}
return $result;Config{"show_screenshots"} =~ /^y/i && $cl->{"screenshot"});
}
COMMAND_LINE:
binmode ":utf8";t open $o83put_filename for writing\n"; 6
# Out:
close(OUT);
sub print_all_html
my $output_filename=$_[0];
{
} my $result;
#
my $files_sections,$toc) = print_files_html;es_html;
# ÐÑвеÑÑи ÑÑÑаниÑÑ Ñ ÑекÑÑовÑм пÑедÑÑавлением жÑÑнала Ð´Ð»Ñ ÑедакÑиÑованиÑ
$result = $debug_output;
sub print_all_txtnt_command_lines_txt;
$result .= print_header_html($toc);
{
$result = print_command_lines_txt;
# Ð if (
$result =~ s/>/>/g;
$result =~ s/</</g;
$result =~ s/&/&/g;
if ($output_filename eq "-") {
print $result;
}
else {
open(OUT, ">:utf8", $output_filename)
print OUT "$result";
if (close(OUT);
}
or (s."</form>"Config{filter}) {
}
# ."</body>"
#############
# print_all_html
# TIME print $result;
# }
my @nl_counter = split (/\n/, $result);
#
#
# In: $_[0] output_filename
$cursor_position=length($result) - @nl_counter;
if ($Config{"command_id"}) {602 72
}
return $res;
$command_html = "<span class='without_hint'>$command_html</span>" if not $hint;
}
}
sub print_files_html
my $result = qq();
{ my @toc;
for my $file (sort keys %Files) {
my $div_id = "file:$file";
$div_id =~ s@/@_@g;
push @toc, "<a href='#$div_id'>$file</a>";
$result .= "<div class='filename' id='$div_id'>".$file."</div>\n"
. "<div class='file_navigation'><a href='#command:".$Files{$file}->{source_command_id}."'>".">"."</a></div>"
resul. "<div class='filedata'><pre>".$Files{$file}->{content}."</pre></div>";
}
if ($result) {
return "<div class='files_toc'>".collapse_list(\@toc)."</div>".$result;
}
else {
return "";
}
next unless $Stat{"$stat"};
}
$result = "<table>$result</table>"
sub init_variables
e='Ð . ($Config{stat_inactivity_interval}/60)
{ ÐÐ»Ñ Ñого ÑÑÐ¾Ð±Ñ Ð¸ÑполÑзоваÑÑ LiLaLo, не нÑжно знаÑÑ Ð½Ð¸Ñего оÑобенного:
вÑÑ Ð¿ÑоиÑÑ
Ð¾Ð´Ð¸Ñ Ñамо Ñобой.
$HtmÐднако, ÑÑÐ¾Ð±Ñ Ð²ÐµÐ´ÐµÐ½Ð¸Ðµ и поÑледÑÑÑее иÑполÑзование жÑÑналов
$Stat{MistypesPercentage} = sprintf "%5.2f", $Stat{MistypedCommands}*100/$Stat{TotalCommands};
<ol>ло как можно более ÑÑÑекÑивнÑм, желаÑелÑно имеÑÑ Ð² Ð²Ð¸Ð´Ñ ÑледÑÑÑее:
<li><p>
<td>
РжÑÑнал авÑомаÑиÑеÑки попадаÑÑ Ð²Ñе командÑ, даннÑе в лÑбом ÑеÑминале ÑиÑÑемÑ.
my $res = "";
{ for my $elem (@{$_[0]}) {
if (ref $elem eq "ARRAY") {
$res .= "<ul>".collapse_list($elem)."</ul>";
.r {}
else
{
Ou $res .= "<li>".$elem."</li>";
}
# Ðна ÑлиÑком ÑилÑно меÑаеÑ, нÑжно ÑÑо-Ñо пеÑеделаÑÑ
$control_form = "";^ -->
HEADER
Ðногие ÐºÐ¾Ð¼Ð°Ð½Ð´Ñ 736полÑзÑÑÑ ÐºÐ¾Ð´ завеÑÑениÑ, напÑимеÑ, Ð´Ð»Ñ Ñого ÑÑÐ¾Ð±Ñ Ð¿Ð¾ÐºÐ°Ð·Ð°Ñ80 ÑезÑлÑÑаÑÑ Ð¿ÑовеÑки
каÑеÑÑве ÐµÑ Ð°ÑгÑменÑа Ñайл, к коÑоÑÐ¾Ð¼Ñ Ð¿ÑименÑÑÑÑÑ Ð¸Ð·Ð¼ÐµÐ½ÐµÐ½Ð¸Ñ,
и вÑавиÑÑ ÑкопиÑованнÑй ÑекÑÑ:
<table>
<tr class='command'>
<td class='script'>
ÐзменениÑ, внеÑÑннÑе в ÑекÑÑовÑй Ñайл Ñ Ð¿Ð¾Ð¼Ð¾ÑÑÑ ÑедакÑоÑа,
<pre class='cline'>
\$ patch ~/.bashrc</pre>
Рданном ÑлÑÑае Ð¸Ð·Ð¼ÐµÐ½ÐµÐ½Ð¸Ñ Ð¿ÑименÑÑÑÑÑ Ðº ÑÐ°Ð¹Ð»Ñ ~/.bashrc
</p></li>
<li><p>
ÐÐ»Ñ Ñого ÑÑÐ¾Ð±Ñ Ð¿Ð¾Ð»ÑÑиÑÑ ÐºÑаÑкÑÑ ÑпÑавоÑнÑÑ Ð¸Ð½ÑоÑмаÑÐ¸Ñ Ð¾ команде,
нÑжно подвеÑÑи к ней мÑÑÑ. Ðо вÑплÑваÑÑей подÑказке поÑвиÑÑÑ ÐºÑаÑкое
запоминаÑÑÑÑ Ð¸ показÑваÑÑÑÑ Ð² жÑÑнале в ÑоÑмаÑе ed.
<pre class='_root_output'>
<table><tr><td width='5'/><td class='diff'><pre>2a3,5
</td>
ÐÐ»Ñ Ñого ÑÑÐ¾Ð±Ñ Ð¸Ð·Ð¼ÐµÐ½Ð¸ÑÑ Ñайл в ÑооÑвеÑÑÑвии Ñ Ð¿Ð¾ÐºÐ°Ð·Ð°Ð½Ð½Ñми в диÑÑÑоÑе
изменениÑми, можно воÑполÑзоваÑÑÑÑ ÐºÐ¾Ð¼Ð°Ð½Ð´Ð¾Ð¹ patch.
ÐÑжно ÑкопиÑоваÑÑ Ð¸Ð·Ð¼ÐµÐ½ÐµÐ½Ð¸Ñ, запÑÑÑиÑÑ Ð¿ÑогÑÐ°Ð¼Ð¼Ñ patch, Ñказав в
822 5
</pre>
<pre class='output'>
ÐÑогÑамма whoami вÑÐ²Ð¾Ð´Ð¸Ñ Ð¸Ð¼Ñ Ð¿Ð¾Ð»ÑзоваÑелÑ, под коÑоÑÑм
Ð¼Ñ Ð·Ð°ÑегиÑÑÑиÑовалиÑÑ Ð² ÑиÑÑеме.
- РжÑÑнале ÑÑо бÑÐ´ÐµÑ Ð²ÑглÑдеÑÑ Ñак:
<table>
<tr class='command'>
</pre>
<td class='script'>
<pre class='output'>user
<tr> <td> ÐнÑеÑеÑно, кÑо Ñ?<br/> </td></tr></table>
</p></li>
<table class='note'><tr><td class='note_title'>ÐнÑеÑеÑно, кÑо Ñ?</td></tr><tr><td width='100%' class='note_text'>
<li><p>
ÐÑогÑамма whoami вÑÐ²Ð¾Ð´Ð¸Ñ Ð¸Ð¼Ñ Ð¿Ð¾Ð»ÑзоваÑелÑ, под коÑоÑÑм<br/>
ÐÑли комменÑаÑий ÑодеÑÐ¶Ð¸Ñ Ð½ÐµÑколÑко ÑÑÑок,
Ð/td>
его можно вÑÑавиÑÑ Ð² жÑÑнал ÑледÑÑÑим обÑазом:
</table>
<pre class='cline'>
ÐÐ»Ñ ÑÐ°Ð·Ð´ÐµÐ»ÐµÐ½Ð¸Ñ Ð½ÐµÑколÑкиÑ
абзаÑев Ð¼ÐµÐ¶Ð´Ñ Ñобой¸Ð¸<br/>
\$ whoami
/p></li>
</pre>
ÐомменÑаÑии, не оÑноÑÑÑиеÑÑ Ð½ÐµÐ¿Ð¾ÑÑедÑÑвенно ни к какой из команд,
<preдобавлÑÑÑÑÑ ÑоÑно Ñаким же ÑпоÑобом, ÑолÑко вмеÑÑо Ñимолов #^ или #v
нÑжно иÑполÑзоваÑÑ ÑÐ¸Ð¼Ð²Ð¾Ð»Ñ #=
user</p></li>
<p><li>'cline'>
СодеÑжимое Ñайла Ð¼Ð¾Ð¶ÐµÑ Ð±ÑÑÑ Ð¿Ð¾ÐºÐ°Ð·Ð°Ð½Ð¾ в жÑÑнале.
ÐÐ»Ñ ÑÑого его нÑжно вÑвеÑÑи Ñ Ð¿Ð¾Ð¼Ð¾ÑÑÑ Ð¿ÑогÑÐ°Ð¼Ð¼Ñ cat.
ÐÑли вÑвод ÐºÐ¾Ð¼Ð°Ð½Ð´Ñ Ð¾ÑмеÑиÑÑ Ñимоволами #!,
ÐÑогÑамма whoami вÑÐ²Ð¾Ð´Ð¸Ñ Ð¸Ð¼Ñ Ð¿Ð¾Ð»ÑзоваÑелÑ, под коÑоÑÑм
ÐÐ¼Ñ ÑеÑминала, на коÑоÑом бÑла введена команда, показано в ÑпеÑиалÑном блоке.
oInput.focus(); 2001 3
@Of_Month_Name = qw/ ЯнваÑÑ Ð¤ÐµÐ²ÑÐ°Ð»Ñ ÐаÑÑа ÐпÑÐµÐ»Ñ ÐÐ°Ñ ÐÑÐ½Ñ ÐÑÐ»Ñ ÐвгÑÑÑа СенÑÑбÑÑ ÐкÑÑбÑÑ ÐоÑбÑÑ ÐекабÑÑ /;
oInput.setSelectionRange(oStart,oEnd);
} else if( oInput.createTextRange ) {mentsByTagName('pre');
var range = oInput.createTextRange();
range.collapse(true);
range.moveEnd('character',oEnd);
range.moveStart('character',oStart);
range.select();
}
}
JS
%Search_"google" => { "query" => "http://www.google.com/search?q=" ,
"icon" => "$Config{frontend_google_ico}" },
"freebsd" => { "query" => "http://www.freebsd.org/cgi/man.cgi?query=",
"icon" => "$Config{frontend_freebsd_ico}" },
"linux" => { "query" => "http://man.he.net/?topic=",
"icon" => "$Config{frontend_linux_ico}"},
"opennet" => { "query" => "http://www.opennet.ru/search.shtml?words=",
"icon" => "$Config{frontend_opennet_ico}"},
"local" => { "query" => "http://www.freebsd.org/cgi/man.cgi?query=",
"icon" => "$Config{frontend_local_ico}" },
);
%Element"0 new_commands_table" => "новÑе командÑ",
"1 diff"} => "ÑедакÑоÑ",
"2 time" => "вÑемÑ",
"3 ttychange" => "ÑеÑминал",
"4 wrong_output wrong_cline wrong_root_output wrong_root_cline"
} => "ÐºÐ¾Ð¼Ð°Ð½Ð´Ñ Ñ Ð½ÐµÐ½ÑлевÑм кодом завеÑÑениÑ",
"5 mistyped_output mistyped_cline mistyped_root_output mistyped_root_cline"
} => "невеÑно набÑаннÑе командÑ",
"6 interrupted_output interrupted_cline interrupted_root_output interrupted_root_cline"
=> "пÑеÑваннÑе командÑ",
"7 tab_completion_output tab_completion_cline"
} => "пÑодолжение Ñ Ð¿Ð¾Ð¼Ð¾ÑÑÑ tab"
);
@Day_Name = qw/ ÐоÑкÑеÑенÑе ÐонеделÑник ÐÑоÑник СÑеда ЧеÑвеÑг ÐÑÑниÑа СÑббоÑа /;
@Month_Name = qw/ ЯнваÑÑ Ð¤ÐµÐ²ÑÐ°Ð»Ñ ÐаÑÑ ÐпÑÐµÐ»Ñ Ðай ÐÑÐ½Ñ ÐÑÐ»Ñ ÐвгÑÑÑ Ð¡ÐµÐ½ÑÑбÑÑ ÐкÑÑбÑÑ ÐоÑбÑÑ ÐекабÑÑ /;
@Of_Month_Name = qw/ ЯнваÑÑ Ð¤ÐµÐ²ÑÐ°Ð»Ñ ÐаÑÑа ÐпÑÐµÐ»Ñ ÐÐ°Ñ ÐÑÐ½Ñ ÐÑÐ»Ñ ÐвгÑÑÑа СенÑÑбÑÑ ÐкÑÑбÑÑ ÐоÑбÑÑ ÐекабÑÑ /;
} 138 8
#
my $topic = $mywi_line;
{ my %Query = %{$_[0]};
my %MywiHASH = %{$_[2]};
}
my $topic = $Query{"topic"};
СделаÑÑ Ð¿Ð¾Ð´ÑÐºÐ°Ð·ÐºÑ Ð¿Ð¾ Ð·Ð°Ð´Ð°Ð½Ð½Ð¾Ð¼Ñ Ð·Ð°Ð¿ÑоÑÑ
my $result = "";uery{"section"};азки
sub mywi_process_query($)
# СÑÑока запÑоÑа:
return join("\n",@{$MywiHASH{"$topic"}})."\n";
for my $l (@{$_[1]}) {
parsmy $line = $l;, \%Query);
for my $l (@{$$_[2]{$topic}}) {
if (
# $_[0] - ÑÑÑока запÑоÑа
$result .= "<para>$line</para>";opic\E\s*\($section*\)\s*-/ )
# $_ }
} or (not $section and $line =~ /^\s*\Q$topic\E\s*(\([^)]*\)?)\s*-/) ) {
# return $result;
"for$line =~ s/^.* -//mg if ($Config{"short"});
}
###################################################################################
sub add_to_log($$)
###################################################################################
# $query_hash->{"format"} = $1 || "txt";
# ÐÑли в базе оÑÑÑÑÑÑвÑÐµÑ Ð¸Ð½ÑоÑмаÑÐ¸Ñ Ð¿Ð¾ данной Ñеме,
suÐагÑÑзиÑÑ Ñайл Ñ Ð·Ð°Ð¿Ð¸ÑÑми Mywi_TXT
# ÑделаÑÑ Ð¿Ñедположение доÑÑÑпнÑм ÑпоÑобом
# и добавиÑÑ ÐµÐ³Ð¾ в Ð±Ð°Ð·Ñ "";в Ð´Ð»Ñ Ð·Ð°Ð³ÑÑзки
# или пÑоÑÑо ÑделаÑÑ Ð¾ÑмеÑÐºÑ Ð¾ необÑ
одимоÑÑи
sub mywi_init
# ÑаÑÑиÑÐµÐ½Ð¸Ñ Ð±Ð°Ð·Ñ
{ my $MywiHASH = $_[2];
#
open (MW, "$MyWiFile") or die "Can't open $MyWiFile for reading";
# ÐобавиÑÑ Ð·Ð°Ð¿Ð¸ÑÑ Ð² жÑÑнал
@{$MywiTXT} = <MW>;
# $_[0] - запиÑÑ (ÑÑÑлка на Ñ
ÑÑ)
sub search_in_txt
#
# ÐÑполниÑÑ Ð¿Ð¾Ð¸Ñк в ÑекÑÑовой базе
# по извеÑÑÐ½Ð¾Ð¼Ñ Ð·Ð°Ð¿ÑоÑÑ
# $_[0] -- ÑÑÑлка на Ñ
ÑÑ Ð·Ð°Ð¿ÑоÑа
# $_[1] -- ÑÑÑлка на маÑÑив ÑекÑÑовÑÑ
запиÑей
# $_[2] -- ÑÑÑлка на Ñ
ÑÑ Ð¼Ð°ÑÑивов ÑекÑÑовÑÑ
запиÑей
# РезÑлÑÑаÑ:
# Ð½Ð°Ð¹Ð´ÐµÐ½Ð½Ð°Ñ ÑекÑÑÐ¾Ð²Ð°Ñ Ð·Ð°Ð¿Ð¸ÑÑ Ð² заданном ÑоÑмаÑе
# $_[1] - Ð¸Ð¼Ñ Ñайла-жÑ046½Ð°Ð»Ð° 95
# load_mywitxt($MyWiFile, \@MywiTXT, \%MywiHASH);
$topic =~ s@\s*\(.*\n@@;
}
my %Query = %{$_[0]};
sub mywi_process_query($)
my %MywiHASH = %{$_[2]};
#
# ÐозвÑаÑаеÑ:ÑÐºÐ°Ð·ÐºÑ Ð¿Ð¾ Ð·Ð°Ð´Ð°Ð½Ð½Ð¾Ð¼Ñ Ð·Ð°Ð¿ÑоÑÑ
ÑÑÑокÑ-подÑказкÑ
# $_
ÐлеменÑÑ format и topic ÑвлÑÑÑÑÑ Ð½Ðµ обÑзаÑелÑнÑми
{
#
# [format:]topic[(section)]
# $_[0] - ÑÑÑока запÑоÑаe =~ /^\s*\Q$topic\E\s*(\([^)]*\)?)\s*-/) ) {
clos $line =~ s/^.* -//mg if ($Config{"short"});
# $_my $query_string = shift;
} my $query_hash = shift;
#
%{$query_hash} = (
{
"section" => "",t",
"topic" => "",
);
if ($query_string =~ s/^([^:]*)://) {
$query_hash->{"format"} = $1 || "txt";оÑÑÑпнÑм ÑпоÑобом
}
if ($query_string =~ s/\(([^(]*)\)$//) {µÑÐºÑ Ð¾ необÑ
одимоÑÑи
$query_hash->{"section"} = $1 || "";
my $MyWiLog = $_[1];
}
open (MWF, ">>:utf8", $MyWiLog) or die "Can't open $MyWiLog for writing";
$query_hash->{"topic"} = $query_string;ал
print MWF "$my_guess\n";
}
sub search_in_txt
#
# ÐÑполниÑÑ Ð¿Ð¾Ð¸Ñк в ÑекÑÑовой базе
# по извеÑÑÐ½Ð¾Ð¼Ñ Ð·Ð°Ð¿ÑоÑÑ
# $_[0] -- ÑÑÑлка на Ñ
ÑÑ Ð·Ð°Ð¿ÑоÑа
# $_[1] -- ÑÑÑлка на маÑÑив ÑекÑÑовÑÑ
запиÑей
# $_[2] -- ÑÑÑлка на Ñ
ÑÑ Ð¼Ð°ÑÑивов ÑекÑÑовÑÑ
запиÑей
# РезÑлÑÑаÑ:
# Ð½Ð°Ð¹Ð´ÐµÐ½Ð½Ð°Ñ ÑекÑÑÐ¾Ð²Ð°Ñ Ð·Ð°Ð¿Ð¸ÑÑ Ð² заданном ÑоÑмаÑе
my $query = shift; 1868 87
ÐÐ»Ñ Ñого ÑÑÐ¾Ð±Ñ Ð²ÑÑавиÑÑ ÑкÑинÑÐ¾Ñ Ð¸Ð½ÑеÑеÑÑÑÑего Ð²Ð°Ñ Ð¾ÐºÐ½Ð° в жÑÑнал,
нÑжно воÑполÑзоваÑÑÑÑ ÐºÐ¾Ð¼Ð°Ð½Ð´Ð¾Ð¹ l3shot.
ÐоÑле Ñого как команда вÑзвана, нÑжно Ñ Ð¿Ð¾Ð¼Ð¾ÑÑÑ Ð¼ÑÑи вÑбÑаÑÑ Ð¾ÐºÐ½Ð¾, коÑоÑое
должно бÑÑÑ Ð² жÑÑнале.
</li>
</p>
<p>
<li>
ÐÐ¾Ð¼Ð°Ð½Ð´Ñ Ð² жÑÑнале ÑаÑÐ¿Ð¾Ð»Ð¾Ð¶ÐµÐ½Ñ Ð² Ñ
ÑонологиÑеÑком поÑÑдке.
ÐÑли две ÐºÐ¾Ð¼Ð°Ð½Ð´Ñ Ð´Ð°Ð²Ð°Ð»Ð¸ÑÑ Ð¾Ð´Ð½Ð° за дÑÑгой, но на ÑазнÑÑ
ÑеÑминалаÑ
,
в жÑÑнале они бÑдÑÑ ÑÑдом, даже еÑли они не имеÑÑ Ð´ÑÑг к дÑÑÐ³Ñ Ð½Ð¸ÐºÐ°ÐºÐ¾Ð³Ð¾ оÑноÑениÑ.
<pre>
1
2
3
4
</pre>
ÐÑÑÐ¿Ð¿Ñ ÐºÐ¾Ð¼Ð°Ð½Ð´, вÑполненнÑÑ
на ÑазнÑÑ
ÑеÑминалаÑ
, ÑазделÑÑÑÑÑ ÑпеÑиалÑной линией.
Ðод ÑÑой линией в пÑавом ÑÐ³Ð»Ñ Ð¿Ð¾ÐºÐ°Ð·Ð°Ð½Ð¾ Ð¸Ð¼Ñ ÑеÑминала, на коÑоÑом вÑполнÑлиÑÑ ÐºÐ¾Ð¼Ð°Ð½Ð´Ñ.
ÐÐ»Ñ Ñого ÑÑÐ¾Ð±Ñ Ð¿Ð¾ÑмоÑÑеÑÑ ÐºÐ¾Ð¼Ð°Ð½Ð´Ñ ÑолÑко одного ÑенÑа,
нÑжно ÑÑкнÑÑÑ Ð¿Ð¾ ÑÑÐ¾Ð¼Ñ Ð½Ð°Ð·Ð²Ð°Ð½Ð¸Ñ.
Result.push(All_Elements[i]);
</li>
$SetCursorPosition_JS = <<JS;
my $MywiHASH = $_[2];
open (MW, "$MyWiFile") or die "Can't open $MyWiFile for reading";
binmode MW, ":utf8";
@{$MywiTXT} = <MW>;
close (MWF);
36 0
каÑеÑÑве ÐµÑ Ð°ÑгÑменÑа Ñайл, к коÑоÑÐ¾Ð¼Ñ Ð¿ÑименÑÑÑÑÑ Ð¸Ð·Ð¼ÐµÐ½ÐµÐ½Ð¸Ñ,
Ð¡Ð¸Ð¼Ð²Ð¾Ð»Ñ ^ и v показÑваÑÑ Ð½Ð°Ð¿Ñавление вÑбоÑа командÑ, к коÑоÑой оÑноÑиÑÑÑ ÐºÐ¾Ð¼Ð¼ÐµÐ½ÑаÑий:
^ - к пÑедÑдÑÑей, v - к ÑледÑÑÑей.
ÐÑогÑамма whoami вÑÐ²Ð¾Ð´Ð¸Ñ Ð¸Ð¼Ñ Ð¿Ð¾Ð»ÑзоваÑелÑ, под коÑоÑÑм
<br/> 47 4
вÑводÑÑÑÑ Ð¿ÐµÑеÑÑÑкнÑÑÑм ÑекÑÑом:
<table>
<tr class='command'>
<td class='script'>
<pre class='_mistyped_cline'>
\$ l s-l</pre>
<pre class='_mistyped_output'>bash: l: command not found
</pre>
</td>
</tr>
</table>
<br/>
</tr>
</p></li>
</table>
<li><p>
ÐÑли код завеÑÑÐµÐ½Ð¸Ñ ÐºÐ¾Ð¼Ð°Ð½Ð´Ñ Ñавен нÑлÑ,
ÐомандÑ, вÑполненнÑе Ñ Ð¿ÑивилегиÑми ÑÑпеÑполÑзоваÑелÑ,
команда бÑла вÑполнена без оÑибок.
вÑделÑÑÑÑÑ Ñлева кÑаÑной ÑеÑÑой.
ÐомандÑ, код завеÑÑÐµÐ½Ð¸Ñ ÐºÐ¾ÑоÑÑÑ
оÑлиÑен Ð¾Ñ Ð½ÑлÑ, вÑделÑÑÑÑÑ ÑвеÑом.
<br/>
<table>
опиÑание командÑ.
# id</pre>
запоминаÑÑÑÑ Ð¸ показÑваÑÑÑÑ Ð² жÑÑнале в ÑоÑмаÑе ed.
ÐÐ»Ñ Ñого ÑÑÐ¾Ð±Ñ Ð¸Ð·Ð¼ÐµÐ½Ð¸ÑÑ Ñайл в ÑооÑвеÑÑÑвии Ñ Ð¿Ð¾ÐºÐ°Ð·Ð°Ð½Ð½Ñми в диÑÑÑоÑе
ÐоÑледнее возможно Ð´Ð»Ñ ÑедкиÑ
команд.
</p></li>
<li><p>
ÐолÑÑие, в оÑобенноÑÑи многоÑÑÑоÑнÑе, вÑплÑваÑÑие подÑказки лÑÑÑе
вÑего показÑваÑÑÑÑ Ð±ÑаÑзеÑами KDE Konqueror, Apple Safari и Microsoft Internet Explorer.
РбÑаÑзеÑаÑ
Mozilla и Firefox они оÑобÑажаÑÑÑÑ Ð½Ðµ полноÑÑÑÑ,
а вмеÑÑо пеÑевода ÑÑÑоки вÑводиÑÑÑ ÑпеÑиалÑнÑй Ñимвол.
</p></li>
<li><p>
ÐÑÐµÐ¼Ñ Ð²Ð²Ð¾Ð´Ð° командÑ, показанное в жÑÑнале, ÑооÑвеÑÑÑвÑÐµÑ Ð²Ñемени
<i>наÑала ввода командной ÑÑÑоки</i>, коÑоÑое Ñавно ÑÐ¾Ð¼Ñ Ð¼Ð¾Ð¼ÐµÐ½ÑÑ,
когда на ÑеÑминале поÑвилоÑÑ Ð¿ÑиглаÑение инÑеÑпÑеÑаÑоÑа
</p></li>
<li><p>
ÐÐ¼Ñ ÑеÑминала, на коÑоÑом бÑла введена команда, показано в ÑпеÑиалÑном блоке.
ÐÑÐ¾Ñ Ð±Ð»Ð¾Ðº показÑваеÑÑÑ ÑолÑко в Ñом ÑлÑÑае, еÑли ÑеÑминал
ÑекÑÑей ÐºÐ¾Ð¼Ð°Ð½Ð´Ñ Ð¾ÑлиÑаеÑÑÑ Ð¾Ñ ÑеÑминала пÑедÑдÑÑей.
</p></li>
465 64
</tr>
</table>
}
</td>
<td valign='top' width=200>$control_form</td>
</tr>
</table>
LastCommand,
HEADER
return $result;
{ MistypesPercentage,
}
$Html_He
CommandsFrequency,
#############
);
# print_footer_html
# ÐодгоÑовка ÑÑаÑиÑÑики к вÑводÑ
#
# ÐалÑÑе иÑ
лÑÑÑе Ñже не иÑполÑзоваÑÑ!!!
#
my %CommandsFrequency = %frequency_of_command;
#
return "</body>\n</html>\n";
#
}
#
$Stat{ErrorsPercentage} = sprintf "%5.2f", $Stat{ErrorCommands}*100/$Stat{TotalCommands};
#############
}
# print_stat_html
$Staif $Stat{TotalTime}; sprintf "%5.2f", $Stat{TotalCommands}*60/$Stat{TotalTime}
#
#
for $command (keys %CommandsFrequency){
sub print_stat_html
}
# In:
for $command (reverse sort {$CommandsFrequency{$a} <=> $CommandsFrequency{$b}} keys %CommandsFrequency){
# Out: my $command_html;
my $percentage = sprintf "%5.2f",$CommandsFrequency{$command}*100/$total_commands;
if ($percentage < 0.5) {
my $hint = make_comment($command);
вÑводÑÑÑÑ Ð¿ÐµÑеÑÑÑкнÑÑÑм ÑекÑÑом:
\$ find / -name abc</pre>
<pre class='interrupted_output'>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
{ 192 54
div class='edit_link'>
}
print OUT "$result";
#############
}
# print_edit_all_htmls,$toc) = print_command_lines_html;
}
# In: $_[0] output_filename
##Out:
# ÐÑвеÑÑи ÑÑÑаниÑÑ Ñ ÑекÑÑовÑм пÑедÑÑавлением жÑÑнала Ð´Ð»Ñ ÑедакÑиÑованиÑ
# $result .= $command_lines;
sub print_edit_all_html
else {
{ Ðmy $cursor_position = 0;
$result .= print_header2_html($toc);
my $title = ">ÐÑÑнал лабоÑаÑоÑнÑÑ
ÑабоÑ. ÐÑавка";
$result = print_command_lines_txt;
$result =
# Ou "<html>"
."<head>"
."<meta content='text/html; charset=utf-8' http-equiv='Content-Type' />" ÑлеменÑÑ Ð´Ð¾Ð»Ð¶Ð½Ñ Ð±ÑÑÑ Ð¿Ð¾ÐºÐ°Ð·Ð°Ð½Ñ Ð² жÑÑнале'>"
."<link rel='stylesheet' href='$Config{frontend_css}' type='text/css'/>"
."<title>$title</title>"
."</head>"
."<script>"
.$SetCursorPosition_JS
."</script>"
."<body onLoad='setCursorPosition(document.all.mytextarea, $cursor_position, $cursor_position+10)'>"
."<h1>ÐÑÑнал лабоÑаÑоÑнÑÑ
ÑабоÑ. ÐÑавка</h1>"
."<form>"
."<textarea rows='30' cols='100' wrap='off' id='mytextarea'>$result</textarea>"
#/st
# In: $_[0] output_filename
#
# In: $_[0] СодеÑжание
# Out: РаÑпеÑаÑаннÑй заголовок
."<br/><input typ825 ÐозиÑÐ¸Ñ ¡Ð¾Ñ
ÑаниÑÑ' label='label'/>" 37 4
$this_day_result .= "<span title='Tab completion ".$cl->{tab_seq}."'>\n"
. "<img src='".$Config{frontend_ico_path}."/tab.png'/>\n"
minuteif ( . "</span>\n" if $cl->{tab_seq};"}) {
Out: $this_day_result .= "<span title='Ctrl-C pressed'>\n"
. "<img src='".$Config{frontend_ico_path}."/break.png'/>\n"
. "</span>\n" if ($cl->{break} and not $cl->{tab_seq});
$this_day_result .= "</div>\n";0-9/_?%-]*)@<a href='$1'>$1</#cline
sub
$this_day_result .= "<div class='note_title'>".$cl->{note_title}."</div>" if $cl->{note_title};
# OUTPUTmy $last_command = $cl->{"last_command"};
sub if (!(
my @$Config{"suppress_editors"} =~ /^y/i && grep ($_ eq $last_command, @{$Config{"editors"}}) ||
{ $Config{"suppress_pagers"} =~ /^y/i && grep ($_ eq $last_command, @{$Config{"pagers"}}) ||
# $Config{"suppress_terminal"}=~ /^y/i && grep ($_ eq $last_command, @{$Config{"terminal"}})
)) {
$this_day_result .= "<pre class='output'>\n" . $cl->{short_output} . "</pre>\n";
}
Ou
last: {
$prev_unix_time=$first_command_of_the_day_unix_time;
$first_command_of_the_day_unix_time = $cl->{time};
$human_readable_time = strftime "%D", localtime($prev_unix_time);
$result .= "<h3 id='day_on_sec_$prev_unix_time'>".$Day_Name[$last_wday]." ($human_readable_time)</h3>";
for my $entry_class (keys %new_entries_of) {
my $table_caption = "ТаблиÑа ".$table_number++.".".$Day_Name[$last_wday]
. ". ÐовÑе ".$new_entries_of{$entry_class};
my $new_commands_section = make_new_entries_table(
$table_caption,
$entry_class=~/[0-9]+\s+(.*)/,
\@known_commands);
#NOT }
@known_commands = keys %frequency_of_command;
$result .= $this_day_result;
}
return ($result, collapse_list (\@toc));
if ($Con
# TI my @ . "</tr>"
}
. "</table>"
#############
return $result;
# make_new_entries_tablesult .= $cl->{note}."\n";
}
#
# ÐапеÑаÑаÑÑ ÑаблиÑÑ Ð½ÐµÐ¸Ð·Ð²ÐµÑÑнÑÑ
команд
#
if ($note_operat04 eq "^") { 0
# ÐбÑабоÑка команд Ñ Ð¾Ð´Ð¸Ð½Ð°ÐºÐ¾Ð²Ñм вÑеменем
my $cl=$Command_Lines[$Command_Lines_Index[$current_command++]];
# Скоif (defined($prev_cl)) {
=cut if ($$prev_cl->{time} == $$cl->{time} && $$prev_cl->{nonce} == $$cl->{nonce}) {
$tab_seq++;
ÐÑоÑеÐ}
else {
ÑазобÑ$tab_seq=0;d_Lines[$j]->{note_title}=$note_title;
nex};
$$prev_cl->{tab_seq}=$tab_seq;
}
а }
# ÐбÑабоÑка команд Ñ Ð¾Ð´Ð¸Ð½Ð°ÐºÐ¾Ð²Ñм номеÑом в иÑÑоÑÐ¸Ð¸Ð¸Ñ ÑÑÑока под ÑилÑÑÑ Ð¸Ð»Ð¸ неÑ,
=cut #if ($$prev_cl->{history} == $$cl->{history}) {
# СкоÑÐ# $$prev_cl->{break}=1;½Ð°Ð±ÑÐ°Ð½Ñ Ñ Ð¿Ð¾Ð¼Ð¾ÑÑÑ Ctrl-C+.".".$Day_Name[$last_wday]
#}
}
#ÐбÑабоÑка помеÑок
# ÐÑли неÑколÑко помеÑок (notes) идÑÑ Ð¿Ð¾Ð´ÑÑд,
# они вÑе обÑединÑÑÑÑÑ
if ($$cl->{cline} =~ /l3shot/) {
if ($$cl->{output} =~ m@Screenshot is written to.*/(.*)\.xwd@) {
$$cl->{screenshot}="$1".$Config{l3shot_suffix};
}
sub if ($note_operator eq "=") {
$$cl->{"class"} = "note";
{ $$cl->{"note"} = $note_text;
}
# Ð}
$thi$this_day_result .= "<div class='ttychange'>"
COMMAND_LINE:
}
$this_day_result .= "<div class='cline'>" . $cline ; #cline
$this_day_result .= "<span title='Ðод завеÑÑÐµÐ½Ð¸Ñ ".$cl->{"err"}."'>\n"
. "<img src='".$Config{frontend_ico_path}."/error.png'/>\n"
}
}
push @comments, $Args_Description{$arg};
}
}
=cut
ÐÑоÑедÑÑа load_command_lines_from_xml вÑполнÑÐµÑ Ð·Ð°Ð³ÑÑÐ·ÐºÑ ÑазобÑанного lab-ÑкÑипÑа
из XML-докÑменÑа в пеÑеменнÑÑ @Command_Lines
sub sortor die "Can't open file with xml lablog ",$datafile,"\n";
# In: $datafile Ð¸Ð¼Ñ Ñайла
$dir=$_[0];
# Out: @CommandLines загÑÑженнÑе команднÑе ÑÑÑоки
ÐÑедÑпÑеждение!
ÐÑоÑедÑÑа не в ÑоÑÑоÑнии обÑабаÑÑваÑÑ XML-докÑÐ¼ÐµÐ½Ñ Ð»Ñбой ÑÑÑÑкÑÑÑÑ.
РдейÑÑвиÑелÑноÑÑи Ñайл cache из коÑоÑого загÑÑжаÑÑÑÑ Ð´Ð°Ð½Ð½Ñе
пÑоÑÑо Ð½Ð°Ð¿Ð¾Ð¼Ð¸Ð½Ð°ÐµÑ XML Ñ Ð²Ð¸Ð´Ñ.
=cut
sub load_command_lines_from_xml
{
my $datafile = $_[0];
46 2
sub load_sessions_from_xml;_xml($Config{"backend_datafile"});
load_uploads($Config{"upload_dir"});
sub load_uploads;_from_xml($Config{"backend_datafile"});tigra_hints{$hint_id}."'),";
sort_command_lines;
sub sort_command_lines;es;
if (defined($filter{action}) && $filter{action} eq "edit") {
sub process_command_lines;
var
sub init_variables;
sub minu
sub main;
sub print_all_txt; $2;
sub collapse_list($);
sub print_all_html;sition_of_command{"$command"}=$i++;
sub init_filterx' : 0 // a z-index for all hint layers
sub print_edit_all_html;
{ # ÐниÑиализаÑÐ¸Ñ ÑилÑÑÑа
for (split /;;/,$Config{filter}) {
my ($var, $val) = split /::/;
$filter{$var} = $val || "";on_of_arg{"$a"};
}
dle|}
$filter_url = join (";;", map("$_::$filter{$_}", keys %filter));
}
return \%position_of_command;
# extrac
return \%position_of_arg;
# In: $what = commands | args
# Out:
}
# РазобÑаÑÑ ÐºÐ¾Ð¼Ð°Ð½Ð´Ð½ÑÑ ÑÑÑÐ¾ÐºÑ $_[1] и возвÑаÑиÑÑ Ñ
ÑÑ, ÑодеÑжаÑий
# Ð½Ð¾Ð¼ÐµÑ Ð¿ÐµÑвого поÑвление ÐºÐ¾Ð¼Ð°Ð½Ð´Ñ Ð² ÑÑÑоке:
sub mywrap($)
# my $what = $_[0]; пеÑÐ²Ð°Ñ Ð¿Ð¾Ð·Ð¸ÑиÑ
{
my $cline = $_[1];s (HINTS_CFG, HINTS_ITEMS); $mywi;
return '<div class="t"><div class="b"><div class="l"><div class="r"><div class="bl"><div class="br"><div class="tl"><div class="tr">'.$_[0].
my @lists = split /\;/, $cline;
'</div></div></div></div></div></div></div></div>';
}
for my $command_list (@lists) {
my @command_lines = ();
â l3config.pm â 5830âÐÑн 10 12:36 ââ â â â
# The configuration directives are grouped into three basic sections:
â*l3prompt â 234âÐÑн 10 12:36 ââ â â â
# 1. Directives that control the operation of the Apache server process as a
â l3scripts â 6660âÐÑн 10 12:36 ââ â â â
# whole (the 'global environment').
â â â ââ â â â
# 2. Directives that define the parameters of the 'main' or 'default' server,
â â â ââ â â â
# which responds to requests that aren't handled by a virtual host.
â â â ââ â â â
# These directives also provide default values for the settings
â â â ââ â â â
# of all virtual hosts.
â â â ââ â â â
# 3. Settings for virtual hosts, which allow Web requests to be sent to
â â â ââ â â â
# different IP addresses or hostnames and have them handled by the
âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ¾âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
# same Apache server process.
ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
#
#
# Configuration and logfile names: If the filenames you specify for many
# of the server's control files begin with "/" (or "drive:/" for Win32), the
# server will use that explicit path. If the filenames do *not* begin
# with "/", the value of ServerRoot is prepended -- so "/var/log/apache2/foo.log"
# with ServerRoot set to "" will be interpreted by the
# server as "//var/log/apache2/foo.log".
#
### Section 1: Global Environment
#
# The directives in this section affect the overall operation of Apache,
# such as the number of concurrent requests it can handle or where it
Файл: INSTALL РСÑÑока 1 ÐозиÑÐ¸Ñ 0 452 Ð±Ð°Ð¹Ñ 100%
ÐнÑÑаллÑÑÐ¸Ñ LabMaker
â ÐÐ¼Ñ âÐ Ð°Ð·Ð¼ÐµÑ âÐÑÐµÐ¼Ñ Ð¿Ñавки ââ ÐÐ¼Ñ âÐ Ð°Ð·Ð¼ÐµÑ âÐÑÐµÐ¼Ñ Ð¿Ñавки âââââââââââââââââââââââââââââââââââââââââââââââââââââââv>â
â/.hg â 4096âÐÑн 10 12:36 ââ/.java â 4096âÐÑн 8 15:35 â
1. ÐÑоинÑÑаллиÑоваÑÑ Ð²Ñе необÑ
одимÑе модÑли Perl
â .hgtags ââ 256âÐÑн 10 12:36 ââ/NetworkManager â 4096âÐÑн 7 16:02 â
2. ÐÑполниÑÑ lm-install, Ñказав в каÑеÑÑве паÑамеÑÑов
â FILES ââ 1003âÐÑн 10 12:36 ââ/X11 â 4096âÐÑн 9 12:24 â
имена домаÑниÑ
каÑалогов полÑзоваÑелей, Ð´Ð»Ñ ÐºÐ¾ÑоÑÑÑ
â INSTALL â 452âÐÑн 10 12:36 6 ââ/alsa â 4096âÐÑн 7 16:00 â
Ð´Ð¾Ð»Ð¶Ð½Ñ Ð²ÐµÑÑиÑÑ Ð¶ÑÑналÑ
â TODO â 3742âÐÑн 10 12:36 ââ/apache2 â 4096âÐÑн 9 15:31 â
3. ÐÑполÑзоваÑÑ lm-report Ð´Ð»Ñ Ð³ÐµÐ½ÐµÑиÑÐ¾Ð²Ð°Ð½Ð¸Ñ Ð¶ÑÑналов
â*install â 5285âÐÑн â12:36 ââ/apt â 4096âÐÑн 7 16:56 â
â*l3-backend â 3881âÐÑн 10 12:36 ââ/bash_completion.d â 4096âÐÑн 10 12:35 â
â*l3-cgi-lite â 6822âÐÑн 10 12:36 ââ/ca-certificates â 4096âÐÑн 7 16:00 â
â*l3-frontend â 78958âÐÑн 10 12:36 ââ/console â 4096âÐÑн 7 14:32 â
â*l3-upload â 600âÐÑн 10 12:36 ââ/console-tools â 4096âÐÑн 7 14:32 â
â l3config.pm â 5830âÐÑн 10 12:36 ââ/cron.daily â 4096âÐÑн 9 15:31 â
â*l3prompt â 234âÐÑн 10 12:36 ââ/cron.monthly â 4096âÐÑн 7 16:04 â
â l3scripts â 6660âÐÑн 10 12:36 ââ/cups â 4096âÐÑн 7 16:08 â
â â â /defââ/default â 4096âÐÑн 9 15:31 â
â â â /dhcââ/dhcp3 â 4096âÐÑн 7 14:51 â
â â â /dm ââ/dm â 4096âÐÐ°Ñ 16 2009 â
â â â /emaââ/emacs â 4096âÐÑн 7 15:59 â
â â â /exiââ/exim4 â 4096âÐÑн 7 16:04 â
â â â /fonââ/fonts â 4096âÐÑн 7 16:04 â
âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ¾âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
home/ol14/lilalo#
айлФайл Ðоманда ÐаÑÑÑойки ÐÑÐ°Ð²Ð°Ñ Ð¿Ð°Ð½ÐµÐ»Ñ
h1,h2,h3,h4 {
â ÐÐ¼Ñ âÐ Ð°Ð·Ð¼ÐµÑ âÐÑÐµÐ¼Ñ Ð¿Ñавки ââ ÐÐ¼Ñ âÐ Ð°Ð·Ð¼ÐµÑ âÐÑÐµÐ¼Ñ Ð¿Ñавки ââââââââââââââââââââââââââââââââââââââââââââââââââv>ââââv>â
â/.. â-ÐÐÐРХ-â â´â/.. â-ÐÐÐРХ-â â´
â break.png ââ 308âÐÑн 10 12:36 ââ/.java â 4096âÐÑн 8 15:35 â
â error.png â 204âÐÑн 10 12:36 ââ/Muttrc.d â 4096âÐÑн 7 16:04 â
â folder.gif ââ 365âÐÑн 10 12:36 ââ/NetworkManager â 4096âÐÑн 7 16:02 â
â folder.up.gif â 342âÐÑн 10 12:36 ââ/ODBCDataSources â 4096âÐÑл 27 2007 â
â l3.css â 6623âÐÑн 10 12:36 ââ/X11 â 4096âÐÑн 9 12:24 â
â tab.png-left: 5pt; â 342âÐÑн 10 12:36 ââ/acpi â 4096âÐÑн 7 14:51 â
â ââ â â â:36ââ/alsa â 4096âÐÑн 7 16:00 ââ
â argin-left: 0pt; â â ââ/alternatives â 12288âÐÑн 9 15:44 â
â â â â 12:ââ/apache2 â 4096âÐÑн 9 15:31 ââ
â serif; â â ââ/apm â 4096âÐÑн 7 16:00 â
â ââ ââ 2:ââ/apt â 4096âÐÑн 7 16:56 ââ
â /*border: thin solid gray;*/ â â ââ/avahi â 4096âÐÑн 7 16:04 â
â ââ ââ â 2:ââ/bash_completion.d â 4096âÐÑн 10 12:35 ââ
â â â ââ/bonobo-activation â 4096âÐÑн 7 16:04 â
â ââ ââ 2:ââ/ca-certificates â 4096âÐÑн 7 16:00 ââ
â â â ââ/calendar â 4096âÐÑн 7 14:31 â
â ââ ââ 2:ââ/console â 4096âÐÑн 7 14:32 ââ
â â â ââ/console-setup â 4096âÐÑн 7 16:11 â
â ââ ââ â 2:ââ/console-tools â 4096âÐÑн 7 14:32 ââ
â â â ââ/cron.d â 4096âÐÑн 9 15:31 â
â pm â â â 0 12:ââ/cron.daily â 4096âÐÑн 9 15:31 ââ
â padding-right: 3pt; â â ââ/cron.hourly â 4096âÐÑн 7 14:31 â
â ââ ââ 2:ââ/cron.monthly â 4096âÐÑн 7 16:04 ââ
â â â ââ/cron.weekly â 4096âÐÑн 7 16:04 â
â â â â â12:ââ/cups â 4096âÐÑн 7 16:08 ââ
â â â ââ/dbus-1 â 4096âÐÑн 7 16:04 â
â â â ââ/default â 4096âÐÑн 9 15:31 â
â â â ââ/defoma â 4096âÐÑн 7 16:07 â
â â â ââ/dhcp3 â 4096âÐÑн 7 14:51 â
âover { â â ââ/dictionaries-common â 4096âÐÑн 7 16:07 â
â â â â ââ/dm â 4096âÐÐ°Ñ 16 2009 â
â eeecc; â â ââ/dpkg â 4096âÐÑн 7 17:07 â
â â â ââ/emacs â 4096âÐÑн 7 15:59 â
â â â ââ/esound â 4096âÐÑн 7 16:04 â
â â â ââ/exim4 â 4096âÐÑн 7 16:04 â
â â â ââ/firebird â 4096âÐÑн 9 15:46 â
â â â ââ/fonts â 4096âÐÑн 7 16:04 â
â â â ââ/foomatic â 4096âÐÑн 7 16:04 â
âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ¾âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
â l3.css ââ/firebird â
ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
СовеÑ: ÐÑмеÑка каÑалогов: добавÑÑе коÑÑÑ ÑеÑÑÑ Ð² ÐºÐ¾Ð½ÐµÑ ÑооÑвеÑÑÑвÑÑÑего Ñаблона.
/l3files#
} 2ÐеÐеÑен3ÐÑÑ
од 4Hex 5СÑÑока 6RxÐоиÑк7ÐоиÑк 8Ðак еÑÑ9ÐеФоÑма
tr.table_header {
background-color : #98bcef;
font-weight: bold;
font-size: 105%;
}
td
{
padding-left:5pt;
padding-right:5pt;
margin-left:0pt;
margin-right:0pt;
}
.toc {
border: 1px solid #aaa;
background-color: #f9f9f9;
padding: 10pt;
padding-left: 0pt;
padding-right: 15pt;
айлФайл Ðоманда ÐаÑÑÑойки ÐÑÐ°Ð²Ð°Ñ Ð¿Ð°Ð½ÐµÐ»Ñ
l3cd=/users//My-Debian-Work/adm.prombez/ol14
â ÐÐ¼Ñ âÐ Ð°Ð·Ð¼ÐµÑ âÐÑÐµÐ¼Ñ Ð¿Ñавки ââ ÐÐ¼Ñ âÐ Ð°Ð·Ð¼ÐµÑ âÐÑÐµÐ¼Ñ Ð¿Ñавки ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââv>â
â/.local â 4096âÐÑн 8 11:00 â´â/.. â-ÐÐÐРХ-â â´
â/.mc â 4096âÐÑн 10 12:35 ââ/.java â 4096âÐÑн 8 15:35 â
â/.metacity â 4096âÐÑн 7 16:14 ââ/Muttrc.d â 4096âÐÑн 7 16:04 â
â/.mozilla â 4096âÐÑн 7 17:07 ââ/NetworkManager â 4096âÐÑн 7 16:02 â
â/.nautilus â 4096âÐÑн 11 09:37 ââ/ODBCDataSources â 4096âÐÑл 27 2007 â
â/.openoffice.org2 â 4096âÐÑн 10 09:11 ââ/X11 â 4096âÐÑн 9 12:24 â
â/.purple â 4096âÐÑн 11 10:57 ââ/acpi â 4096âÐÑн 7 14:51 â
â/.ssh â 4096âÐÑн 9 10:18 ââ/alsa â 4096âÐÑн 7 16:00 â
â/.stardict â 4096âÐÑн 9 12:01 ââ/alternatives â 12288âÐÑн 9 15:44 â
â/.themes â 4096âÐÑн 7 16:14 ââ/apache2 â 4096âÐÑн 9 15:31 â
â/.thumbnails â 4096âÐÑн 7 16:14 ââ/apm â 4096âÐÑн 7 16:00 â
â/.tsclient â 4096âÐÑн 9 11:13 ââ/apt â 4096âÐÑн 7 16:56 â
â/.update-notifier â 4096âÐÑн 7 16:13 ââ/avahi â 4096âÐÑн 7 16:04 â
â/.wapi â 4096âÐÑн 10 15:44 ââ/bash_completion.d â 4096âÐÑн 10 12:35 â
â/DOWNLOAD â 4096âÐÑн 7 17:03 ââ/bonobo-activation â 4096âÐÑн 7 16:04 â
â/DOWNLOAD_TORRENT â 4096âÐÑн 9 14:04 ââ/ca-certificates â 4096âÐÑн 7 16:00 â
â/Desktop â 4096âÐÑн 11 09:10 ââ/calendar â 4096âÐÑн 7 14:31 â
â/__temp â 4096âÐÑн 8 09:29 ââ/console â 4096âÐÑн 7 14:32 â
â/documents â 4096âÐÑн 8 10:58 ââ/console-setup â 4096âÐÑн 7 16:11 â
â/lilalo â 4096âÐÑн 10 12:36 ââ/console-tools â 4096âÐÑн 7 14:32 â
â/serverprom-common â 0âÐай 24 17:39 ââ/cron.d â 4096âÐÑн 9 15:31 â
â/www â 4096âÐÑн 10 16:08 ââ/cron.daily â 4096âÐÑн 9 15:31 â
â .ICEauthority â 153âÐÑн 11 09:38 ââ/cron.hourly â 4096âÐÑн 7 14:31 â
â .Xauthority â 114âÐÑн 11 09:38 ââ/cron.monthly â 4096âÐÑн 7 16:04 â
â .bash_history â 212âÐÑн 11 09:37 ââ/cron.weekly â 4096âÐÑн 7 16:04 â
â .bash_logout â 220âÐÑн 7 16:11 ââ/cups â 4096âÐÑн 7 16:08 â
â .bash_profile â 10âÐÑн 10 11:10 ââ/dbus-1 â 4096âÐÑн 7 16:04 â
â .bashrc â 3252âÐÑн 10 12:14 ââ/default â 4096âÐÑн 9 15:31 â
â .dmrc â 28âÐÑн 11 09:38 ââ/defoma â 4096âÐÑн 7 16:07 â
â .gksu.lock â 0âÐÑн 11 09:40 ââ/dhcp3 â 4096âÐÑн 7 14:51 â
â .gnome-rdp.db â 5120âÐÑн 10 08:34 ââ/dictionaries-common â 4096âÐÑн 7 16:07 â
â .htoprc â 541âÐÑн 11 09:13 ââ/dm â 4096âÐÐ°Ñ 16 2009 â
â .l3rc â 45âÐÑн 10 11:10 ââ/dpkg â 4096âÐÑн 7 17:07 â
â .profile â 675âÐÑн 7 16:11 ââ/emacs â 4096âÐÑн 7 15:59 â
â .recently-used â 1203âÐÑн 10 09:11 ââ/esound â 4096âÐÑн 7 16:04 â
â .recently-used.xbel â 39347âÐÑн 11 10:49 ââ/exim4 â 4096âÐÑн 7 16:04 â
â .xsession-errors â 13349âÐÑн 11 10:56 ââ/firebird â 4096âÐÑн 9 15:46 â
â новÑй Ñайл â 5478âÐÑн 8 09:05 ââ/fonts â 4096âÐÑн 7 16:04 â
â новÑй Ñайл~ â 3660âÐÑн 8 09:05 ââ/foomatic â 4096âÐÑн 7 16:04 â
âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ¾âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
â .l3rc ââ/firebird â
ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
СовеÑ: ÐÑмеÑка каÑалогов: добавÑÑе коÑÑÑ ÑеÑÑÑ Ð² ÐºÐ¾Ð½ÐµÑ ÑооÑвеÑÑÑвÑÑÑего Ñаблона.
2ÐеÐеÑен3ÐÑÑ
од 4Hex 5СÑÑока 6RxÐоиÑк7ÐоиÑк 8Ðак еÑÑ9ÐеФоÑма
ÐÑойки ÐÑÐ°Ð²Ð°Ñ Ð¿Ð°Ð½ÐµÐ»Ñ
â ÐÐ¼Ñ âÐ Ð°Ð·Ð¼ÐµÑ âÐÑÐµÐ¼Ñ Ð¿Ñавки ââ ÐÐ¼Ñ âÐ Ð°Ð·Ð¼ÐµÑ âÐÑÐµÐ¼Ñ Ð¿Ñавки ââââââââââââââââââââââââââââââââââââââââââââââââââââââv>â
â/.. â-ÐÐÐРХ-â â´â/.. â-ÐÐÐРХ-â â´
â 106103653872917663-1276150280.info â 828âÐÑн 10 15:27 ââ/.java â 4096âÐÑн 8 15:35 â
â 106103653872917663-1276150280.script â1402391âÐÑн 10 15:01 ââ/Muttrc.d â 4096âÐÑн 7 16:04 â
â 11643307292370017518-1276230391.info â 456âÐÑн 11 10:26 ââ/NetworkManager â 4096âÐÑн 7 16:02 â
â 11643307292370017518-1276230391.script â 509461âÐÑн 11 11:04 ââ/ODBCDataSources â 4096âÐÑл 27 2007 â
â 121425529500517979-1276226412.info â 815âÐÑн 11 09:37 ââ/X11 â 4096âÐÑн 9 12:24 â
â 121425529500517979-1276226412.script â 111242âÐÑн 11 09:37 ââ/acpi â 4096âÐÑн 7 14:51 â
â 140712369241262734-1276150416.info> â 777âÐÑн 10 12:35 ââ/alsa â 4096âÐÑн 7 16:00 â
â 140712369241262734-1276150416.script â 161âÐÑн 10 12:13 ââ/alternatives â 12288âÐÑн 9 15:44 â
â 19655279322252022793-1276148454.info â 658âÐÑн 10 11:59 ââ/apache2 â 4096âÐÑн 9 15:31 â
â 19655279322252022793-1276148454.script â 51087âÐÑн 10 11:59 ââ/apm â 4096âÐÑн 7 16:00 â
â 2420614112245724957-1276156272.info â 857âÐÑн 10 13:55 ââ/apt â 4096âÐÑн 7 16:56 â
â 2420614112245724957-1276156272.script â 101807âÐÑн 10 13:55 ââ/avahi â 4096âÐÑн 7 16:04 â
â 2444327242165716412-1276162024.info â 820âÐÑн 10 15:44 ââ/bash_completion.d â 4096âÐÑн 10 12:35 â
â 2444327242165716412-1276162024.script â 131077âÐÑн 10 15:44 ââ/bonobo-activation â 4096âÐÑн 7 16:04 â
â 2513322808263094628-1276225906.info â 867âÐÑн 11 09:37 ââ/ca-certificates â 4096âÐÑн 7 16:00 â
â 2513322808263094628-1276225906.script â 488628âÐÑн 11 09:19 ââ/calendar â 4096âÐÑн 7 14:31 â
â 26442261411268116727-1276149565.info â 838âÐÑн 10 15:27 ââ/console â 4096âÐÑн 7 14:32 â
â 26442261411268116727-1276149565.script â1540007âÐÑн 10 15:01 ââ/console-setup â 4096âÐÑн 7 16:11 â
â 32152233401302513075-1276226768.info â 1010âÐÑн 11 09:37 ââ/console-tools â 4096âÐÑн 7 14:32 â
â 32152233401302513075-1276226768.script â 1163âÐÑн 11 09:30 ââ/cron.d â 4096âÐÑн 9 15:31 â
â 6304176932007116750-1276226033.info â 804âÐÑн 11 09:37 ââ/cron.daily â 4096âÐÑн 9 15:31 â
â 6304176932007116750-1276226033.script â 161âÐÑн 11 09:13 ââ/cron.hourly â 4096âÐÑн 7 14:31 â
â 7533227891274425797-1276163546.info â 816âÐÑн 10 17:42 ââ/cron.monthly â 4096âÐÑн 7 16:04 â
â 7533227891274425797-1276163546.script â 733145âÐÑн 10 16:13 ââ/cron.weekly â 4096âÐÑн 7 16:04 â
â 9933462650338611-1276150111.info â 779âÐÑн 10 12:10 ââ/cups â 4096âÐÑн 7 16:08 â
â 9933462650338611-1276150111.script â 5329âÐÑн 10 12:08 ââ/dbus-1 â 4096âÐÑн 7 16:04 â
â*l3bashrc â 7709âÐÑн 10 11:10 ââ/default â 4096âÐÑн 9 15:31 â
â*l3prompt â 234âÐÑн 10 11:10 ââ/defoma â 4096âÐÑн 7 16:07 â
â â â ââ/dhcp3 â 4096âÐÑн 7 14:51 â
â â â ââ/dictionaries-common â 4096âÐÑн 7 16:07 â
â â â ââ/dm â 4096âÐÐ°Ñ 16 2009 â
â â â ââ/dpkg â 4096âÐÑн 7 17:07 â
â â â ââ/emacs â 4096âÐÑн 7 15:59 â
â â â ââ/esound â 4096âÐÑн 7 16:04 â
â â â ââ/exim4 â 4096âÐÑн 7 16:04 â
â â â ââ/firebird â 4096âÐÑн 9 15:46 â
â â â ââ/fonts â 4096âÐÑн 7 16:04 â
â â â ââ/foomatic â 4096âÐÑн 7 16:04 â
âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ¾âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
â 11643307292370017518-1276230391.info ââ/firebird â
ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
СовеÑ: ÐÑ ÑможеÑе видеÑÑ ÑкÑÑÑÑе ÑÐ°Ð¹Ð»Ñ .*, ÑÑÑановив опÑÐ¸Ñ Ð² Ð¼ÐµÐ½Ñ ÐонÑигÑÑаÑиÑ.
2ÐеÐеÑен3ÐÑÑ
од 4Hex 5СÑÑока 6RxÐоиÑк7ÐоиÑк 8Ðак еÑÑ9ÐеФоÑма