代码搜索:bash
找到约 5,321 项符合「bash」的源代码
代码结果 5,321
www.eeworm.com/read/103308/6219980
sh submit.sh
#!/bin/bash
cd $1
echo "Printing form file"
cat $5
if test -z "$7"
then
echo "Executing p4 -c $2 -p $3 -u $4 submit -i < $5 $6"
p4 -c $2 -p $3 -u $4 submit -i < $5 $6
else
echo "Executing p4 -c $2 -p
www.eeworm.com/read/493651/6388433
start
#! /bin/bash
# start - do not edit this file
trap kill_team INT
kill_team()
{
echo "Killing Team"
ssh $2 -f $1/kill
ssh $3 -f $1/kill
ssh $4 -f $1/kill
ssh $5 -f $1/kill
exit
www.eeworm.com/read/487652/6506992
sh init_fw_update_test_nand.sh
#!/bin/bash
# Run this to initialise the file system for the test runs.
./yaffs_test -u -i yaffs2
www.eeworm.com/read/404558/11482757
sh var1.sh
#!/bin/bash
VAR1=haha
export VAR1
echo "the program is var1.sh,VAR1= $VAR1"
./var2.sh
www.eeworm.com/read/254329/12145395
sh szu_try_1.sh
#!/bin/bash
dir=./
echo -n "Please input the initial file number??? "
read a
cp ${dir}/szu_try_0.sh ${dir}/${a}.sh
chmod +x ${dir}/${a}.sh
sh ${a}.sh ${a}
www.eeworm.com/read/339483/12230674
sh ex27.sh
#!/bin/bash
END_CONDITION=end
until [ "$var1" = "$END_CONDITION" ]
# Tests condition here, at top of loop.
do
echo "Input variable #1 "
echo "($END_CONDITION to exit)"
read var1
echo "variab
www.eeworm.com/read/339483/12231663
sh missing-keyword.sh
#!/bin/bash
# missing-keyword.sh: What error message will this generate?
for a in 1 2 3
do
echo "$a"
# done # Required keyword 'done' commented out in line 7.
exit 0
www.eeworm.com/read/339483/12231725
sh dev-tcp.sh
#!/bin/bash
# dev-tcp.sh: /dev/tcp redirection to check Internet connection.
# Script by Troy Engel.
# Used with permission.
TCP_HOST=www.dns-diy.com # A known spam-friendly ISP.
TCP_PORT=80
www.eeworm.com/read/339483/12231809
sh prepend.sh
#!/bin/bash
# prepend.sh: Add text at beginning of file.
#
# Example contributed by Kenny Stauffer,
#+ and slightly modified by document author.
E_NOSUCHFILE=65
read -p "File: " file # -p arg to