代码搜索:bash
找到约 5,321 项符合「bash」的源代码
代码结果 5,321
www.eeworm.com/read/182007/9222128
makedrvbk
#!/bin/bash
cd ieee80211/
make clean
make
cd -
cd beta-8187/
make clean
make
cd -
www.eeworm.com/read/357543/10206915
myfind
#!/bin/bash
find . -type f -exec gawk 'BEGIN{n=0} {if($0~/'"$1"'/){a[n++]=FNR" "$0}}END{if(n>0){print(FILENAME);for(i=0;i
www.eeworm.com/read/281232/10255124
smssend
#!/bin/bash
if [ "$#" -lt "2" ]; then echo "Syntax: $0 \"\"";exit 1; fi
number=$1
shift
scmxx --send --sms --direct --number $number --text "$@"
www.eeworm.com/read/272978/10934280
sh calc_let.sh
#!/bin/bash
i=0;
while [ $i -lt 10000 ]
do
let i++;
done
echo $i
www.eeworm.com/read/272978/10934283
sh calc_expr.sh
#!/bin/bash
i=0;
while [ $i -lt 1000 ]
do
i=$(expr $i + 1)
done
echo $i
www.eeworm.com/read/272978/10934298
sh calc_bc.sh
#!/bin/bash
i=0;
while [ $i -lt 1000 ]
do
i=$(echo $i+1|bc)
done
echo $i
www.eeworm.com/read/464279/7166950
sh ex-08-03_arithsub.sh
#!/bin/ksh
# Chapter 08 - Section Arithmetic Subsitution
# This script demonstrates the arithmetic substitution
# facilitiy in ksh/bash. To execute the script under
# bash, change the first line.
foo
www.eeworm.com/read/463368/7182762
netlogin
#!/bin/bash
#by linuxjerry
#这个脚本用于自动判断当前用户是root还是普通用户,从而调用autoconnectasroot或autoconnect来进行上网认证。
#还有自动重连功能,方便在网络不好的条件下使用。下面的1000是重试次数,你可以自行更改。
for ((i=1;i
www.eeworm.com/read/458682/7291667
sh t-out.sh
#!/bin/bash
# t-out.sh
# Inspired by a suggestion from "syngin seven" (thanks).
TIMELIMIT=4 # 4 seconds
read -t $TIMELIMIT variable
www.eeworm.com/read/454368/7393040
message
#!/bin/bash
#echo "message: verbose = $VERBOSE"
if (( VERBOSE == 1 ))
then
exit 0;
fi
a=$MAKELEVEL
while (( 0 < a )); do echo -n " "; let "a = $a - 1";done
echo $1