代码搜索:bash

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

代码结果 5,321
www.eeworm.com/read/417848/10974424

sh testit.sh

#!/bin/bash -norc set -x #ls -l /mnt/wrapfs/uname #read n file=foo-$RANDOM ## shift inward test #echo 'abcdefghijklmnopqrstuvwxyz0123456789' > /mnt/wrapfs/$file #read n #echo 'XXXXXXXXXX' | ~ib42/c
www.eeworm.com/read/463338/7183008

checksize-t45

#!/bin/bash error=0 codelimit=4096 datalimit=256 # leave 32 bytes for stack set -- `avr-size -d "$1" | awk '/[0-9]/ {print $1 + $2, $2 + $3, $2}'` if [ $1 -gt $codelimit ]; then echo "*** code size
www.eeworm.com/read/463338/7183013

checksize

#!/bin/bash error=0 codelimit=32768 datalimit=2048 # leave 32 bytes for stack set -- `avr-size -d "$1" | awk '/[0-9]/ {print $1 + $2, $2 + $3, $2}'` if [ $1 -gt $codelimit ]; then echo "*** code si
www.eeworm.com/read/458682/7291338

sh ex73.sh

#!/bin/bash # Creating a swapfile. ROOT_UID=0 # Root has $UID 0. E_WRONG_USER=65 # Not root? FILE=/swap BLOCKSIZE=1024 MINBLOCKS=40 SUCCESS=0 # This script must be run as root. if [ "$U
www.eeworm.com/read/458682/7291377

sh factr.sh

#!/bin/bash # factr.sh: Factor a number MIN=2 # Will not work for number smaller than this. E_NOARGS=65 E_TOOSMALL=66 if [ -z $1 ] then echo "Usage: $0 number" exit $E_NOARGS fi if [ "$1"
www.eeworm.com/read/458682/7291465

sh pick-card.sh

#!/bin/bash # pick-card.sh # This is an example of choosing random elements of an array. # Pick a card, any card. Suites="Clubs Diamonds Hearts Spades" Denominations="2 3 4 5 6 7 8 9 10 Jack Quee
www.eeworm.com/read/458682/7291490

sh exercising-dd.sh

#!/bin/bash # exercising-dd.sh # Script by Stephane Chazelas. # Somewhat modified by ABS Guide author. infile=$0 # This script. outfile=log.txt # This output file left behind. n=3 p=5 dd if=$
www.eeworm.com/read/458682/7291707

sh hexconvert.sh

#!/bin/bash # hexconvert.sh: Convert a decimal number to hexadecimal. E_NOARGS=65 # Command-line arg missing. BASE=16 # Hexadecimal. if [ -z "$1" ] then echo "Usage: $0 number" exit $E_NOARG
www.eeworm.com/read/458682/7291709

sh quote-fetch.sh

#!/bin/bash # quote-fetch.sh: Download a stock quote. E_NOPARAMS=66 if [ -z "$1" ] # Must specify a stock (symbol) to fetch. then echo "Usage: `basename $0` stock-symbol" exit $E_NOPARAMS fi
www.eeworm.com/read/458682/7291714

sh rnd.sh

#!/bin/bash # rnd.sh: Outputs a 10-digit random number # Script by Stephane Chazelas. head -c4 /dev/urandom | od -N4 -tu4 | sed -ne '1s/.* //p' # ==================================================