代码搜索:bash
找到约 5,321 项符合「bash」的源代码
代码结果 5,321
www.eeworm.com/read/440773/1791838
sh syn.sh
#!/bin/bash
source syn-func.sh
# DAWG core set
( source syn-func.sh
cd Syntax-SPARQL
clean
source ../syn-sparql.sh
createManifest "Syntax-SPARQL"
)
# DAWG exten
www.eeworm.com/read/439082/1819698
makelst
#!/bin/bash
# A script to dump mixed source code & assembly
# with correct relocations from System.map
# Requires the following lines in Rules.make.
# Author(s): DJ Barrow (djbarrow@de.ibm.com,barrow_
www.eeworm.com/read/432906/1886397
xendomains
#!/bin/bash
#
# /etc/init.d/xendomains
# Start / stop domains automatically when domain 0 boots / shuts down.
#
# chkconfig: 345 99 00
# description: Start / stop Xen domains.
#
# This script offers f
www.eeworm.com/read/409921/2223132
in mcfn_install.in
#/bin/sh
#
prefix=@prefix@
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; th
www.eeworm.com/read/407756/2258871
tellme
#!/bin/bash
# Scriptname: tellme
# Using the old-style test command
echo -n "How old are you? "
read age
if [ $age -lt 0 -o $age -gt 120 ]
then
echo "Welcome to our planet! "
exit 1
f
www.eeworm.com/read/407756/2258872
opts4
#!/bin/bash
# Program: opts4
# Using getopts -- Fourth try --
while getopts xyz: arguments 2>/dev/null
do
case $arguments in
x) echo "you entered -x as an option .";;
y) echo "you entered -y as an
www.eeworm.com/read/407756/2258873
opts1
#!/bin/bash
# Program: opts1
# Using getopts -- First try --
while getopts xy options
do
case $options in
x) echo "you entered -x as an option";;
y) echo "you entered -y as an option";;
esac
done
www.eeworm.com/read/407756/2258907
num
#!/bin/bash
# Scriptname: num
num=0 # Initialize num
while (( $num < 10 )) # or while [ num -lt 10 ]
do
echo -n "$num "
let num+=1 # Increment num
done
echo -e "\nAfter loop exits
www.eeworm.com/read/407729/2259617
profile
# ~/.bashrc: executed by bash(1) for non-login interactive shells.
export PATH=\
/bin:\
/sbin:\
/usr/bin:\
/usr/sbin:\
/usr/bin/X11:\
/usr/local/bin
# If running interactively, then:
if [ "$PS1" ];
www.eeworm.com/read/407729/2259625
bashrc .bashrc
# ~/.bashrc: executed by bash(1) for non-login interactive shells.
export PATH=\
/bin:\
/sbin:\
/usr/bin:\
/usr/sbin:\
/usr/bin/X11:\
/usr/local/bin
# If running interactively, then:
if [ "$PS1" ];