Вот шахты:
export HISTCONTROL=ignoredups
export HISTIGNORE="&:ls:bg:fg"
# set variable identifying the chroot you work in (used in the prompt below)
if [ -z "$debian_chroot" ] && [ -r /etc/debian_chroot ]; then
debian_chroot=$(cat /etc/debian_chroot)
fi
# shows you if you are in a chroot or in a git repository
PS1='${debian_chroot:+($debian_chroot)}\[\033[01;30m\]\h\[\033[00m\]:\[\033[01;34m\]\W\[\033[00m\]$(__git_ps1)\$ '
if [ -f /etc/bash_completion ]; then
. /etc/bash_completion
fi
# two handy single-letter aliases
alias u='ls -hltr'
alias e='du * -cs | sort -nr | head'
alias g='grep -C5 --color=auto'
# creates a temp dir and cds into it
alias td='pushd $(mktemp -d)'
# find <dir> <file name regexp> <file contents regexp>
function fing { find "$1" -name "$2" -exec grep -H "$3" "{}" \; }
# shows "git diff" across any project in any subdirectory
alias git-differ='for g in $(find . -name ".git"); do g=${g%%.git};printf "$g\t\t\t";pu $g >/dev/null && git diff |wc -l; p >/dev/null; done'
# does git house keeping across any project in any subdirectory
alias git-housekeep='for g in $(find . -name ".git"); do g=${g%%.git};echo $g;pu $g && git repack && git gc --auto && p;done'
# Debian update
alias apg='aptitude update && aptitude dist-upgrade && aptitude clean'
# Quick way to serve files in HTTP from the local dir
alias webs='python -m SimpleHTTPServer'
Apache должен что-то записывать в журнал ошибок или системный журнал. Или для окончательного решения попробуйте исправить это, чтобы увидеть, что не так:
strace -f /etc/init.d/apache2 start