代码搜索:bash

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

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

sh ex78.sh

#!/bin/bash # 间接变量引用. # 这种方法比较像C++中的引用特性. a=letter_of_alphabet letter_of_alphabet=z echo "a = $a" # 直接引用. echo "Now a = ${!a}" # 间接引用. # ${!variable}表示法比老式的"eval var1=\$$var2"表示法
www.eeworm.com/read/438832/7725780

sh escaped.sh

#!/bin/bash # escaped.sh: 转义符 echo; echo echo "\v\v\v\v" # 逐字的打印\v\v\v\v. # 使用-e选项的'echo'命令来打印转义符. echo "=============" echo "VERTICAL TABS" echo -e "\v\v\v\v" # 打印4个垂直制表符. echo "============
www.eeworm.com/read/438832/7725823

sh ex49.sh

#!/bin/bash # 把一个文件的内容全部转换为大写. E_BADARGS=65 if [ -z "$1" ] # 检查命令行参数. then echo "Usage: `basename $0` filename" exit $E_BADARGS fi tr a-z A-Z
www.eeworm.com/read/438832/7725835

sh ind-func.sh

#!/bin/bash # ind-func.sh: 将一个间接引用传递给函数. echo_var () { echo "$1" } message=Hello Hello=Goodbye echo_var "$message" # Hello # 现在,让我们传递一个间接引用给函数. echo_var "${!message}" # Goodbye echo "
www.eeworm.com/read/438832/7725864

sh dev-tcp.sh

#!/bin/bash # dev-tcp.sh: 利用/dev/tcp重定向来检查Internet连接. # 本脚本由Troy Engel编写. # 经过授权在本书中使用. TCP_HOST=www.dns-diy.com # 一个已知的对垃圾邮件友好的ISP. TCP_PORT=80 # 端口80是http. # 尝试连接. (有些像'p
www.eeworm.com/read/399805/7834835

sh make32.sh

#!/bin/bash ## Use this script to build a complete complement of 32-bit videoIO plugins ## assuming that 32-bit ffmpeg and 32-bit Matlab are to be used (on either a ## 32-bit or 64-bit GNU/Linux syst
www.eeworm.com/read/399805/7835086

sh make64.sh

#!/bin/bash ## Use this script to build a complete complement of 64-bit videoIO plugins ## assuming that 64-bit ffmpeg and 64-bit Matlab are to be used (on a 64-bit ## GNU/Linux system). make $BASH
www.eeworm.com/read/198531/7931052

build-ca

#!/bin/bash # # Build a root certificate # if test $KEY_DIR; then cd $KEY_DIR && \ openssl req -days 3650 -nodes -new -x509 -keyout ca.key -out ca.crt -config $KEY_CONFIG else echo you must defin
www.eeworm.com/read/144853/12769758

html 215.html

www.eeworm.com/read/241072/13171593

txt ramdisk.txt

(一)查看ramdisk的内容 注:首先需要把ramdisk的扩展名更改为.gz,然后解压 bash$ su Password : bash$ mkdir /mnt/your_ramdisk_directory bash$ mount -o loop your_ramdisk /mnt/your_ramdisk_directory Now "your_ramdisk" is