代码搜索:bash

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

代码结果 5,321
www.eeworm.com/read/458682/7291516

sh max2.sh

#!/bin/bash # max2.sh: Maximum of two LARGE integers. # This is the previous "max.sh" example, #+ modified to permit comparing large integers. EQUAL=0 # Return value if both params equa
www.eeworm.com/read/458682/7291517

sh ex21.sh

#!/bin/bash # $RANDOM returns a different random integer at each invocation. # Nominal range: 0 - 32767 (signed 16-bit integer). MAXCOUNT=10 count=1 echo echo "$MAXCOUNT random numbers:" echo "----
www.eeworm.com/read/458682/7291647

sh soundcard-on.sh

#!/bin/bash # soundcard-on.sh # Script author: Mkarcher # http://www.thinkwiki.org/wiki ... # /Script_for_configuring_the_CS4239_sound_chip_in_PnP_mode # ABS Guide author made minor changes and
www.eeworm.com/read/458682/7291649

sh ex30a.sh

#!/bin/bash # ex30a.sh: "Colorized" version of ex30.sh. # Crude address database clear # Clear the screen. echo -n " " echo -e '\E[37;44m'"\033
www.eeworm.com/read/458682/7291671

sh draw-box.sh

#!/bin/bash # Draw-box.sh: Drawing a box using ASCII characters. # Script by Stefano Palmeri, with minor editing by document author. # Minor edits suggested by Jim Angstadt. # Used in the "ABS Guide"
www.eeworm.com/read/458682/7291708

sh file-info.sh

#!/bin/bash # fileinfo.sh FILES="/usr/sbin/accept /usr/sbin/pwck /usr/sbin/chroot /usr/bin/fakefile /sbin/badblocks /sbin/ypbind" # List of files you are curious about. # Threw
www.eeworm.com/read/458682/7291718

sh bashpodder.sh

#!/bin/bash # bashpodder.sh: # By Linc 10/1/2004 # Find the latest script at #+ http://linc.homeunix.org:8080/scripts/bashpodder # Last revision 12/14/2004 - Many Contributors! # If you use this
www.eeworm.com/read/458682/7291719

sh ex48.sh

#!/bin/bash # Copying a directory tree using cpio. # Advantages of using 'cpio': # Speed of copying. It's faster than 'tar' with pipes. # Well suited for copying special files (named pipes, etc.
www.eeworm.com/read/458682/7291726

sh ifs.sh

#!/bin/bash # $IFS treats whitespace differently than other characters. output_args_one_per_line() { for arg do echo "[$arg]" done } echo; echo "IFS=\" \"" echo "-------" IFS=" " var=" a b c
www.eeworm.com/read/458682/7291727

sh bad-op.sh

#!/bin/bash # bad-op.sh: Trying to use a string comparison on integers. echo number=1 # The following "while loop" has two errors: #+ one blatant, and the other subtle. while [ "$number" < 5 ] #