代码搜索:bash

找到约 5,321 项符合「bash」的源代码

代码结果 5,321
www.eeworm.com/read/110034/6172045

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/102935/6230733

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/101990/6234768

init0002

#!/bin/bash # # Test pkcs15-init # # Run this from the regression test directory. . functions skip_if_card Cryptoflex Cyberflex Multiflex p15_init --so-pin 999999 --so-puk 88888888 p15_set_pin -a 2
www.eeworm.com/read/237496/6305882

sh kernel_patch.sh

#!/bin/bash # arg1: kernel source root dir # arg2..n: files to copy #set -x if [ $# -ne 1 ]; then echo "#ERR call $0 kernel_root_dir" echo "set environment vars DRV_SRC, DRV_HDR to th
www.eeworm.com/read/486207/6538186

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/260220/11739014

pci550x_load

#!/bin/bash module="pci550x" device="pci550x" mode="664" # invoke insmod with all arguments we were passed /sbin/insmod /lib/modules/`uname -r`/misc/$module.o $* || exit 1 # remove stale nodes rm -f
www.eeworm.com/read/339483/12230425

sh q-function.sh

#!/bin/bash # Douglas Hofstadter's notorious "Q-series": # Q(1) = Q(2) = 1 # Q(n) = Q(n - Q(n-1)) + Q(n - Q(n-2)), for n>2 # This is a "chaotic" integer series with strange and unpredictable beh
www.eeworm.com/read/339483/12230488

sh file-comparison.sh

#!/bin/bash ARGS=2 # Two args to script expected. E_BADARGS=65 E_UNREADABLE=66 if [ $# -ne "$ARGS" ] then echo "Usage: `basename $0` file1 file2" exit $E_BADARGS fi if [[ ! -r "$1" || ! -r "$2
www.eeworm.com/read/339483/12230785

sh ex79.sh

#!/bin/bash # Cards: # Deals four random hands from a deck of cards. UNPICKED=0 PICKED=1 DUPE_CARD=99 LOWER_LIMIT=0 UPPER_LIMIT=51 CARDS_IN_SUIT=13 CARDS=52 declare -a Deck declare -a Suits decla
www.eeworm.com/read/339483/12231753

sh strip-comments.sh

#!/bin/bash # strip-comment.sh: Strips out the comments (/* COMMENT */) in a C program. E_NOARGS=0 E_ARGERROR=66 E_WRONG_FILE_TYPE=67 if [ $# -eq "$E_NOARGS" ] then echo "Usage: `basename $0` C-pr