代码搜索:bash

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

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

sh ex19.sh

#!/bin/bash # 使用'shift'来逐步存取所有的位置参数. # 给脚本命个名, 比如shft, #+ 然后给脚本传递一些位置参数, 比如: # ./shft a b c def 23 skidoo until [ -z "$1" ] # 直到所有的位置参数都被存取完... do echo -n "$1 " shift done echo
www.eeworm.com/read/438832/7725797

sh ex75.sh

#!/bin/bash # 这个脚本的目的是删除当前目录下的某些文件, #+ 这些文件特指那些文件名包含空格的文件. # 但是不能如我们所愿的那样工作. # 为什么? badname=`ls | grep ' '` # 试试这个: # echo "$badname" rm "$badname" exit 0
www.eeworm.com/read/438832/7725811

sh findstring.sh

#!/bin/bash # findstring.sh: # 在一个指定目录的所有文件中查找一个特定的字符串. directory=/usr/bin/ fstring="Free Software Foundation" # 查看哪个文件中包含FSF. for file in $( find $directory -type f -name '*' | sort ) do strings
www.eeworm.com/read/438832/7725826

sh logging-wrapper.sh

#!/bin/bash # 通用的shell包装, #+ 执行一个操作, 然后把所作的操作写入到日志文件中. # 需要设置如下两个变量. OPERATION= # 可以是一个复杂的命令链, #+ 比如awk脚本或者一个管道 . . . LOGFILE= # 命令行参数, 不管怎么样, 操作一般都需要参数. (译者注: 这行解释的是下面的OP
www.eeworm.com/read/438832/7725844

sh missing-keyword.sh

#!/bin/bash # missing-keyword.sh: 这个脚本会产生什么错误? for a in 1 2 3 do echo "$a" # done # 第7行上的关键字done'被注释掉了. exit 0
www.eeworm.com/read/438636/7728805

sh makepack.sh

#!/bin/bash NOWDATE=`date +%0Y%0m%0d%H%M` rm -rf html doxygen compiler.Doxyfile tar czvf /tmp/html.tgz html cd /tmp cvs co compiler tar czvf compiler-$NOWDATE.tgz compiler rm -rf compiler
www.eeworm.com/read/436014/7778990

install

Links Compile: Unix - use ./configure; make in some FreeBSD 3 distributions you have to set CFLAGS=-aout before running ./configure. Tested on Linux, FreeBSD, Solaris, IRIX If counfigure fails,
www.eeworm.com/read/399490/7858542

txt abs_guide_cn.txt

译者序 毫无疑问,UNIX/Linux最重要的软件之一就是shell,目前最流行的shell被称为<mark>Bash</mark>(Bourne Again Shell),几乎所有的Linux和绝大部分的UNIX都可以使用<mark>Bash</mark>。作为系统与用户之间的交互接口,shell几乎是你在UNIX工作平台上最亲密的朋友,因此,学好shell,是学习Linux/UNIX的的开始,并且它会始终伴随你的工作学习。 shel ...
www.eeworm.com/read/299340/7866160

html 4.html

www.eeworm.com/read/297233/8039166

x-lynx

# /bin/cc is hopelessly broken, so we must use /bin/gcc instead. CC = $(OLDCC) OLDCC = /bin/gcc # /bin/sh is too buggy, so use /bin/bash instead. SHELL = /bin/bash # Show we need to use the C versio