#!/bin/bash # genrandomdata.sh for i in $(seq 1 10) do echo $i $(($RANDOM/8192+3)) $((RANDOM/10+3000)) done
bash+shell 源代码
汇集 bash+shell 相关的电路原理图、PCB工程文件、单片机/FPGA源代码、数据手册与应用设计方案。
AUTOMAKE_OPTIONS = foreign EXTRA_DIST = make_and_test.pl \ summarize_config.pl \ summarize_make_and_test.pl \ …
bash$ gcc -c -Wall -D_GNU_SOURCE hello.c -o hello.o bash$ gcc -c hello.o -o hello bash$ ./hello Hello World! bash$ echo $? 0 bash$
AUTOMAKE_OPTIONS = foreign EXTRA_DIST = make_and_test.pl \ summarize_config.pl \ summarize_make_and_test.pl \ …
#!/bin/ksh #!/bin/bash read string message=111 a1=${string:+$message} echo $a1 echo $string echo $message
#!/bin/bash # stop all openvpn processes killall -TERM openvpn
#!/bin/bash killall -s INT wmd sleep 1 rmmod wm
#!/bin/bash echo "1 is: $1" echo "2 is: $2" echo "3 is: $3" echo "4 is: $4" cd $1 cvs -d $2 commit -m"Anthill_Commit" $4
#!/bin/bash cd $1 ss cp $2 -y$3,$4 ss get * -R -I-Y -O- -y$3,$4
#!/bin/bash ./configure --enable-fulloptimize --with-SCALAR=float