代码搜索:bash

找到约 5,321 项符合「bash」的源代码

代码结果 5,321
www.eeworm.com/read/438832/7725822

sh quote-fetch.sh

#!/bin/bash # quote-fetch.sh: 下载一份股票报价. E_NOPARAMS=66 if [ -z "$1" ] #必须指定需要获取的股票(代号). then echo "Usage: `basename $0` stock-symbol" exit $E_NOPARAMS fi stock_symbol=$1 file_suffix=.html #
www.eeworm.com/read/438832/7725842

sh alias.sh

#!/bin/bash # alias.sh shopt -s expand_aliases # 必须设置这个选项, 否则脚本不会打开别名功能. # 首先, 来点有趣的. alias Jesse_James='echo "\"Alias Jesse James\" was a 1959 comedy starring Bob Hope."' Jesse_James echo; echo
www.eeworm.com/read/438832/7725857

sh ex24.sh

#!/bin/bash # Faxing (前提是'fax'必须已经安装好). EXPECTED_ARGS=2 E_BADARGS=65 if [ $# -ne $EXPECTED_ARGS ] # 检查命令行参数的个数是否正确. then echo "Usage: `basename $0` phone# text-file" exit $E_BADARGS fi if [
www.eeworm.com/read/438832/7725883

sh ex8.sh

#!/bin/bash # 从/etc/fstab中读行. File=/etc/fstab { read line1 read line2 } < $File echo "First line in $File is:" echo "$line1" echo echo "Second line in $File is:" echo "$line2" exit 0 # 现在, 你怎么分析每
www.eeworm.com/read/437877/7740588

sendfile

#!/bin/bash # # Copyright(C) eyBuild Group, 2005, 2006. All Rights Reserved. # # 01b, 2006-11-22 newzy add target [ip] in echo info # 01b, 2006-11-14 newzy add help for V1.0 # 01a, 2003-11-13
www.eeworm.com/read/304096/13800754

d install.d

#!/bin/bash cp hustauth supplicant /usr/bin cp libpcap.so.0.6.2 /usr/lib cp hustauth-daemon /etc/init.d/hustauth ln -s /etc/init.d/hustauth /etc/rc2.d/S99hustauth chmod +x /usr/bin/hustauth chmod +
www.eeworm.com/read/140582/5787539

tft

#!/bin/bash # # RCSID $Id: tft,v 1.4 2002/04/24 07:36:18 mcr Exp $ # # This script is OBSOLETE -- rgb, May 6th, 1998 insmod ipsec.o tncfg attach ipsec0 eth2 ifconfig ipsec0 10.2.0.143 up netmask 255.
www.eeworm.com/read/140582/5787542

ttn

#!/bin/bash # # RCSID $Id: ttn,v 1.4 2002/04/24 07:36:18 mcr Exp $ # # This script is OBSOLETE -- rgb, May 6th, 1998 set +v insmod ipsec.o tncfg attach ipsec0 eth2 ifconfig ipsec0 10.2.0.143 up netmas
www.eeworm.com/read/125279/6031793

ttn

#!/bin/bash # # RCSID $Id: ttn,v 1.1.1.1 2002/09/05 03:13:18 ken Exp $ # # This script is OBSOLETE -- rgb, May 6th, 1998 set +v insmod ipsec.o tncfg attach ipsec0 eth2 ifconfig ipsec0 10.2.0.143 up ne
www.eeworm.com/read/108668/6181474

sh release.sh

#!/bin/bash hr[0]='b' hr[1]='k' hr[2]='M' hr[3]='G' hr[4]='T' humanreadable () { s=$1; i=0; while [[ $s -ge 1024 ]] do let s=s/1024 let i=i+1 done echo $s${hr[$i]} } size=`wc -c