代码搜索:bash
找到约 5,321 项符合「bash」的源代码
代码结果 5,321
www.eeworm.com/read/232412/14195579
sh showgroup.sh
#!/bin/bash
MIGGROUP=$1
PROCESSES=`ls /proc | grep [0-9]`
function usage() {
echo "Usage: showgroup [process-group]"
echo
exit -1
}
if [ $# != 1 ]; then
usage
fi
echo $MIGGROUP | grep [0-9] 1
www.eeworm.com/read/232412/14195596
sh migrategroup.sh
#!/bin/bash
MIGGROUP=$1
NODEID=$2
PROCESSES=`ls /proc | grep [0-9]`
function usage() {
echo "Usage: miggroup [process-group] [node-ID]"
echo
exit -1
}
if [ $# != 2 ]; then
usage
fi
echo $MIGG
www.eeworm.com/read/231996/14212017
genalldparams
#!/bin/bash
# Generates all type D curve parameters within certain limits
#
# Use with the output of listmnt
function myfunc {
until [ -z "$1" ]
do
filename=d$1-$2-$3.param
gen/gendparam $1
www.eeworm.com/read/124153/14592990
configure
#!/bin/sh
echo_n() {
if [ -n "$BASH" ]
then
echo -n "$*"
else
echo "$*\c"
fi
}
echo_n "Configuring libpci for your system..."
sharedir=${1:-/usr/share}
version=${2:-0.0}
sys=`uname -s`
rel=`
www.eeworm.com/read/217561/14958345
ipvsadm-save
#!/bin/bash
# ipvsadm-save - Save IPVS rules
#
# A very simple wrapper to save IPVS rules
# Inspired by ipchains-save.
#
# Version: $Id: ipvsadm-save,v 1.3 2001/03/22 12:57:46 wens
www.eeworm.com/read/210713/15192951
sh uninstall.sh
#!/bin/bash
# $Id: uninstall.sh,v 1.1 2000/12/17 14:21:57 amos Exp $
# Script to uninstall Apollo
for arg in $*; do
case $arg in
--help|-h)
echo "Usage: $0 [options]"
echo
echo "O
www.eeworm.com/read/16793/690800
c vi_mode.c
/* vi_mode.c -- A vi emulation mode for Bash.
Derived from code written by Jeff Sparkes (jsparkes@bnr.ca). */
/* Copyright (C) 1987-2010 Free Software Foundation, Inc.
This file is part of th
www.eeworm.com/read/16793/690845
mhfold
# To: chet@ins.CWRU.Edu
# Subject: Bash functions
# From: Sandeep Mehta
# print MH folders, useful only because folders(1) doesn't print
# mod date/times
mhfold()
{
list=`
www.eeworm.com/read/16793/690929
pmtop
#! /bin/bash
#
# pmtop - poor man's `top' for SunOS 4.x
#
CLEAR=clear # could also be 'tput clear'
HEADER="USER PID %CPU %MEM SZ RSS TT STAT START TIME COMMAND"
if [ -n "$LINES" ]; then
S
www.eeworm.com/read/16793/690951
ren
#!/bin/bash
#@ This program came from: ftp://ftp.armory.com/pub/scripts/ren
#@ Look there for the latest version.
#@ If you don't find it, look through http://www.armory.com/~ftp/
#
# @(#) ren 2.1.1 2