代码搜索:bash

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

代码结果 5,321
www.eeworm.com/read/438832/7725886

sh self-exec.sh

#!/bin/bash # self-exec.sh echo echo "This line appears ONCE in the script, yet it keeps echoing." echo "The PID of this instance of the script is still $$." # 上边这行展示了并没有fork出子shell. echo "====
www.eeworm.com/read/198531/7931029

clean-all

#!/bin/bash # # Initialize the $KEY_DIR directory. # Note that this script does a # rm -rf on $KEY_DIR so be careful! # d=$KEY_DIR if test $d; then rm -rf $d mkdir $d && \ chmod go-rwx $d && \
www.eeworm.com/read/332172/12774734

sh app_backup.sh

#/bin/bash #set Variable MONTH=`date +"%Y%m"` logFile=/backup/.script/ntpms/log/app/backup_"$MONTH".log backDir=/backup/program sourceDir=/home/weblogic/ntpms dest_backDir=/backup/program ftp_dest=13
www.eeworm.com/read/320055/13433941

auto-downloader

#!/bin/bash # THU wlxt auto-downloader # # Usage: # $chmod a+x auto-downloader # $./auto-downloader # # dinstein@FREE dinstein@163.com http://dinstein.cublog.cn # # CHAR="gbk" # your local C
www.eeworm.com/read/147142/5733453

run

#! /bin/bash echo Generating dataset ../Generator -ds 1000 -sl 100 > d awk '{if ($2 != 2) print $0}' < d > data awk '{if ($2 == 2 && $3 >= 100) print $0}' < d > queries rm -rf d echo Creating new TP
www.eeworm.com/read/147142/5733455

run

#! /bin/bash echo Generating dataset ../Generator 10000 0 > d awk '{if ($1 == 1) print $0}' < d > data awk '{if ($1 == 2) print $0}' < d > queries rm -rf d echo Creating new R-Tree ../RTreeLoad data
www.eeworm.com/read/147142/5733457

run

#! /bin/bash echo Generating dataset ../Generator 1000 100 > d awk '{if ($1 != 2) print $0}' < d > data awk '{if ($1 == 2) print $0}' < d > queries rm -rf d echo Creating new R-Tree ../RTreeLoad dat
www.eeworm.com/read/144212/5753014

xterm_title

#! /bin/bash # # xterm_title - print the contents of the xterm title bar # # Derived from http://www.clark.net/pub/dickey/xterm/xterm.faq.html#how2_title # P=${0##*/} [ -z "$DISPLAY" ] && { echo "${P
www.eeworm.com/read/144212/5753019

sh adventure.sh

#!/bin/bash # ash -- "Adventure shell" # last edit: 86/04/21 D A Gwyn # SCCS ID: @(#)ash.sh 1.4 OPATH=$PATH ask() { echo -n "$@" '[y/n] ' read ans case "$ans" in y*|Y*) return 0 ;; *) re
www.eeworm.com/read/126411/6017675

sh adventure.sh

#!/bin/bash # ash -- "Adventure shell" # last edit: 86/04/21 D A Gwyn # SCCS ID: @(#)ash.sh 1.4 OPATH=$PATH ask() { echo -n "$@" '[y/n] ' read ans case "$ans" in y*|Y*) return 0 ;; *) re