代码搜索:bash
找到约 5,321 项符合「bash」的源代码
代码结果 5,321
www.eeworm.com/read/16793/690948
bash cdhist.bash
#! /bin/bash
#
# cdhist - cd replacement with a directory stack like pushd/popd
#
# usage: cd [-l] [-n] [-] [dir]
#
# options:
# -l print the cd directory stack, one entry per line
# - equivalent to $
www.eeworm.com/read/16793/690955
defaults bash.defaults
##
# Bash
# User preferences file
# Override these in rc.mine
#
# Wilfredo Sanchez Jr. | tritan@mit.edu
# July 09, 1992
#
# MIT Project Athena
##
if [ -n "$PS1" ]; then
# Prompts
PS1='[\h:\w] \u
www.eeworm.com/read/16793/690959
bash_profile
# Startup file for bash login shells.
#
default_dir=/usr/local/lib/
if [ -n "$PS1" ]; then
PS1='\u@\h(\#)\$ '
IGNOREEOF=3
fi
LOGIN_SHELL=true
# If the user has her own init file, then use that on
www.eeworm.com/read/16793/690962
bash_aliases
# Some useful aliases.
alias texclean='rm -f *.toc *.aux *.log *.cp *.fn *.tp *.vr *.pg *.ky'
alias clean='echo -n "Really clean this directory?";
read yorn;
if test "$yorn" = "y"; then
rm -f \#
www.eeworm.com/read/16793/690964
bash-profile
# This is the filename where your incoming mail arrives.
MAIL=~/mbox
MAILCHECK=30
HISTFILE=~/.history/history.$HOSTNAME
PATH1=/usr/homes/chet/bin.$HOSTTYPE:/usr/local/bin/gnu:
PATH2=/usr/local/bin:/
www.eeworm.com/read/16793/690967
bash aliasconv.bash
#! /bin/bash
#
# aliasconv.bash - convert csh aliases to bash aliases and functions
#
# usage: aliasconv.bash
#
# Chet Ramey
# chet@po.cwru.edu
#
trap 'rm -f $TMPFILE' 0 1 2 3 6 15
TMPFILE=$(mktemp -
www.eeworm.com/read/16793/690970
bash fixfiles.bash
#! /bin/bash
#
# From: c2a192@ugrad.cs.ubc.ca (Kazimir Kylheku)
# Newsgroups: comp.unix.shell,comp.os.linux.misc
# Subject: GNU Bash Script to fix filenames
# Date: 28 Mar 1996 14:54:43 -0800
# Organi
www.eeworm.com/read/16793/690973
bash nohup.bash
#
# BASH VERSION OF nohup COMMAND
#
ctype()
{
path=$(builtin type -p $cmd | sed 1q)
if [ -n "$path" ]; then
echo "$path"
return 0
else
case "$cmd" in
*/*) [ -x "$cmd ] && { echo "$cmd" ; re
www.eeworm.com/read/16793/690974
bash spin.bash
#!/bin/bash
#
# spin.bash -- provide a `spinning wheel' to show progress
#
# Chet Ramey
# chet@po.cwru.edu
#
bs=$'\b'
chars="|${bs} \\${bs} -${bs} /${bs}"
# Infinite loop for demo. purposes
while
www.eeworm.com/read/16793/690981
bash showperm.bash
#Newsgroups: comp.unix.shell
#From: gwc@root.co.uk (Geoff Clare)
#Subject: Re: Determining permissions on a file
#Message-ID:
#Date: Fri, 10 May 1996 17:23:56 GMT
#Here's a bi