module="xxx" major=`cat /proc/devices | awk "\\$2==\"$module\" {print \\$1}"` 各位高手,以上这句为何意啊? 其中的\\如何解释?!
by lingfen1552 - Shell - 2006-01-17 09:24:44 阅读(819) 回复(2)
这是一个/etc/init.d/hostname.sh的脚本 #! /bin/sh ### BEGIN INIT INFO # Provides: hostname # Required-Start: # Required-Stop: # Should-Start: glibc # Default-Start: S # Default-Stop: # Short-Description: Set hostname based on /etc/hostname # Description: Read the machines hostname from /etc/hostname, and # update the kernel value with this value. If # /etc/hostname is empty, the curren...
启动smtp,用vchkpw做smth-auth的命令行: /usr/local/bin/tcpserver 0 smtp /var/qmail/bin/qmail-smtpd \ lfan.net /home/vpopmail/bin/vchkpw /bin/true 2>;&1 \ | /var/qmail/bin/splogger smtpd 3 &
Google对网站链接非常重视,这一点也反映在对导出链接(out-going/outbound links)的评估上。首先你要保证你的网站“properly linked to other sites”,也就是说如果你的网站只有外部反向链接而没有导出链接的话,即使不一定影响你成功注册Google搜索引擎,也会对你的网站在搜索结果中的表现带来负面影响。 当然网站中连一个导出链接都没有的情况非常罕见,除非你是刻意这么做。正常情况下大家都会自然地在网页中加上一些...
试着在工作站执行ps aux ,发现有不少标记为Z的进程 但是在nagios的check又没有提示,虽然这类进程只是占用了进程列表 可惜又看不懂里面的代码!!!!!
1 #!/usr/bin/perl 2 3 use strict; 4 use warnings; 5 use MIME::QuotedPrint; 6 use MIME::Base64; 7 use Mail::Sendmail 0.75; # doesn't work with v. 0.74! 8 9 my $server = '192.168.25.161'; 10 my $to = 'cyz@xxx.com'; 11 my $file = shift @ARGV; 12 13 my %mail = ( 14 From => 'UTC Info <[email]cyz@xxx.com[/email]>', 1...