代码搜索:bash
找到约 5,321 项符合「bash」的源代码
代码结果 5,321
www.eeworm.com/read/126411/6017665
dirfuncs
#
# Directory manipulation functions from the book 'The Korn Shell'
# Modified for use with bash Mon Apr 18 08:37 1994 by
# Ken Konecki (kenk@wfg.com)
#
# Modified by Chet Ramey
#
# This could stand t
www.eeworm.com/read/487037/6522743
txt 新建 文本文档 (2).txt
cpp09
bash-2.05$ cat computer.cc
#include
using namespace std;
class Printer{
int pages;
public:
void setPages(int n);
int getPages();
virtual v
www.eeworm.com/read/263657/11348770
cgi unix.cgi
/.pl
/....../etc/hosts
/../../../../etc/hosts
/.access
/.bash_history
/.htaccess
/.htpasswd
/.passwd
/~bin
/~ftp
/~guest
/~log
/~logs
/~lp
/~named
/~root
/~test
/~tmp
/bb-dnbd/bb-his
www.eeworm.com/read/344208/11900850
redhat_init slpd.redhat_init
#!/bin/bash
#
# /etc/rc.d/init.d/slpd
#
# Starts the at daemon
#
# chkconfig: 345 40 60
# description: OpenSLP daemon for the Service Location Protocol
# processname: slpd
# Source function library.
www.eeworm.com/read/256581/11986433
redhat multipathd.init.redhat
#!/bin/bash
#
# /etc/rc.d/init.d/multipathd
#
# Starts the multipath daemon
#
# chkconfig: - 13 87
# description: Manage device-mapper multipath devices
# processname: multipathd
DAEMON=/sbin/multip
www.eeworm.com/read/339483/12230387
sh random-test.sh
#!/bin/bash
# How random is RANDOM?
RANDOM=$$ # Reseed the random number generator using script process ID.
PIPS=6 # A die has 6 pips.
MAXTHROWS=600 # Increase this if you have noth
www.eeworm.com/read/339483/12230401
sh ex53.sh
#!/bin/bash
# Using "seq"
echo
for a in `seq 80` # or for a in $( seq 80 )
# Same as for a in 1 2 3 4 5 ... 80 (saves much typing!).
# May also use 'jot' (if present on system).
do
echo -n
www.eeworm.com/read/339483/12230450
sh dd-keypress.sh
#!/bin/bash
# dd-keypress.sh: Capture keystrokes without needing to press ENTER.
keypresses=4 # Number of keypresses to capture.
old_tty_setting=$(stty -g) # Save old t
www.eeworm.com/read/339483/12230451
sh ex5.sh
#!/bin/bash
echo hello
echo $? # Exit status 0 returned because command executed successfully.
lskdf # Unrecognized command.
echo $? # Non-zero exit status returned because command failed
www.eeworm.com/read/339483/12230479
sh copyarray.sh
#! /bin/bash
# CopyArray.sh
#
# This script written by Michael Zick.
# Used here with permission.
# How-To "Pass by Name & Return by Name"
#+ or "Building your own assignment statement".
CpArray_M