代码搜索:bash

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

代码结果 5,321
www.eeworm.com/read/339483/12231636

sh ind-func.sh

#!/bin/bash # ind-func.sh: Passing an indirect reference to a function. echo_var () { echo "$1" } message=Hello Hello=Goodbye echo_var "$message" # Hello # Now, let's pass an indirect refere
www.eeworm.com/read/339483/12231669

sh connect-stat.sh

#!/bin/bash PROCNAME=pppd # ppp daemon PROCFILENAME=status # Where to look. NOTCONNECTED=65 INTERVAL=2 # Update every 2 seconds. pidno=$( ps ax | grep -v "ps ax" | grep -v grep | g
www.eeworm.com/read/339483/12231672

sh wf2.sh

#!/bin/bash # wf2.sh: Crude word frequency analysis on a text file. # Uses 'xargs' to decompose lines of text into single words. # Compare this example to the "wf.sh" script later on. # Check for i
www.eeworm.com/read/339483/12231678

sh paragraph-space.sh

#!/bin/bash # paragraph-space.sh # Inserts a blank line between paragraphs of a single-spaced text file. # Usage: $0 <FILENAME MINLEN=45 # May need to change this value. # Assume lines sh
www.eeworm.com/read/232412/14195612

sh resetgroup.sh

#!/bin/bash MIGGROUP=$1 PROCESSES=`ls /proc | grep [0-9]` function usage() { echo "Usage: resetgroup [process-group]" echo exit -1 } if [ $# != 1 ]; then usage fi echo $MIGGROUP | grep [0-9]
www.eeworm.com/read/127261/14363802

sh create_bootdisk.sh

#!/bin/bash # Author: Tomas Matejicek if [ "$1" = "" -o ! -b "$2" -o ! -b "$3" ]; then echo echo "Copies all files from LiveCD to your disk and setup lilo" echo "us
www.eeworm.com/read/127261/14363807

sh create_bootiso.sh

#!/bin/bash # Create bootable ISO from files in curent directory. # usage: create_bootiso /mnt/disk/freespace/resultFilename.iso # Author: Tomas Matejicek # CDLABEL="SLAX"
www.eeworm.com/read/227899/14406731

sh events.sh

#!/bin/bash #! /usr/local/bin/vm shell # # This is a demo script for the new event handling interface between # shell scripts and the voice library. # # $Id: events.sh,v 1.1.1.1 2004/04/13 19:55:46 a
www.eeworm.com/read/227899/14406734

sh dtmf_alpha.sh

#!/bin/bash #!/usr/bin/vm shell # Robert J鰎dens # # This is the dtmf script. It is called by vgetty when a dtmf code was send by # the user. # # $1 - received DTMF code # # $2 - name of
www.eeworm.com/read/227899/14406736

sh demo.sh

#!/bin/bash -x #! /usr/local/bin/vm shell # # This is a demo script for the new interface between shell scripts and # the voice library # # $Id: demo.sh,v 1.3 2004/04/19 21:40:30 andyxem Exp $ # # #