代码搜索:bash

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

代码结果 5,321
www.eeworm.com/read/417848/10974600

sh doit.sh

#!/bin/bash -norc set -x PATH=/sbin:.:/usr/local/fist:${PATH} export PATH #make module_install #make module_install_nocheck #make install lsmod insmod -f wrapfs.o || exit lsmod mount -t wrapfs -o d
www.eeworm.com/read/458682/7291331

sh q-function.sh

#!/bin/bash # Douglas Hofstadter's notorious "Q-series": # Q(1) = Q(2) = 1 # Q(n) = Q(n - Q(n-1)) + Q(n - Q(n-2)), for n>2 # This is a "chaotic" integer series with strange #+ and unpredictable
www.eeworm.com/read/458682/7291334

sh am-i-root.sh

#!/bin/bash # am-i-root.sh: Am I root or not? ROOT_UID=0 # Root has $UID 0. if [ "$UID" -eq "$ROOT_UID" ] # Will the real "root" please stand up? then echo "You are root." else echo "You ar
www.eeworm.com/read/458682/7291443

sh rot13.sh

#!/bin/bash # rot13.sh: Classic rot13 algorithm, # encryption that might fool a 3-year old. # Usage: ./rot13.sh filename # or ./rot13.sh <filename # or ./rot13.sh and supply keyb
www.eeworm.com/read/458682/7291463

sh what.sh

#!/bin/bash # What are all those mysterious binaries in /usr/X11R6/bin? DIRECTORY="/usr/X11R6/bin" # Try also "/bin", "/usr/bin", "/usr/local/bin", etc. for file in $DIRECTORY/* do whatis `basena
www.eeworm.com/read/458682/7291783

sh wf.sh

#!/bin/bash # wf.sh: Crude word frequency analysis on a text file. # This is a more efficient version of the "wf2.sh" script. # Check for input file on command line. ARGS=1 E_BADARGS=65 E_NOFILE=66
www.eeworm.com/read/448648/7528427

init ospf6d.init

#!/bin/bash # # chkconfig: - 16 84 # description: An OSPF routing engine for use with Zebra and IPv6 # # processname: ospf6d # config: /etc/ospf6d.conf # source function library . /etc/rc.d/init.d/fu
www.eeworm.com/read/438832/7725344

sh ex65.sh

#!/bin/bash # delete.sh, 不是很聪明的文件删除方法. # Usage: delete filename E_BADARGS=65 if [ -z "$1" ] then echo "Usage: `basename $0` filename" exit $E_BADARGS # 没有参数? 退出脚本. else file=$1
www.eeworm.com/read/438832/7725358

sh read-r.sh

#!/bin/bash echo echo "Enter a string terminated by a \\, then press <ENTER>." echo "Then, enter a second string, and again press <ENTER>." read var1 # 当 read $var1 时, "\" 将会阻止产生新行.
www.eeworm.com/read/438832/7725402

sh ex70.sh

#!/bin/bash wall <<zzz23EndOfMessagezzz23 E-mail your noontime orders for pizza to the system administrator. (Add an extra dollar for anchovy or mushroom topping.) # 附加的消息文本放在这里. # 注意: 'wa