代码搜索:bash
找到约 5,321 项符合「bash」的源代码
代码结果 5,321
www.eeworm.com/read/430746/8729813
sh sh1.sh
#!/bin/bash
loop=1
username="123"
passwd="123"
while [ $loop -lt 4 ]
do
echo -e "Please input username:\c"
read user1
echo -e "Please input password:\c"
read pass1
if [ $username = $user1 -a $passwd
www.eeworm.com/read/285789/8817512
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/284120/8965463
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/382117/9048954
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/377327/9280871
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/425454/10355336
sh adhoc.sh
#!/bin/bash
WLAN_INTERFACE=wlan0
#configure wlan encrypt key
#iwconfig $WLAN_INTERFACE enc s:0987654321abc [1]
ifconfig $WLAN_INTERFACE down
iwconfig $WLAN_INTERFACE mode Ad-Hoc
#configure wlan essid,
www.eeworm.com/read/423558/10548622
sh 64_libfetion.sh
#!/bin/bash
TARGET_FILE=linux-fetion.pro
IS_CPU_64BIT=1
#echo $TARGET_FILE
#gcc --version
#gcc -dumpmachine
if [ $IS_CPU_64BIT -eq 0 ] ; then
sed -i -e "/libfetion.a/c LIBS += -lcurl ./lib/li
www.eeworm.com/read/175081/6959301
step
#!/bin/bash
#sed 's/Iris-setosa/0/;s/Iris-versicolor/1/;s/Iris-virginica/2/;
# s/\(.*\) \(.*\) \(.*\) \(.*\) \(.*\)$/\3 \4 \1 \2 \5/' \
# iris.tab > iris.trn
echo "petal_length petal_width ir
www.eeworm.com/read/469346/6973354
sh adduser2.sh
#!/bin/bash
LOCK_FILE=/tmp/lock
User_List=./user.list
Passwd_List=./passwd.list
PASSWORD="123456"
if [ -f $LOCK_FILE ];then
pid="`cat $LOCK_FILE`"
ps -p $pid | grep $pid > /dev/null
if [ $? = 0 ];the
www.eeworm.com/read/463331/7183098
sh setenv.sh
#!/bin/bash
export EZXDIR=/opt/dev-ezx-0.2.0/ezx
export QTDIR=/opt/dev-ezx-0.2.0/qt-2.3.6
export QMAKESPEC=$QTDIR/mkspecs/qws/linux-ipaq-g++
#for leprechaun's toolchain user
#export TOOLCHAIN_DIR=/o