代码搜索:bash
找到约 5,321 项符合「bash」的源代码
代码结果 5,321
www.eeworm.com/read/368386/2817209
mkd
#!/bin/bash
#
# mkd -- a script to create the device special files for the PARIDE subsystem
#
# block devices: pd (45), pcd (46), pf (47)
# character devices: pt (96), pg (97)
#
function mkdev {
www.eeworm.com/read/368383/2822139
ltypes
#!/bin/bash
if[$
# -ne 1 ]
then echo "usage: Ltypes filename" > &2 exit 2 fi FILE = "$1"
#TMPFILE='mktemp "${FILE}.XXXXXX"' || exit 1
TMPFILE = $ {
FILE}
. ` date "+%s" ` touch $TMPFILE
www.eeworm.com/read/365796/2895066
inherit-inter
#!/bin/bash
# Build a new PKI which is rooted on an intermediate certificate generated
# by ./build-inter or ./pkitool --inter from a parent PKI. The new PKI should
# have independent vars settings,
www.eeworm.com/read/365796/2895068
build-key-server
#!/bin/bash
# Make a certificate/private key pair using a locally generated
# root certificate.
#
# Explicitly set nsCertType to server using the "server"
# extension in the openssl.cnf file.
export
www.eeworm.com/read/365796/2895070
sign-req
#!/bin/bash
# Sign a certificate signing request (a .csr file)
# with a local root certificate and key.
export EASY_RSA="${EASY_RSA:-.}"
"$EASY_RSA/pkitool" --interact --sign $*
www.eeworm.com/read/365796/2895073
build-req-pass
#!/bin/bash
# Like build-req, but protect your private key
# with a password.
export EASY_RSA="${EASY_RSA:-.}"
"$EASY_RSA/pkitool" --interact --csr --pass $*
www.eeworm.com/read/360831/2959238
ltypes
#!/bin/bash
if[$
# -ne 1 ]
then echo "usage: Ltypes filename" > &2 exit 2 fi FILE = "$1"
#TMPFILE='mktemp "${FILE}.XXXXXX"' || exit 1
TMPFILE = $ {
FILE}
. ` date "+%s" ` touch $TMPFILE
www.eeworm.com/read/357352/3016108
tests invert.tests
# tests of return value inversion
# placeholder for future expansion
# user subshells (...) did this wrong in bash versions before 2.04
! ( echo hello | grep h >/dev/null 2>&1 ); echo $?
! echo hell
www.eeworm.com/read/350657/3121223
mkd
#!/bin/bash
#
# mkd -- a script to create the device special files for the PARIDE subsystem
#
# block devices: pd (45), pcd (46), pf (47)
# character devices: pt (96), pg (97)
#
function mkdev {
www.eeworm.com/read/350504/3124910
1 sigrot.1
#!/bin/bash
# sigrot.sh
# Version 1.0
# Rotate signatures
# Suitable to be run via cron
#############################
sigfile=signature
old=$(cat num)
let new=$(expr $old+1)
if [ -f $si