代码搜索:bash
找到约 5,321 项符合「bash」的源代码
代码结果 5,321
www.eeworm.com/read/458682/7291751
sh ha.sh
#!/bin/bash
# $Id: ha.sh,v 1.2 2005/04/21 23:24:26 oliver Exp $
# Copyright 2005 Oliver Beckstein
# Released under the GNU Public License
# Author of script granted permission for inclusion in ABS Gui
www.eeworm.com/read/458682/7291769
sh ip.sh
#!/bin/bash
# Script by Juan Nicolas Ruiz
# Used with his kind permission.
# Setting up (and stopping) a GRE tunnel.
# --- start-tunnel.sh ---
LOCAL_IP="192.168.1.17"
REMOTE_IP="10.0.5.33"
OTHER_I
www.eeworm.com/read/454436/7390670
sh env.sh
#! /bin/bash
export TARGET=arm-linux
export PREFIX := /root/arm/buildroot/build_arm/staging_dir/usr
export ARCH=arm
export CROSS_COMPILE=${TARGET}-
export PATH=$PATH:${PREFIX}/bin
www.eeworm.com/read/454368/7393053
configure
#!/bin/bash
#if [ "$UID" = 0 ]; then echo "Please don't run configure as root"; exit 1; fi
usage()
{
echo "$0 "
echo -e "\t-h\tDisplay this message"
exit 1
}
KLTSUPPORT=1
SIFTSUPPORT=1
while ge
www.eeworm.com/read/448648/7528423
init ripngd.init
#!/bin/bash
#
# chkconfig: - 16 84
# description: A RIP routing engine for use with Zebra and IPv6
#
# processname: ripngd
# config: /etc/ripngd.conf
# source function library
. /etc/rc.d/init.d/func
www.eeworm.com/read/448648/7528425
init zebra.init
#!/bin/bash
#
# chkconfig: - 15 85
# description: GNU Zebra routing manager
#
# processname: zebra
# config: /etc/zebra.conf
# source function library
. /etc/rc.d/init.d/functions
RETVAL=0
[ -f /et
www.eeworm.com/read/448648/7528426
init ospfd.init
#!/bin/bash
#
# chkconfig: - 16 84
# description: An OSPF v2 routing engine for use with Zebra
#
# processname: ospfd
# config: /etc/ospfd.conf
# source function library
. /etc/rc.d/init.d/functions
www.eeworm.com/read/438832/7725403
sh and-or.sh
#!/bin/bash
a=24
b=47
if [ "$a" -eq 24 ] && [ "$b" -eq 47 ]
then
echo "Test #1 succeeds."
else
echo "Test #1 fails."
fi
# ERROR: if [ "$a" -eq 24 && "$b" -eq 47 ]
#+ 尝试运行' [ "$a" -eq
www.eeworm.com/read/438832/7725756
sh is-spammer.sh
#! /bin/bash
# is-spammer.sh: 鉴别一个垃圾邮件域
# $Id: is-spammer, v 1.4 2004/09/01 19:37:52 mszick Exp $
# 上边这行是RCS ID信息.
#
www.eeworm.com/read/438832/7725853
sh ex35.sh
#!/bin/bash
a=/home/bozo/daily-journal.txt
echo "Basename of /home/bozo/daily-journal.txt = `basename $a`"
echo "Dirname of /home/bozo/daily-journal.txt = `dirname $a`"
echo
echo "My own home is `ba