代码搜索:bash

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

代码结果 5,321
www.eeworm.com/read/349844/10796205

example dialup.sh.example

#!/bin/bash # # This script is called from VDR to start/stop dialup-network # # argument 1: wanted action, one of start,stop # RUN="/var/tmp/vdr.dialup.run" action="$1" case "$action" in up) up p
www.eeworm.com/read/272978/10934290

sh statistic_words.sh

#!/bin/bash # statistic_words.sh if [ $# -lt 1 ]; then echo "ERROR: you should input 2 words at least"; echo "Usage: basename $0 FILE WORDS ...." exit -1 fi FILE=$1 ((WORDS_NUM=$#-1)) for n in $
www.eeworm.com/read/417848/10974387

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 modinfo | grep wrapfs modload ./wrapfs || exit modinfo | gre
www.eeworm.com/read/417848/10974432

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 modinfo | grep wrapfs modload ./wrapfs || exit modinfo | gre
www.eeworm.com/read/417108/11003459

deny-rsync

#!/bin/bash # Send an error message via the rsync-protocol to a non-daemon client rsync. # # Usage: deny-rsync "message" protocol_version=29 exit_code=4 # same as a daemon that refuses an option #
www.eeworm.com/read/468463/6991055

buildrpm

#!/bin/bash source=. version=`cat $source/../version` package=$source/../alsa-utils-$version.tar.bz2 packagedir=/usr/src/redhat xrpmbuild=rpm rpmbuild --usage 2> /dev/null > /dev/null && xrpmbuild=rp
www.eeworm.com/read/458682/7291339

sh rot14.sh

#!/bin/bash # A version of "rot13" using 'eval'. # Compare to "rot13.sh" example. setvar_rot_13() # "rot13" scrambling { local varname=$1 varvalue=$2 eval $varname='$(echo "$varvalue
www.eeworm.com/read/458682/7291370

sh recursion-demo.sh

#!/bin/bash # recursion-demo.sh # Demonstration of recursion. RECURSIONS=9 # How many times to recurse. r_count=0 # Must be global. Why? recurse () { var="$1" while [ "$var" -ge 0 ] do
www.eeworm.com/read/458682/7291375

sh bin-grep.sh

#!/bin/bash # bin-grep.sh: Locates matching strings in a binary file. # A "grep" replacement for binary files. # Similar effect to "grep -a" E_BADARGS=65 E_NOFILE=66 if [ $# -ne 2 ] then echo "Us
www.eeworm.com/read/458682/7291378

sh unalias.sh

#!/bin/bash # unalias.sh shopt -s expand_aliases # Enables alias expansion. alias llm='ls -al | more' llm echo unalias llm # Unset alias. llm # Error message results, since 'llm' no