代码搜索:bash
找到约 5,321 项符合「bash」的源代码
代码结果 5,321
www.eeworm.com/read/438832/7725768
sh ex11.sh
#!/bin/bash
echo
if test -z "$1"
then
echo "No command-line arguments."
else
echo "First command-line argument is $1."
fi
echo
if /usr/bin/test -z "$1" # 与内建的"test"命令结果相同.
then
echo "N
www.eeworm.com/read/438832/7725858
sh spam-lookup.sh
#!/bin/bash
# spam-lookup.sh: 查找滥用的连接来报告垃圾邮件发送者.
# 感谢Michael Zick.
# 检查命令行参数.
ARGCOUNT=1
E_WRONGARGS=65
if [ $# -ne "$ARGCOUNT" ]
then
echo "Us
www.eeworm.com/read/399805/7835146
sh make32and64.sh
#!/bin/bash
## Use this script to build a complete complement of 32-bit and 64-bit videoIO
## plugins on 64-bit Linux machines that have 32-bit ffmpeg, 64-bit ffmpeg,
## 32-bit Matlab, and 64-bit M
www.eeworm.com/read/145256/12742082
init ospf6d.init
#!/bin/bash
#
# chkconfig: - 16 84
# description: An OSPF routing engine for use with Zebra and IPv6
#
# processname: ospf6d
# config: /etc/ospf6d.conf
# source function library
. /etc/rc.d/init.d/fu
www.eeworm.com/read/324953/13236047
sh pppoecount.sh
#!/bin/bash
PATH="$PATH:/sbin:/bin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/locale/sbin"
[ -z $1 ] && exit 1;
[ -z $2 ] && exit 2;
logfile=/home/.pppoe.log
touch $logfile
count=`grep $1 $logfile|sed 's/
www.eeworm.com/read/144212/5752967
vtree
#! /bin/bash
#
# original from:
# vtree: visual directory tree
# @(#) vtree.sh 1.1 91/07/01
# 90/04 john h. dubois iii (john@armory.com)
# 91/07/01 fixed bug that caused problems when dir given on com
www.eeworm.com/read/144212/5752978
newext
#! /bin/bash
#
# original from:
# newext: change filename extension
# @(#) newext.sh 1.1 93/04/13
# 90/06/06 john h. dubois iii (john@armory.com)
# 90/11/14 changed ksh-specific code to hybrid: if run
www.eeworm.com/read/125811/6021446
sh headercheck.sh
#!/bin/bash
# whoever wrote this script, thank you
echo "#define __KERNEL__
#include
int do_test_remap_page_range(void) {
pgprot_t pgprot;
remap_page_range(NULL, 0, 0, 0, pgprot);
}
www.eeworm.com/read/113022/6142438
build
#! /bin/bash
echo Building ELITE...
# Clean build
rm -rf classes
mkdir classes
ln -s ../../../../j3dme-engine/classes/net classes/.
ln -s ../../../j2me/elite/classes/models classes/.
WABA_TOOLS="$W
www.eeworm.com/read/113022/6142462
build
#! /bin/bash
echo building Elite for AWT...
rm -rf classes
mkdir classes
LIB_DIR="classes:../../../j3dme-engine/classes"
OPTIONS="-g:none -classpath $LIB_DIR -sourcepath src -d classes"
$JAVA_HOME/b