代码搜索:bash
找到约 5,321 项符合「bash」的源代码
代码结果 5,321
www.eeworm.com/read/214576/15095954
changelog
Maintainer: Pascal Schmidt
Version 5.1, Sat Aug 19 15:55:44 CEST 2006
- updated bash to 3.1 patchlevel 17
- added /dev/fd0, /dev/fd1, and /dev/nvram to basesystem
- updated
www.eeworm.com/read/114036/15117528
templ noflushd.templ
#!/bin/bash
#
# Start the noflush daemon to spin down idle disks.
#
# Written by Daniel Kobras
# $Id: noflushd.templ,v 1.6 2004/07/19 10:00:32 nold Exp $
#
# The next lines define ru
www.eeworm.com/read/16793/690874
emptydir
#! /bin/bash
#
#Derived from:
#
#From: damercer@mmm.com (Dan Mercer)
#Newsgroups: comp.unix.admin,comp.unix.shell,comp.unix.programmer,comp.sys.sun.admin
#Subject: Re: Command to find out if a directo
www.eeworm.com/read/16793/691020
freebsd complete.freebsd
#Date: Wed, 31 Jan 2001 12:53:56 -0800
#From: Aaron Smith
#To: freebsd-ports@freebsd.org
#Subject: useful bash completion function for pkg commands
#Message-ID:
www.eeworm.com/read/16793/691312
sub redir7.sub
# weird redirections that caused trouble and were fixed in post-3.0 bash
stuff()
{
c=1
( sleep 5 < /dev/null >/dev/null 2>&1 & ) &
}
exec 3>&1
eval `
exec 4>&1 >&3 3>&-
{
stuff 4>&-
echo "c=$c" >
www.eeworm.com/read/16793/691608
rbash.0
RBASH(1) RBASH(1)
NNAAMMEE
rbash - restricted bash, see bbaasshh(1)
RREESSTTRRIICCTTEEDD SSHHEELLLL
www.eeworm.com/read/35675/1059626
ttype
#!/bin/bash
# Scriptname: ttype
# Purpose: set the terminal type
# Author: Andy Admin
COLUMNS=60
LINES=1
PS3="Please enter the terminal type: "
select choice in wyse50 vt200 xterm sun
do
case $REPL
www.eeworm.com/read/35675/1059639
idcheck2
#!/bin/bash
# Scriptname: idcheck
# purpose:check user id to see if user is root.
# Only root has a uid of 0.
# Format for id output:uid=9496(ellie) gid=40 groups=40
# root's uid=0
id=`id | ga
www.eeworm.com/read/453168/1642141
tests var_expand_in_redir.tests
if test $# = 0; then
exec "$THIS_SH" "$0" abc "d e"
fi
echo TEST1 >"$1.out"
echo TEST2 >"$2.out"
# bash says: "$@.out": ambiguous redirect
# ash handles it as if it is '$*' - we do the same
echo
www.eeworm.com/read/453168/1642224
tests var_expand_in_redir.tests
if test $# = 0; then
exec "$THIS_SH" "$0" abc "d e"
fi
echo TEST1 >"$1.out"
echo TEST2 >"$2.out"
# bash says: "$@.out": ambiguous redirect
# ash handles it as if it is '$*' - we do the same
echo