代码搜索:bash

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

代码结果 5,321
www.eeworm.com/read/458682/7291721

sh wh-loopc.sh

#!/bin/bash # wh-loopc.sh: Count to 10 in a "while" loop. LIMIT=10 a=1 while [ "$a" -le $LIMIT ] do echo -n "$a " let "a+=1" done # No surprises, so far. echo; echo # +==============
www.eeworm.com/read/458682/7291731

sh redir2.sh

#!/bin/bash # redir2.sh if [ -z "$1" ] then Filename=names.data # Default, if no filename specified. else Filename=$1 fi #+ Filename=${1:-names.data} # can replace the above test (parame
www.eeworm.com/read/458682/7291765

sh self-source.sh

#!/bin/bash # self-source.sh: a script sourcing itself "recursively." # From "Stupid Script Tricks," Volume II. MAXPASSCNT=100 # Maximum number of execution passes. echo -n "$pass_count " # At
www.eeworm.com/read/448648/7528422

init ripd.init

#!/bin/bash # # chkconfig: - 16 84 # description: A RIP routing engine for use with Zebra # # processname: ripd # config: /etc/ripd.conf # source function library . /etc/rc.d/init.d/functions RETVAL
www.eeworm.com/read/438832/7725300

sh protect_literal.sh

#! /bin/bash # protect_literal.sh # set -vx :
www.eeworm.com/read/438832/7725831

sh bashpodder.sh

#!/bin/bash # bashpodder.sh: # By Linc 10/1/2004 # Find the latest script at http://linc.homeunix.org:8080/scripts/bashpodder # Last revision 12/14/2004 - Many Contributors! # If you use this and hav
www.eeworm.com/read/438832/7725881

sh ex45.sh

#!/bin/bash # 展示一些使用'expr'的例子 # ======================== echo # 算术 操作 # ---- ---- echo "Arithmetic Operators" echo a=`expr 5 + 3` echo "5 + 3 = $a" a=`expr $a + 1` echo echo "a + 1 = $a" echo "(i
www.eeworm.com/read/198531/7930959

sh firewall.sh

#!/bin/bash # A Sample OpenVPN-aware firewall. # eth0 is connected to the internet. # eth1 is connected to a private subnet. # Change this subnet to correspond to your private # ethernet subnet. H
www.eeworm.com/read/145256/12742071

init ripd.init

#!/bin/bash # # chkconfig: - 16 84 # description: A RIP routing engine for use with Zebra # # processname: ripd # config: /etc/ripd.conf # source function library . /etc/rc.d/init.d/functions RETVAL
www.eeworm.com/read/243262/12952275

configure

#!/usr/bin/env bash # # Shell script to configure SPIM. # # Copyright (C) 1992-2004 by James Larus (larus@cs.wisc.edu). # ALL RIGHTS RESERVED. # # SPIM is distributed under the following conditions: #