发布时间:2013-01-23 17:44:53
1, turn on the syntax by defaultmethod 1: edit /etc/vimrcand add :syntax onProblem: sometimes you have no right to edit that file (usually owned by root, especially in a large corperationmethod 2: use aliasyou can use alias such as 'vim=vim -c "syntax on"'this w.........【阅读全文】
发布时间:2013-01-23 16:48:01
#!/ms/dist/perl5/PROJ/core/5.8/bin/perl -wuse strict;use diagnostics;$SIG{CHLD} = 'IGNORE';while (my ($key, $value) = each %SIG){ print $key." --> ".$value."\\n";}my $rret=fork;if($rret){ print "this is parent process and id is ".$$."\\n"; sleep 10;}elsif ($rret == 0){ .........【阅读全文】