代码搜索:bash
找到约 5,321 项符合「bash」的源代码
代码结果 5,321
www.eeworm.com/read/438832/7725813
sh redir4a.sh
#!/bin/bash
if [ -z "$1" ]
then
Filename=names.data # 如果没有指定文件名, 则使用默认值.
else
Filename=$1
fi
Savefile=$Filename.new # 保存最终结果的文件名.
FinalName=Jonah # 终止"read"时的
www.eeworm.com/read/438832/7725821
sh file-info.sh
#!/bin/bash
# fileinfo.sh
FILES="/usr/sbin/accept
/usr/sbin/pwck
/usr/sbin/chroot
/usr/bin/fakefile
/sbin/badblocks
/sbin/ypbind" # 这是你所关心的文件列表.
# 扔进去一个假文件, /usr/bin/fakefile.
www.eeworm.com/read/438832/7725827
sh rnd.sh
#!/bin/bash
# rnd.sh: 输出一个10进制随机数
# 由Stephane Chazelas所编写的这个脚本.
head -c4 /dev/urandom | od -N4 -tu4 | sed -ne '1s/.* //p'
# =================================================================== #
#
www.eeworm.com/read/438832/7725863
sh de-rpm.sh
#!/bin/bash
# de-rpm.sh: 解包一个'rpm'归档文件
: ${1?"Usage: `basename $0` target-file"}
# 必须指定'rpm'归档文件名作为参数.
TEMPFILE=$$.cpio # Tempfile必须是一个"唯一"的名字.
www.eeworm.com/read/433954/7901466
sh toapp.sh
#!/bin/bash
echo ......execuate make..............
cd /p500/QtopiaPDA-evb/src/libraries/mplapi/stacks
make
echo cp -rf /p500/QtopiaPDA-evb/src/libraries/mplapi/stacks/lib/linux-arm-logging/libh32x
www.eeworm.com/read/329960/12923472
sh nightly_test.sh
#!/bin/bash
\rm -r /scratch/local/htdocs/nightly/ghmm
\rm /scratch/local/htdocs/nightly/*.tar
X=`date +%Y%m%d`
NAME=ghmm-${X}.tar.gz
tclsh8.4 nightly.tcl ghmm
cd /scratch/local/htdocs/nightly
gunzip /
www.eeworm.com/read/139695/13139048
loadlog
#!/usr/bin/bash
sqlldr dbuser/oracle control=ctl/user_log.ctl log=ctl/user_log.log direct=true
sqlldr dbuser/oracle control=ctl/user_log_partition.ctl log=ctl/user_log_partition.log direct=true
let d
www.eeworm.com/read/324953/13236044
share
#!/bin/bash
PATH="$PATH:/sbin:/bin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/locale/sbin"
if [ "x$1" == "xon" ];then
modprobe iptable_nat
echo 1 > /proc/sys/net/ipv4/ip_forward
iter=ppp0
[ -z $2 ] |
www.eeworm.com/read/324953/13236046
defroute
#!/bin/bash
PATH="$PATH:/sbin:/bin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/locale/sbin"
route="route -n"
get_ppp_gw()
{
if ifconfig |grep ppp -q ;then
ifconfig |grep "P-t-P"|sed -e 's/.*P-t-P://
www.eeworm.com/read/146056/5740511
hb_takeover
#!/bin/bash
HA_DIR=/etc/ha.d
. ${HA_DIR}/shellfuncs
ORIGNODE=$HA_src
if
[ "X$ORIGNODE" = "X$HA_CURHOST" ]
then
exit 0; # request is from us!
fi
case $HA_rsc_hold in
all)
standby_rsc=$HA_