代码搜索:bash
找到约 5,321 项符合「bash」的源代码
代码结果 5,321
www.eeworm.com/read/458682/7291746
sh spam-lookup.sh
#!/bin/bash
# spam-lookup.sh: Look up abuse contact to report a spammer.
# Thanks, Michael Zick.
# Check for command-line arg.
ARGCOUNT=1
E_WRONGARGS=65
if [ $# -ne "$ARGCOUNT" ]
then
echo "Usage:
www.eeworm.com/read/458682/7291777
sh badread.sh
#!/bin/bash
# badread.sh:
# Attempting to use 'echo and 'read'
#+ to assign variables non-interactively.
a=aaa
b=bbb
c=ccc
echo "one two three" | read a b c
# Try to reassign a, b, and c.
echo
ec
www.eeworm.com/read/458682/7291778
sh fc4upd.sh
#!/bin/bash
# fc4upd.sh
# Script author: Frank Wang.
# Slight stylistic modifications by ABS Guide author.
# Used in ABS Guide with permission.
# Download Fedora Core 4 update from mirror site usi
www.eeworm.com/read/455033/7378633
sh speedtest.sh
#!/bin/bash
# Speed benchmark for FreeFem++
# $Id: speedtest.sh,v 1.6 2005/01/10 21:19:58 hecht Exp $
# The FreeFem++ executable
ffexe=${PROGLOC}/nw/FreeFem++-nw${EXEEXT}
if test ! -x $ffexe
then
www.eeworm.com/read/454368/7393038
testlib
#!/bin/bash
if [ -z "$1" ]; then
echo "Syntax: rtestlib "
exit 1
fi
FNAME=`mktemp rtestlibXXXXXX`
echo "int main() { return 0; }" > $FNAME.cpp
g++ $1 $FNAME.cpp -o $FNAME
result=$?
rm -f $
www.eeworm.com/read/454200/7396973
gdbline
#!/bin/bash
#
# $Id: gdbline,v 1.1 2004/08/02 16:27:55 corbet Exp $
#
# gdbline module image
#
# Outputs an add-symbol-file line suitable for pasting into gdb to examine
# a loaded module.
#
cd /sys/m
www.eeworm.com/read/450832/7476173
sh owns.sh
#!/bin/bash
# owns startup script
# First check to see if we have an LD_LIBRARY_PATH environment variable
if [ -n "$LD_LIBRARY_PATH" ]; then
# we do, so prepend our path first
export LD_LIBRARY_PAT
www.eeworm.com/read/450832/7476213
sh owns.sh
#!/bin/bash
# owns startup script
# First check to see if we have an LD_LIBRARY_PATH environment variable
if [ -n "$LD_LIBRARY_PATH" ]; then
# we do, so prepend our path first
export LD_LIBRARY_PAT
www.eeworm.com/read/448096/7540257
load
#!/bin/bash
if [ "$USER" != "root" ]; then
echo "You are not root. Please enter root password now!"
su root -c "$0 $*"
exit
fi
echo "flushing hd..."
sync
echo done.
if [ "$(lsmod | grep zc030x)" !
www.eeworm.com/read/447454/7550886
gdbline
#!/bin/bash
#
# $Id: gdbline,v 1.1 2004/08/02 16:27:55 corbet Exp $
#
# gdbline module image
#
# Outputs an add-symbol-file line suitable for pasting into gdb to examine
# a loaded module.
#
cd /sys/m