代码搜索:bash
找到约 5,321 项符合「bash」的源代码
代码结果 5,321
www.eeworm.com/read/339483/12231777
sh ex43.sh
#!/bin/bash
y=`eval ls -l` # Similar to y=`ls -l`
echo $y #+ but linefeeds removed because "echoed" variable is unquoted.
echo
echo "$y" # Linefeeds preserved when variable is quoted
www.eeworm.com/read/339483/12231804
sh getopt-simple.sh
#!/bin/bash
# getopt-simple.sh
# Author: Chris Morgan
# Used in the ABS Guide with permission.
getopt_simple()
{
echo "getopt_simple()"
echo "Parameters are '$*'"
until [ -z "$1" ]
d
www.eeworm.com/read/127261/14363785
img2dir
#!/bin/bash
# convert IMG compressed file back into directory tree
#
# Author: Tomas Matejicek
#
if [ ! -d "$2" ]; then
echo
echo "Convert IMG compressed module bac
www.eeworm.com/read/127261/14363786
tgz2img
#!/bin/bash
# convert Slackware's TGZ package into IMG compressed file
# which can be used as a LiveCD module
#
# Author: Tomas Matejicek
#
if [ "$1" = "" -o "$2" = "" ];
www.eeworm.com/read/127261/14363792
modinsert
#!/bin/bash
# Insert module(s) into CD filesystem (iso)
# Author: Tomas Matejicek
#
if [ "$3" = "" ]; then
echo
echo "Insert module(s) into CD filesystem"
echo "U
www.eeworm.com/read/127261/14363794
install
#!/bin/bash
# install all scripts from /tools to /usr/sbin and /usr/lib
# so the user is able to use all these commands while running his/her Live Linux
#
# this script is automatically called by runm
www.eeworm.com/read/127261/14363795
config
#!/bin/bash
# This is a config file for runme.sh script.
# You shouldn't need to change anything.
# compressed directories (img) will be stored here
# (the whole folder will be erased now!)
CDDATA=/t
www.eeworm.com/read/223165/14650990
build-req
#!/bin/bash
#
# Build a certificate signing request and private key. Use this
# when your root certificate and key is not available locally.
#
if test $# -ne 1; then
echo "usage: build-req
www.eeworm.com/read/223165/14650993
build-inter
#!/bin/bash
#
# Make an intermediate CA certificate/private key pair using a locally generated
# root certificate.
#
if test $# -ne 1; then
echo "usage: build-inter ";
exit 1
f
www.eeworm.com/read/122750/14669515
start
# /bin/bash
./athena-start start
sleep 30
while [ true ] ; do
if [ " 0" = "$(ps | grep -e login | wc -l)" ] ||
[ " 0" = "$(ps | grep -e char | wc -l)" ] ||
[ " 0" = "$(ps |