代码搜索:bash
找到约 5,321 项符合「bash」的源代码
代码结果 5,321
www.eeworm.com/read/264445/11314842
sh db_create_mysql.sh
#!/bin/bash
if [ "x$3" = "x" ]; then
echo "Format: $0 "
exit
fi
DB_EXISTS=`echo "" | mysql --user=$1 --password=$3 $2 &> /dev/null && echo "1" || echo "
www.eeworm.com/read/263759/11343926
makefile
SHELL = /bin/bash
CCOMPILE = gcc
CPPCOMPILE = g++
COMPILEOPTION = -c
INCLUDEDIR =
LINK = g++
LINKOPTION = -o sync_timer_discramble -lpthread
LIBDIRS =
OBJS = sntplinuxclient.o Timer.o Re
www.eeworm.com/read/263759/11343956
bak makefile.bak
SHELL = /bin/bash
#
# written by Bai Yanbin 2003
#
APPNAME = timertest
APPOUT = ./timertest
#DEF = -D__REDHATLINUX__
CC = g++ -ggdb -c
LINK = g++ -ggdb -lpthread
sntplinuxclient : Timer.o s
www.eeworm.com/read/260832/11699976
kernelcfg2mk
#!/bin/bash
if [ $# -lt 1 ] ; then
echo "kernelcfg2mk: requires linux kernel directory as the first argument"
exit 2
fi
LINUX_DIR="$1"
if [ $# -gt 1 ] ; then
KERN_MODULES_DIR="$2"
fi
if [ !
www.eeworm.com/read/156228/11817352
do
#!/bin/bash
rm msgdatabase
sqlite3 msgdatabase < mesgScript
sqlite3 msgdatabase < logScriptAFTER
sqlite3 msgdatabase "insert into mesg (mesg) values ('My first message to data')"
sqlite3 msgdatabase "
www.eeworm.com/read/343105/11974988
sh dsr-uu.sh
#!/bin/bash
command=$1
IFNAME=eth1
DSRUUPATH=/lib/modules/`uname -r`/dsr/
MODPREFIX=ko
killproc() {
pidlist=$(/sbin/pidof $1)
for pid in $pidlist; do
kill $pid &>/dev/null
done
retur
www.eeworm.com/read/339483/12230446
sh protect_literal.sh
#! /bin/bash
# protect_literal.sh
# set -vx
:
www.eeworm.com/read/339483/12230533
sh ex38.sh
#!/bin/bash
. data-file # Load a data file.
# Same effect as "source data-file", but more portable.
# The file "data-file" must be present in current working directory,
#+ since it is referred t
www.eeworm.com/read/339483/12230561
sh seeding-random.sh
#!/bin/bash
# seeding-random.sh: Seeding the RANDOM variable.
MAXCOUNT=25 # How many numbers to generate.
random_numbers ()
{
count=0
while [ "$count" -lt "$MAXCOUNT" ]
do
number=$RANDOM
e
www.eeworm.com/read/339483/12230583
sh rpm-check.sh
#!/bin/bash
# rpm-check.sh
# Queries an rpm file for description, listing, and whether it can be installed.
# Saves output to a file.
#
# This script illustrates using a code block.
SUCCESS=0
E_NOA