Linux localhost 4.18.0-553.85.1.el8_10.x86_64 #1 SMP
Apache/2.4.68 (Unix)
: | : 216.73.217.42
Cant Read [ /etc/named.conf ]
8.1.34
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
usr /
bin /
[ HOME SHELL ]
Name
Size
Permission
Action
[
63.53
KB
-rwxr-xr-x
animate
8.61
KB
-rwxr-xr-x
awk
763.51
KB
-rwxr-xr-x
b2sum
77.4
KB
-rwxr-xr-x
base32
55.69
KB
-rwxr-xr-x
base64
55.68
KB
-rwxr-xr-x
basename
46.9
KB
-rwxr-xr-x
basenc
69.75
KB
-rwxr-xr-x
bash
1.51
MB
-rwxr-xr-x
bashbug
6.7
KB
-r-xr-xr-x
bunzip2
282.37
KB
-rwxrwxr-x
bzcat
282.37
KB
-rwxrwxr-x
bzcmp
2.09
KB
-rwxrwxr-x
bzdiff
2.09
KB
-rwxrwxr-x
bzegrep
2.01
KB
-rwxrwxr-x
bzfgrep
2.01
KB
-rwxrwxr-x
bzgrep
2.01
KB
-rwxrwxr-x
bzip2
282.37
KB
-rwxrwxr-x
bzip2recover
28.73
KB
-rwxrwxr-x
bzless
1.23
KB
-rwxrwxr-x
bzmore
1.23
KB
-rwxrwxr-x
cat
52.81
KB
-rwxr-xr-x
chcon
88.21
KB
-rwxr-xr-x
chgrp
87.02
KB
-rwxr-xr-x
chmod
57.21
KB
-rwxr-xr-x
chown
87.2
KB
-rwxr-xr-x
chroot
60.1
KB
-rwxr-xr-x
cksum
51.06
KB
-rwxr-xr-x
col
23.88
KB
-rwxr-xr-x
comm
56.23
KB
-rwxr-xr-x
compare
12.69
KB
-rwxr-xr-x
composite
8.56
KB
-rwxr-xr-x
conjure
8.55
KB
-rwxr-xr-x
convert
8.55
KB
-rwxr-xr-x
cp
151.55
KB
-rwxr-xr-x
csplit
166.02
KB
-rwxr-xr-x
curl
320.79
KB
-rwxr-xr-x
cut
60.67
KB
-rwxr-xr-x
cvs
795.5
KB
-rwxr-xr-x
date
60.74
KB
-rwxr-xr-x
dd
88.95
KB
-rwxr-xr-x
df
102.88
KB
-rwxr-xr-x
diff
195.46
KB
-rwxr-xr-x
dir
174.98
KB
-rwxr-xr-x
dircolors
59.88
KB
-rwxr-xr-x
dirname
46.75
KB
-rwxr-xr-x
du
110.34
KB
-rwxr-xr-x
echo
50.54
KB
-rwxr-xr-x
egrep
28
B
-rwxr-xr-x
env
28.33
KB
-rwxr-xr-x
ex
4
MB
-rwxr-xr-x
expand
52
KB
-rwxr-xr-x
expr
160.28
KB
-rwxr-xr-x
factor
94.27
KB
-rwxr-xr-x
false
46.25
KB
-rwxr-xr-x
fgrep
28
B
-rwxr-xr-x
find
1.69
MB
-rwxr-xr-x
fmt
60.36
KB
-rwxr-xr-x
fold
51.55
KB
-rwxr-xr-x
ftp
171.21
KB
-rwxr-xr-x
funzip
30.25
KB
-rwxr-xr-x
gawk
763.51
KB
-rwxr-xr-x
geqn
144.41
KB
-rwxr-xr-x
git
4.47
MB
-rwxr-xr-x
git-cvsserver
159.46
KB
-rwxr-xr-x
git-receive-pack
4.47
MB
-rwxr-xr-x
git-shell
2.69
MB
-rwxr-xr-x
git-upload-archive
4.47
MB
-rwxr-xr-x
git-upload-pack
4.47
MB
-rwxr-xr-x
gpic
180.41
KB
-rwxr-xr-x
grep
320.13
KB
-rwxr-xr-x
groff
81.63
KB
-rwxr-xr-x
groups
51.22
KB
-rwxr-xr-x
gtar
655.36
KB
-rwxr-xr-x
gtbl
115.96
KB
-rwxr-xr-x
gunzip
2.28
KB
-rwxr-xr-x
gzexe
6.29
KB
-rwxr-xr-x
gzip
131.16
KB
-rwxr-xr-x
head
40.51
KB
-rwxr-xr-x
hostid
46.62
KB
-rwxr-xr-x
hostname
15.41
KB
-rwxr-xr-x
htpasswd
217.91
KB
-rwxrwxr-x
id
36.52
KB
-rwxr-xr-x
identify
8.6
KB
-rwxr-xr-x
import
8.6
KB
-rwxr-xr-x
info
398.34
KB
-rwxr-xr-x
install
181.31
KB
-rwxr-xr-x
install-info
151.73
KB
-rwxr-xr-x
jhead
79.46
KB
-rwxrwxr-x
join
77.8
KB
-rwxr-xr-x
kill
51.71
KB
-rwxr-xr-x
ksh
1.45
MB
-rwxr-xr-x
less
243.45
KB
-rwxr-xr-x
lessecho
12.98
KB
-rwxr-xr-x
lesskey
19.48
KB
-rwxr-xr-x
link
46.61
KB
-rwxr-xr-x
ln
90.14
KB
-rwxr-xr-x
locale
37.11
KB
-rwxr-xr-x
logname
46.66
KB
-rwxr-xr-x
ls
114.85
KB
-rwxr-xr-x
lzcat
310.7
KB
-rwxr-xr-x
lzcmp
7.41
KB
-rwxr-xr-x
lzdiff
7.41
KB
-rwxr-xr-x
lzegrep
10.17
KB
-rwxr-xr-x
lzfgrep
10.17
KB
-rwxr-xr-x
lzgrep
10.17
KB
-rwxr-xr-x
lzless
2.33
KB
-rwxr-xr-x
lzma
310.7
KB
-rwxr-xr-x
lzmadec
47.3
KB
-rwxr-xr-x
lzmainfo
62.14
KB
-rwxr-xr-x
lzmore
2.18
KB
-rwxr-xr-x
mail
383.67
KB
-rwxr-xr-x
makeinfo
52.86
KB
-rwxr-xr-x
man
100.44
KB
-rwxr-xr-x
mc
1.32
MB
-rwxr-xr-x
mcdiff
1.32
MB
-rwxr-xr-x
mcedit
1.32
MB
-rwxr-xr-x
mcview
1.32
MB
-rwxr-xr-x
md5sum
60.48
KB
-rwxr-xr-x
mkdir
77.9
KB
-rwxr-xr-x
mkfifo
88.56
KB
-rwxr-xr-x
mknod
92.85
KB
-rwxr-xr-x
mktemp
61.2
KB
-rwxr-xr-x
mogrify
8.55
KB
-rwxr-xr-x
montage
8.55
KB
-rwxr-xr-x
more
40.15
KB
-rwxr-xr-x
mv
127.3
KB
-rwxr-xr-x
mysql
9.1
MB
-rwx--x--x
mysqldump
8.25
MB
-rwx--x--x
mysqlimport
7.95
MB
-rwx--x--x
mysqlshow
7.95
MB
-rwx--x--x
nano
914.13
KB
-rwxr-xr-x
neqn
271
B
-rwxr-xr-x
nice
50.86
KB
-rwxr-xr-x
nl
153.14
KB
-rwxr-xr-x
nohup
51.47
KB
-rwxr-xr-x
nproc
51.19
KB
-rwxr-xr-x
nroff
3.31
KB
-rwxr-xr-x
numfmt
81.95
KB
-rwxr-xr-x
od
64.81
KB
-rwxr-xr-x
openssl
974.41
KB
-rwxr-xr-x
paste
51.22
KB
-rwxr-xr-x
pathchk
50.69
KB
-rwxr-xr-x
pdftexi2dvi
1.14
KB
-rwxr-xr-x
pear
830
B
-rwxr-xr-x
pear5
830
B
-rwxr-xr-x
perl
3.6
MB
-rwxr-xr-x
perl5
3.6
MB
-rwxr-xr-x
perl510
3.6
MB
-rwxr-xr-x
perl510pl
3.6
MB
-rwxr-xr-x
perl518
1.48
MB
-rwxr-xr-x
perl536
3.6
MB
-rwxr-xr-x
perl58
3.6
MB
-rwxr-xr-x
perl58pl
3.6
MB
-rwxr-xr-x
perl5pl
3.6
MB
-rwxr-xr-x
php
26.42
KB
-rwxrwxr-x
php3
16.61
MB
-rwxr-xr-x
php4
16.61
MB
-rwxr-xr-x
php43
16.61
MB
-rwxr-xr-x
php43pl
16.61
MB
-rwxr-xr-x
php44
16.61
MB
-rwxr-xr-x
php44pl
16.61
MB
-rwxr-xr-x
php5
16.61
MB
-rwxr-xr-x
php52
16.61
MB
-rwxr-xr-x
php53
26.42
KB
-rwxrwxr-x
php53es
15.44
MB
-rwxr-xr-x
php55
16.61
MB
-rwxr-xr-x
php56
26.42
KB
-rwxrwxr-x
php56es
16.61
MB
-rwxr-xr-x
php5pl
16.61
MB
-rwxr-xr-x
php70
26.42
KB
-rwxrwxr-x
php70es
16.21
MB
-rwxr-xr-x
php71
26.42
KB
-rwxrwxr-x
php71es
17.61
MB
-rwxr-xr-x
php72
26.42
KB
-rwxrwxr-x
php72es
20.37
MB
-rwxr-xr-x
php73
26.42
KB
-rwxrwxr-x
php73es
20.82
MB
-rwxr-xr-x
php74
26.42
KB
-rwxrwxr-x
php74es
22.37
MB
-rwxr-xr-x
php80
26.42
KB
-rwxrwxr-x
php80es
22.36
MB
-rwxr-xr-x
php81
26.42
KB
-rwxrwxr-x
php81es
24.53
MB
-rwxr-xr-x
php82
24.68
MB
-rwxr-xr-x
php83
26.71
MB
-rwxr-xr-x
php84
29.77
MB
-rwxr-xr-x
php85
32.79
MB
-rwxr-xr-x
phpdbg56
16.74
MB
-rwxr-xr-x
phpdbg70
16.43
MB
-rwxr-xr-x
phpdbg71
17.85
MB
-rwxr-xr-x
phpdbg72
20.61
MB
-rwxr-xr-x
phpdbg73
21.06
MB
-rwxr-xr-x
phpdbg74
22.38
MB
-rwxr-xr-x
phpdbg80
22.38
MB
-rwxr-xr-x
phpdbg81
24.54
MB
-rwxr-xr-x
phpdbg82
24.69
MB
-rwxr-xr-x
phpdbg83
26.72
MB
-rwxr-xr-x
phpdbg84
29.78
MB
-rwxr-xr-x
phpdbg85
32.81
MB
-rwxr-xr-x
pinky
56.7
KB
-rwxr-xr-x
pod2texi
19.93
KB
-rwxr-xr-x
postinstall.sh
518
B
-rwxr-xr-x
pr
101.19
KB
-rwxr-xr-x
printenv
46.52
KB
-rwxr-xr-x
printf
59.99
KB
-rwxr-xr-x
ptx
187.99
KB
-rwxr-xr-x
pwd
32.45
KB
-rwxr-xr-x
pydoc
88
B
-rwxrwxr-x
python
7.95
MB
-rwxr-xr-x
python2.7
7.95
MB
-rwxr-xr-x
python3
23.85
MB
-rwxr-xr-x
readlink
60.95
KB
-rwxr-xr-x
realpath
65.32
KB
-rwxr-xr-x
rm
61.4
KB
-rwxr-xr-x
rmdir
44.46
KB
-rwxr-xr-x
rnano
914.13
KB
-rwxr-xr-x
rsync
621.54
KB
-rwxr-xr-x
rsync-ssl
5.02
KB
-rwxr-xr-x
ruby
2.55
MB
-rwxr-xr-x
runcon
51.4
KB
-rwxr-xr-x
rview
4
MB
-rwxr-xr-x
rvim
4
MB
-rwxr-xr-x
scalar
2.74
MB
-rwxr-xr-x
scp
249.52
KB
-rwxrwxr-x
sed
74.29
KB
-rwxr-xr-x
seq
55.73
KB
-rwxr-xr-x
sh
941.93
KB
-rwxr-xr-x
sha1sum
60.49
KB
-rwxr-xr-x
sha224sum
60.85
KB
-rwxr-xr-x
sha256sum
60.85
KB
-rwxr-xr-x
sha384sum
60.85
KB
-rwxr-xr-x
sha512sum
60.85
KB
-rwxr-xr-x
shred
78.98
KB
-rwxr-xr-x
shuf
74.81
KB
-rwxr-xr-x
sleep
32.35
KB
-rwxr-xr-x
sort
114.94
KB
-rwxr-xr-x
split
75.23
KB
-rwxr-xr-x
ssh
1.01
MB
-rwxrwxr-x
ssh-keygen
613.59
KB
-rwxrwxr-x
stat
96.5
KB
-rwxr-xr-x
stdbuf
56.14
KB
-rwxr-xr-x
stream
8.55
KB
-rwxr-xr-x
stty
80.81
KB
-rwxr-xr-x
sum
60.15
KB
-rwxr-xr-x
sync
50.8
KB
-rwxr-xr-x
tac
148.66
KB
-rwxr-xr-x
tail
65.25
KB
-rwxr-xr-x
tar
655.36
KB
-rwxr-xr-x
tbl
115.96
KB
-rwxr-xr-x
tee
32.38
KB
-rwxr-xr-x
test
59.05
KB
-rwxr-xr-x
texi2any
52.86
KB
-rwxr-xr-x
texi2dvi
58.25
KB
-rwxr-xr-x
texi2pdf
1.14
KB
-rwxr-xr-x
texindex
3.9
KB
-rwxr-xr-x
timeout
57.35
KB
-rwxr-xr-x
touch
102.8
KB
-rwxr-xr-x
tr
64.63
KB
-rwxr-xr-x
true
46.24
KB
-rwxr-xr-x
truncate
55.15
KB
-rwxr-xr-x
tsort
63.86
KB
-rwxr-xr-x
tty
46.55
KB
-rwxr-xr-x
uname
32.3
KB
-rwxr-xr-x
uncompress
2.28
KB
-rwxr-xr-x
unexpand
52.05
KB
-rwxr-xr-x
uniq
60.84
KB
-rwxr-xr-x
unlink
46.62
KB
-rwxr-xr-x
unlzma
310.7
KB
-rwxr-xr-x
unxz
310.7
KB
-rwxr-xr-x
unzip
162.7
KB
-rwxr-xr-x
unzipsfx
78.64
KB
-rwxr-xr-x
uptime
64.64
KB
-rwxr-xr-x
users
51.21
KB
-rwxr-xr-x
vdir
174.98
KB
-rwxr-xr-x
vi
906.45
KB
-rwxr-xr-x
view
4
MB
-rwxr-xr-x
vim
4
MB
-rwxr-xr-x
vimdiff
4
MB
-rwxr-xr-x
wc
65.73
KB
-rwxr-xr-x
wget
621.87
KB
-rwxr-xr-x
whereis
20.2
KB
-rwxr-xr-x
who
61.02
KB
-rwxr-xr-x
whoami
46.7
KB
-rwxr-xr-x
wp
6.61
MB
-rwxr-xr-x
xargs
349.48
KB
-rwxr-xr-x
xxd
22.45
KB
-rwxr-xr-x
xz
310.7
KB
-rwxr-xr-x
xzcat
310.7
KB
-rwxr-xr-x
xzcmp
7.41
KB
-rwxr-xr-x
xzdec
96.67
KB
-rwxr-xr-x
xzdiff
7.41
KB
-rwxr-xr-x
xzegrep
10.17
KB
-rwxr-xr-x
xzfgrep
10.17
KB
-rwxr-xr-x
xzgrep
10.17
KB
-rwxr-xr-x
xzless
2.33
KB
-rwxr-xr-x
xzmore
2.18
KB
-rwxr-xr-x
yes
46.73
KB
-rwxr-xr-x
zcat
1.93
KB
-rwxr-xr-x
zcmp
1.64
KB
-rwxr-xr-x
zdiff
6.3
KB
-rwxr-xr-x
zegrep
29
B
-rwxr-xr-x
zfgrep
29
B
-rwxr-xr-x
zforce
2.03
KB
-rwxr-xr-x
zgrep
8.02
KB
-rwxr-xr-x
zip
219.59
KB
-rwxr-xr-x
zipcloak
109.42
KB
-rwxr-xr-x
zipgrep
2.88
KB
-rwxr-xr-x
zipinfo
162.7
KB
-rwxr-xr-x
zipnote
104.41
KB
-rwxr-xr-x
zipsplit
104.63
KB
-rwxr-xr-x
zless
2.38
KB
-rwxr-xr-x
zmore
1.79
KB
-rwxr-xr-x
znew
4.46
KB
-rwxr-xr-x
Delete
Unzip
Zip
${this.title}
Close
Code Editor : bashbug
#!/bin/sh - # # bashbug - create a bug report and mail it to the bug address # # The bug address depends on the release status of the shell. Versions # with status `devel', `alpha', `beta', or `rc' mail bug reports to # chet.ramey@case.edu and, optionally, to bash-testers@cwru.edu. # Other versions send mail to bug-bash@gnu.org. # # Copyright (C) 1996-2021 Free Software Foundation, Inc. # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. # # configuration section: # these variables are filled in by the make target in Makefile # MACHINE="x86_64" OS="linux-gnu" CC="gcc -std=gnu11" CFLAGS="-O3 -B/usr/ccs/bin/ -I/opt/RZwwwdev/local/include" RELEASE="5.2" PATCHLEVEL="37" RELSTATUS="release" MACHTYPE="x86_64-pc-linux-gnu" PATH=/bin:/usr/bin:/usr/local/bin:$PATH export PATH # Check if TMPDIR is set, default to /tmp : ${TMPDIR:=/tmp} #Securely create a temporary directory for the temporary files TEMPDIR=$TMPDIR/bbug.$$ (umask 077 && mkdir "$TEMPDIR") || { echo "$0: could not create temporary directory" >&2 exit 1 } TEMPFILE1=$TEMPDIR/bbug1 TEMPFILE2=$TEMPDIR/bbug2 USAGE="Usage: $0 [--help] [--version] [bug-report-email-address]" VERSTR="GNU bashbug, version ${RELEASE}.${PATCHLEVEL}-${RELSTATUS}" do_help= do_version= while [ $# -gt 0 ]; do case "$1" in --help) shift ; do_help=y ;; --version) shift ; do_version=y ;; --) shift ; break ;; -*) echo "bashbug: ${1}: invalid option" >&2 echo "$USAGE" >&2 exit 2 ;; *) break ;; esac done if [ -n "$do_version" ]; then echo "${VERSTR}" exit 0 fi if [ -n "$do_help" ]; then echo "${VERSTR}" echo "${USAGE}" echo cat << HERE_EOF Bashbug is used to send mail to the Bash maintainers for when Bash doesn't behave like you'd like, or expect. Bashbug will start up your editor (as defined by the shell's EDITOR environment variable) with a preformatted bug report template for you to fill in. The report will be mailed to the bug-bash mailing list by default. See the manual for details. If you invoke bashbug by accident, just quit your editor without saving any changes to the template, and no bug report will be sent. HERE_EOF exit 0 fi # Figure out how to echo a string without a trailing newline N=`echo 'hi there\c'` case "$N" in *c) n=-n c= ;; *) n= c='\c' ;; esac BASHTESTERS="bash-testers@cwru.edu" case "$RELSTATUS" in alpha*|beta*|devel*|rc*) BUGBASH=chet.ramey@case.edu ;; *) BUGBASH=bug-bash@gnu.org ;; esac case "$RELSTATUS" in alpha*|beta*|devel*|rc*) echo "$0: This is a testing release. Would you like your bug report" echo "$0: to be sent to the bash-testers mailing list?" echo $n "$0: Send to bash-testers? $c" read ans case "$ans" in y*|Y*) BUGBASH="${BUGBASH},${BASHTESTERS}" ;; esac ;; esac BUGADDR="${1-$BUGBASH}" if [ -z "$DEFEDITOR" ] && [ -z "$EDITOR" ]; then if [ -x /usr/bin/editor ]; then DEFEDITOR=editor elif [ -x /usr/local/bin/ce ]; then DEFEDITOR=ce elif [ -x /usr/local/bin/emacs ]; then DEFEDITOR=emacs elif [ -x /usr/contrib/bin/emacs ]; then DEFEDITOR=emacs elif [ -x /usr/bin/emacs ]; then DEFEDITOR=emacs elif [ -x /usr/bin/xemacs ]; then DEFEDITOR=xemacs elif [ -x /usr/bin/vim; then DEFEDITOR=vim elif [ -x /usr/bin/gvim; then DEFEDITOR=gvim elif [ -x /usr/bin/nano ]; then DEFEDITOR=nano elif [ -x /usr/contrib/bin/jove ]; then DEFEDITOR=jove elif [ -x /usr/local/bin/jove ]; then DEFEDITOR=jove elif [ -x /usr/bin/vi ]; then DEFEDITOR=vi else echo "$0: No default editor found: attempting to use vi" >&2 DEFEDITOR=vi fi fi : ${EDITOR=$DEFEDITOR} : ${USER=${LOGNAME-`whoami`}} trap 'rm -rf "$TEMPDIR"; exit 1' 1 2 3 13 15 trap 'rm -rf "$TEMPDIR"' 0 UN= if (uname) >/dev/null 2>&1; then UN=`uname -a` fi if [ -f /usr/lib/sendmail ] ; then RMAIL="/usr/lib/sendmail" SMARGS="-i -t" elif [ -f /usr/sbin/sendmail ] ; then RMAIL="/usr/sbin/sendmail" SMARGS="-i -t" else RMAIL=rmail SMARGS="$BUGADDR" fi INITIAL_SUBJECT='[50 character or so descriptive subject here (for reference)]' cat > "$TEMPFILE1" <<EOF From: ${USER} To: ${BUGADDR} Subject: ${INITIAL_SUBJECT} Configuration Information [Automatically generated, do not change]: Machine: $MACHINE OS: $OS Compiler: $CC Compilation CFLAGS: $CFLAGS uname output: $UN Machine Type: $MACHTYPE Bash Version: $RELEASE Patch Level: $PATCHLEVEL Release Status: $RELSTATUS Description: [Detailed description of the problem, suggestion, or complaint.] Repeat-By: [Describe the sequence of events that causes the problem to occur.] Fix: [Description of how to fix the problem. If you don't know a fix for the problem, don't include this section.] EOF cp "$TEMPFILE1" "$TEMPFILE2" chmod u+w "$TEMPFILE1" trap '' 2 # ignore interrupts while in editor edstat=1 while [ $edstat -ne 0 ]; do $EDITOR "$TEMPFILE1" edstat=$? if [ $edstat -ne 0 ]; then echo "$0: editor \`$EDITOR' exited with nonzero status." echo "$0: Perhaps it was interrupted." echo "$0: Type \`y' to give up, and lose your bug report;" echo "$0: type \`n' to re-enter the editor." echo $n "$0: Do you want to give up? $c" read ans case "$ans" in [Yy]*) exit 1 ;; esac continue fi # find the subject from the temp file and see if it's been changed CURR_SUB=`grep '^Subject: ' "$TEMPFILE1" | sed 's|^Subject:[ ]*||' | sed 1q` case "$CURR_SUB" in "${INITIAL_SUBJECT}") echo echo "$0: You have not changed the subject from the default." echo "$0: Please use a more descriptive subject header." echo "$0: Type \`y' to give up, and lose your bug report;" echo "$0: type \`n' to re-enter the editor." echo $n "$0: Do you want to give up? $c" read ans case "$ans" in [Yy]*) exit 1 ;; esac echo "$0: The editor will be restarted in five seconds." sleep 5 edstat=1 ;; esac done trap 'rm -rf "$TEMPDIR"; exit 1' 2 # restore trap on SIGINT if cmp -s "$TEMPFILE1" "$TEMPFILE2" then echo "File not changed, no bug report submitted." exit fi echo $n "Send bug report to ${BUGADDR}? [y/n] $c" read ans case "$ans" in [Nn]*) exit 0 ;; esac ${RMAIL} $SMARGS < "$TEMPFILE1" || { cat "$TEMPFILE1" >> $HOME/dead.bashbug echo "$0: mail to ${BUGADDR} failed: report saved in $HOME/dead.bashbug" >&2 echo "$0: please send it manually to ${BUGADDR}" >&2 } exit 0
Close