代码搜索:bash
找到约 5,321 项符合「bash」的源代码
代码结果 5,321
www.eeworm.com/read/404558/11482750
sh searchuser1.sh
#!/bin/bash
grep $1 /etc/passwd &>/dev/null && echo "This user: $1 is exist." || echo "The user:$1 is no exist."
www.eeworm.com/read/404558/11482753
sh arg.sh
#!/bin/bash
echo "my program name is : $0"
echo "the program first aug is :$1"
echo "the program second aug is :$2"
echo "the program all aug is :$*"
echo "the num of aug is : $#"
www.eeworm.com/read/157975/11653040
txt beginning unix chapter 13.txt
Chapter 13
#!/bin/bash
echo 揋uess the secret color
www.eeworm.com/read/339483/12230631
sh ex74.sh
#!/bin/bash
# ex74.sh
# This is a buggy script.
# Where, oh where is the error?
a=37
if [$a -gt 27 ]
then
echo $a
fi
exit 0
www.eeworm.com/read/339483/12231489
sh bashandperl.sh
#!/bin/bash
# bashandperl.sh
echo "Greetings from the Bash part of the script."
# More Bash commands may follow here.
exit 0
# End of Bash part of the script.
# ====================================
www.eeworm.com/read/339483/12231571
sh ex77.sh
#!/bin/bash
# String expansion.
# Introduced with version 2 of Bash.
# Strings of the form $'xxx'
#+ have the standard escaped characters interpreted.
echo $'Ringing bell 3 times \a \a \a'
#
www.eeworm.com/read/228991/14356177
txt ch21.txt
Chapter 21
-------------------------
Overriding Default Values
-------------------------
#!/bin/bash
if [ "$#" -eq 2 ]
then
mail -s $1 bob@mycomputer mary@mycomputer < $2
elif [ "
www.eeworm.com/read/223165/14650897
sh openvpn-shutdown.sh
#!/bin/bash
# stop all openvpn processes
killall -TERM openvpn
www.eeworm.com/read/221205/14753855
rty
#!/bin/ksh
#!/bin/bash
read string
message=111
a1=${string:+$message}
echo $a1
echo $string
echo $message