代码搜索:bash
找到约 5,321 项符合「bash」的源代码
代码结果 5,321
www.eeworm.com/read/428543/1959190
sh daily.sh
#!/usr/local/bin/bash
first_msg()
{
echo "***********************************************************"
echo " "
echo "The batch process BACKUP_DAILY is starting at [ 'date' ]"
echo "
www.eeworm.com/read/413789/2159357
genlog
#!/usr/bin/bash
mkdir -p ctl
cd ctl
rm -f *
nawk -f ../genlog.awk /dev/null
cd ..
www.eeworm.com/read/413789/2159370
genlog
#!/usr/bin/bash
mkdir -p ctl
cd ctl
rm -f *
nawk -f ../genlog.awk /dev/null
cd ..
www.eeworm.com/read/407756/2258862
checker
#!/bin/bash
# Scriptname: checker
# Script to demonstrate the use of special variable
# modifiers and arguments
name=${1:?"requires an argument" }
echo Hello $name
www.eeworm.com/read/366702/2877828
gen_directive_tests
#! /bin/bash
########################################################################
#
# File: generate_framework_tests
# Author: Janis Johnson
# Date: 2004/11/02
#
# Generate tests of GCC's
www.eeworm.com/read/365796/2895079
build-ca
#!/bin/bash
#
# Build a root certificate
#
export EASY_RSA="${EASY_RSA:-.}"
"$EASY_RSA/pkitool" --interact --initca $*
www.eeworm.com/read/100089/15885456
ans
#!/bin/sh
#-------------------------------------------------------------------------
# ans A bash script to simulate an answering machine.
# Discriminate voice, fax and data calls. Password-protecte
www.eeworm.com/read/438832/7725422
sh restricted.sh
#!/bin/bash
# 脚本开头以"#!/bin/bash -r"来调用,
#+ 会使整个脚本在受限模式下运行.
echo
echo "Changing directory."
cd /usr/local
echo "Now in `pwd`"
echo "Coming back home."
cd
echo "Now in `pwd`"
echo
# 非受限的模式下,所有操作都
www.eeworm.com/read/438832/7725812
sh lowercase.sh
#!/bin/bash
#
# 将当前目录下的所有文全部转换为小写.
#
# 灵感来自于John Dubois的脚本,
#+ Chet Ramey将其转换为Bash脚本,
#+ 然后被本书作者精简了一下.
for filename in * # 遍历当前目录下的所有文件.
d
www.eeworm.com/read/177251/9463931
sh mkflpimg.sh
#!/bin/bash
##########################################################################
#
# Snixos Project version 1.0, 2003.6
# (C) Copyright 2003,2004,2005 Jockeyson,KeqiangGao
# A