代码搜索:bash

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

代码结果 5,321
www.eeworm.com/read/441132/7675444

old sshd.init.old

#!/bin/bash # # Init file for OpenSSH server daemon # # chkconfig: 2345 55 25 # description: OpenSSH server daemon # # processname: sshd # config: /etc/ssh/ssh_host_key # config: /etc/ssh/ssh_host_key
www.eeworm.com/read/438832/7725330

sh ex60.sh

#!/bin/bash # 函数和参数 DEFAULT=default # 默认参数值. func2 () { if [ -z "$1" ] # 第一个参数是否长度为零? then echo "-Parameter #1 is zero length.-" #
www.eeworm.com/read/438832/7725372

sh ex28.sh

#!/bin/bash LIMIT=19 # 上限 echo echo "Printing Numbers 1 through 20 (but not 3 and 11)." a=0 while [ $a -le "$LIMIT" ] do a=$(($a+1)) if [ "$a" -eq 3 ] || [ "$a" -eq 11 ] # 除了3和11. then co
www.eeworm.com/read/438832/7725732

sh multiplication.sh

#!/bin/bash # multiplication.sh multiply () # 将乘数作为参数传递进来. { # 可以接受多个参数. local product=1 until [ -z "$1" ] # 直到处理完所有的参数... do
www.eeworm.com/read/438832/7725790

sh rn.sh

#! /bin/bash # # Very simpleminded filename "rename" utility (based on "lowercase.sh"). # # The "ren" utility, by Vladimir Lanin (lanin@csd2.nyu.edu), #+ does a much better job of this. ARGS=2 E_BA
www.eeworm.com/read/438832/7725879

sh ex31.sh

#!/bin/bash PS3='Choose your favorite vegetable: ' # 设置提示符字串. echo select vegetable in "beans" "carrots" "potatoes" "onions" "rutabagas" do echo echo "Your favorite veggie is $vegetable." ech
www.eeworm.com/read/437877/7740602

unix domap.unix

#!/bin/bash # donemap.bat - script for compile csp files and rom files # # Copyright(C) eyBuild Group, 2005, 2006. All Rights Reserved. # # modification history # -------------------- # 01c, 2006-5-30
www.eeworm.com/read/298556/7951256

init softflowd.init

#!/bin/bash # # softflowd Starts softflowd NetFlow probe # $Id: softflowd.init,v 1.1 2006/03/14 23:15:41 djm Exp $ # # chkconfig: 2345 95 02 # description: Starts and stops the softflowd Netflow probe
www.eeworm.com/read/297175/8048376

makelst

#!/bin/bash # A script to dump mixed source code & assembly # with correct relocations from System.map # Requires the following lines in Rules.make. # Author(s): DJ Barrow (djbarrow@de.ibm.com,barrow_
www.eeworm.com/read/315865/13535334

format_test

#!/bin/bash #xchannel add######################################################### case "$1" in [0] ) mount_disk=/hdda; dev_disk=/dev/hda; dev_disk1=/dev/hda1;; [1] ) mount_disk=/hddb; d