代码搜索:bash

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

代码结果 5,321
www.eeworm.com/read/339483/12230502

sh spawn.sh

#!/bin/bash # spawn.sh PIDS=$(pidof sh $0) # Process IDs of the various instances of this script. P_array=( $PIDS ) # Put them in an array (why?). echo $PIDS # Show process IDs of pare
www.eeworm.com/read/339483/12230727

sh ex17.sh

#!/bin/bash # Call this script with at least 10 parameters, for example # ./scriptname 1 2 3 4 5 6 7 8 9 10 MINPARAMS=10 echo echo "The name of this script is \"$0\"." # Adds ./ for current directo
www.eeworm.com/read/339483/12230734

sh archiveweblogs.sh

#!/bin/bash # archiveweblogs.sh v1.0 # Troy Engel <tengel@fluid.com> # Slightly modified by document author. # Used with permission. # # This script will preserve the normally rotated and #+ t
www.eeworm.com/read/339483/12230809

sh viewdata.sh

#!/bin/bash # viewdata.sh # Conversion of VIEWDATA.BAT to shell script. DATAFILE=/home/bozo/datafiles/book-collection.data ARGNO=1 # @ECHO OFF Command unnecessary here. if [ $# -lt
www.eeworm.com/read/339483/12230839

sh redir1.sh

#!/bin/bash # Redirecting stdin using 'exec'. exec 6
www.eeworm.com/read/339483/12230885

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/339483/12230890

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/339483/12231210

html untyped.html

Bash Variables Are Untyped
www.eeworm.com/read/339483/12231381

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/339483/12231589

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