代码搜索:bash
找到约 5,321 项符合「bash」的源代码
代码结果 5,321
www.eeworm.com/read/283587/9003894
sh server-regression.sh
#!/bin/bash
# Even in the 21st century some diffs are not supporting -u.
diff -u $0 $0 > /dev/null 2>&1
if [ $? -eq 0 ]; then
diff_cmd="diff -u"
else
diff_cmd="diff"
fi
# Make sure that the data
www.eeworm.com/read/374494/9402931
tst-chage
#!/bin/bash
export LANG=C
TEMPDIR=`mktemp -d tests.XXXXXX`
touch $TEMPDIR/passwd
touch $TEMPDIR/shadow
./useradd -G "" -P $TEMPDIR chagetest1 -c "Test account"
./chage -P $TEMPDIR -m 7 -M 92 -d 200
www.eeworm.com/read/170114/9818754
sh string.functions.sh
#!/bin/bash
# function strcat
# Usage: strcat s1 s2
function strcat ()
{
local s1_val s2_val
s1_val=${!1} # indirect variable expansion
s2_val=${!2}
www.eeworm.com/read/170114/9818761
sh datediff.sh
#!/bin/bash
# Usage: ./days-diff.sh [M]M/[D]D/YYYY [M]M/[D]D/YYYY
ARGS=2 # Two command line parameters expected.
E_PARAM_ERR=65 # Param error.
REFYR=1600 # Referen
www.eeworm.com/read/281104/10263441
unicode2sms
#!/bin/bash
# This script converts a pure unicode text file into an sms file for sending.
if [ $# -ne 1 ]; then
echo "Usage: unicode2sms filename"
exit 1
fi
if grep ".A.l.p.h.a.b.e.t.:.*U.C.S"
www.eeworm.com/read/279175/10457808
init bgpd.init
#!/bin/bash
#
# chkconfig: - 16 84
# description: A BGPv4, BGPv4+, BGPv4- routing engine for use with Zebra
#
# processname: bgpd
# config: /etc/bgpd.conf
# source function library
. /etc/rc.d/init.d
www.eeworm.com/read/351829/10604896
in mktemp.in
#! @BASH@
if [ x"$1" = x"-d" ]
then
for ((n=0 ; $n/dev/null && break
done
else
user_mask=$(umask)
umask 077
set -o noclobber
for
www.eeworm.com/read/422466/10635480
sh ipid.sh
#!/bin/bash
#mount filesystem
mount -t squashfs /dev/mtdblock2 /software
mount -t yaffs2 /dev/mtdblock3 /config
mount none /tmp -t ramfs -n
source /config/www/network.conf
if [ ! -n "$MACADDR"
www.eeworm.com/read/417848/10974327
sh doit.sh
#!/bin/bash -norc
set -x
PATH=/sbin:.:/usr/local/fist:${PATH}
export PATH
#make module_install
#make module_install_nocheck
#make install
lsmod
insmod ./wrapfs.o || exit
lsmod
#read n
#sleep 1
mount
www.eeworm.com/read/417848/10974462
sh doit.sh
#!/bin/bash -norc
set -x
PATH=/sbin:.:/usr/local/fist:${PATH}
export PATH
#make module_install
#make module_install_nocheck
#make install
lsmod
insmod ./wrapfs.o || exit
lsmod
read n
sleep 1
# regu