代码搜索:bash
找到约 5,321 项符合「bash」的源代码
代码结果 5,321
www.eeworm.com/read/339483/12231785
sh ex8.sh
#!/bin/bash
# Reading lines in /etc/fstab.
File=/etc/fstab
{
read line1
read line2
} < $File
echo "First line in $File is:"
echo "$line1"
echo
echo "Second line in $File is:"
echo "$line2"
exit 0
www.eeworm.com/read/337078/12392469
gspca_build
#!/bin/bash
WHO=`whoami`
KERNELVER=`uname -r`
SRCDIR=/lib/modules/$KERNELVER/build
if [ $WHO != "root" ]; then
echo -e '\E[31;44m'
echo -e '\E[1m FATAL !! you must be root to run this script\E[0m'
ex
www.eeworm.com/read/234590/14104719
gspca_build
#!/bin/bash
WHO=`whoami`
KERNELVER=`uname -r`
SRCDIR=/lib/modules/$KERNELVER/build
if [ $WHO != "root" ]; then
echo -e '\E[31;44m'
echo -e '\E[1m FATAL !! you must be root to run this script\E[0m'
ex
www.eeworm.com/read/229123/14352824
gspca_build
#!/bin/bash
WHO=`whoami`
KERNELVER=`uname -r`
SRCDIR=/lib/modules/$KERNELVER/build
if [ $WHO != "root" ]; then
echo -e '\E[31;44m'
echo -e '\E[1m FATAL !! you must be root to run this script\E[0m'
ex
www.eeworm.com/read/116023/14992433
makedev
#!/bin/bash
function makedev () {
for dev in 0 1 2 3; do
echo "/dev/$1$dev: char 81 $[ $2 + $dev ]"
rm -f /dev/$1$dev
mknod /dev/$1$dev c 81 $[ $2 + $dev ]
chmod 666 /dev/$1$dev
done
# s
www.eeworm.com/read/209952/15210828
gspca_build
#!/bin/bash
WHO=`whoami`
KERNELVER=`uname -r`
SRCDIR=/lib/modules/$KERNELVER/build
if [ $WHO != "root" ]; then
echo -e '\E[31;44m'
echo -e '\E[1m FATAL !! you must be root to run this script\E[0m'
ex
www.eeworm.com/read/208180/15251449
makedev
#!/bin/bash
function makedev () {
for dev in 0 1 2 3; do
echo "/dev/$1$dev: char 81 $[ $2 + $dev ]"
rm -f /dev/$1$dev
mknod /dev/$1$dev c 81 $[ $2 + $dev ]
chmod 666 /dev/$1$dev
done
# s
www.eeworm.com/read/15240/438759
rpxlite readme.rpxlite
# Porting U-Boot onto RPXlite board
# Written by Yoo. Jonghoon
# E-Mail : yooth@ipone.co.kr
# IP ONE Inc.
# Since 2001. 1. 29
# Shell : bash
# Cross-compile tools : Montavista Hardhat
# Debugging to
www.eeworm.com/read/16793/691284
tests wait-bg.tests
#! /bin/bash
i=0
while [ $i -lt $1 ]
do
/bin/sh -c "sleep 4; exit 0" &
rv=$?
pid=$!
eval bg_pid_$i=$pid
echo $$: Job $i: pid is $pid rv=$rv
i=$((i + 1))
done
i=0
while [ $
www.eeworm.com/read/16793/691606
ms article.ms
.de SE \" start example
.sp .5
.RS
.ft CR
.nf
..
.de EE \" end example
.fi
.sp .5
.RE
.ft R
..
.TL
Bash \- The GNU shell*
.AU
Chet Ramey
Case Western Reserve University
chet@po.cwru.edu
.FS
*An earlie