代码搜索:bash
找到约 5,321 项符合「bash」的源代码
代码结果 5,321
www.eeworm.com/read/250731/4428145
in alertengine.in
#!/usr/bin/env bash
####################
#
# $Id: alertengine.in 2013 2003-11-14 13:05:11Z mortenv $
# This file is part of the NAV project.
# This script controls start/stop/status of the NAV alertEn
www.eeworm.com/read/242732/4540595
mcfn_install
#/bin/sh
#
prefix=/usr/local
if test -n `echo $prefix | grep prefix`; then
prefix=/usr/local
fi
if test x$BASH = x; then
BASHRC=
else
BASHRC=~/.bashrc
fi
if test "x$EUID" = x0;
www.eeworm.com/read/239312/4602414
todebug
#!/bin/bash
# Scriptname: todebug
name="Joe Shmoe"
if [[ $name == "Joe Blow" ]]
then
printf "Hello $name\n"
fi
declare -i num=1
while (( num < 5 ))
do
let num+=1
done
printf "The total
www.eeworm.com/read/239312/4602429
sayit
#!/bin/bash
# Scriptname: sayit
echo Type q to quit.
go=start
while [ -n "$go" ] # Make sure to double quote the variable
do
echo -n I love you.
read word
if [[ $word == [Qq] ]]
www.eeworm.com/read/239312/4602452
quiz
#!/bin/bash
# Scriptname: quiz
echo "Who was the 2nd U.S. president to be impeached?"
read answer
while [[ "$answer" != "Bill Clinton" ]]
do
echo "Wrong try again!"
read answer
done
echo You
www.eeworm.com/read/235511/4650979
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/216802/4881580
sh make-release.sh
#! /bin/bash
#
# make-release.sh: make an Expat release
#
# USAGE: make-release.sh tagname
#
# Note: tagname may be HEAD to just grab the head revision (e.g. for testing)
#
#CVSROOT=':ext:cv
www.eeworm.com/read/206020/5013190
sh launchd-wrapper.sh
#!/bin/bash
export WILDFIRE_HOME=/usr/local/wildfire
function shutdown()
{
date
echo "Shutting down Wildfire"
$WILDFIRE_HOME/bin/wildfire.sh stop
}
date
echo "Starting Wildfire"
export CATALINA
www.eeworm.com/read/205824/5016432
sh make-release.sh
#! /bin/bash
#
# make-release.sh: make an Expat release
#
# USAGE: make-release.sh tagname
#
# Note: tagname may be HEAD to just grab the head revision (e.g. for testing)
#
#CVSROOT=':ext:cv
www.eeworm.com/read/200501/5064848
list-crl
#!/bin/bash
# list revoked certificates
CRL="${1:-crl.pem}"
if [ "$KEY_DIR" ]; then
cd "$KEY_DIR" && \
openssl crl -text -noout -in "$CRL"
else
echo 'Please source the vars script first (i