XYZ File Manager
Current Path:
/usr/bin
usr
/
bin
/
📁
..
📄
7za
(49 B)
📄
[
(51.8 KB)
📄
aclocal
(35.52 KB)
📄
aclocal-1.16
(35.52 KB)
📄
addr2line
(27.74 KB)
📄
ar
(55.98 KB)
📄
arch
(31.66 KB)
📄
arpaname
(15.11 KB)
📄
as
(710.31 KB)
📄
aspell
(151.12 KB)
📄
autoconf
(14.42 KB)
📄
autoheader
(8.33 KB)
📄
autom4te
(31.43 KB)
📄
automake
(251.93 KB)
📄
automake-1.16
(251.93 KB)
📄
autoreconf
(20.57 KB)
📄
autoscan
(16.72 KB)
📄
autoupdate
(33.08 KB)
📄
awk
(698.17 KB)
📄
b2sum
(51.79 KB)
📄
base32
(35.69 KB)
📄
base64
(35.7 KB)
📄
basename
(35.67 KB)
📄
basenc
(48.02 KB)
📄
bash
(1.32 MB)
📄
bashbug-64
(6.91 KB)
📄
bunzip2
(39.62 KB)
📄
bzcat
(39.62 KB)
📄
bzcmp
(2.09 KB)
📄
bzdiff
(2.09 KB)
📄
bzgrep
(2.01 KB)
📄
bzip2
(39.62 KB)
📄
bzip2recover
(15.4 KB)
📄
bzless
(1.23 KB)
📄
bzmore
(1.23 KB)
📄
c++
(1.04 MB)
📄
c++filt
(27.18 KB)
📄
cagefs_enter.proxied
(1.27 KB)
📄
cal
(52.01 KB)
📄
captoinfo
(87.8 KB)
📄
cat
(35.66 KB)
📄
catchsegv
(3.21 KB)
📄
cc
(0 B)
📄
ccmake
(6.96 MB)
📄
chcon
(60.24 KB)
📄
chgrp
(56.19 KB)
📄
chmod
(56.16 KB)
📄
chown
(60.19 KB)
📄
chrt
(27.48 KB)
📄
cksum
(35.57 KB)
📄
clear
(15.16 KB)
📄
cloudlinux-awp-user
(1.78 KB)
📄
clwpos-user
(1.78 KB)
📄
cmake
(7.45 MB)
📄
cmp
(40.13 KB)
📄
col
(23.41 KB)
📄
colcrt
(15.38 KB)
📄
colrm
(15.36 KB)
📄
column
(35.52 KB)
📄
comm
(35.75 KB)
📄
cp
(149.24 KB)
📄
cpack
(7.35 MB)
📄
cpp
(1.04 MB)
📄
csplit
(108.88 KB)
📄
ctest
(8.31 MB)
📄
curl
(248.49 KB)
📄
cut
(47.8 KB)
📄
cyrusbdb2current
(1.58 MB)
📄
date
(104.05 KB)
📄
dbiprof
(6.06 KB)
📄
delv
(45.38 KB)
📄
df
(84.73 KB)
📄
diff
(194.7 KB)
📄
diff3
(52.3 KB)
📄
dig
(136.59 KB)
📄
dir
(137.65 KB)
📄
dircolors
(39.8 KB)
📄
dirname
(31.48 KB)
📄
dltest
(15.68 KB)
📄
dnstap-read
(23.19 KB)
📄
du
(149.44 KB)
📄
echo
(35.48 KB)
📄
ed
(52.51 KB)
📄
egrep
(32 B)
📄
enchant
(23.73 KB)
📄
enchant-lsmod
(15.8 KB)
📄
env
(44.23 KB)
📄
eps2eps
(643 B)
📄
eqn
(189.52 KB)
📄
ex
(1.38 MB)
📄
expand
(39.73 KB)
📄
expr
(108.6 KB)
📄
factor
(72.05 KB)
📄
false
(27.47 KB)
📄
fc-cache
(139 B)
📄
fc-cache-64
(23.17 KB)
📄
fc-cat
(19.16 KB)
📄
fc-conflist
(15.13 KB)
📄
fc-list
(15.13 KB)
📄
fc-match
(15.13 KB)
📄
fc-pattern
(15.14 KB)
📄
fc-query
(15.13 KB)
📄
fc-scan
(15.14 KB)
📄
fc-validate
(15.14 KB)
📄
fgrep
(32 B)
📄
file
(27.74 KB)
📄
find
(284.95 KB)
📄
flock
(23.56 KB)
📄
fmt
(39.77 KB)
📄
fold
(39.71 KB)
📄
free
(23.36 KB)
📄
funzip
(31.42 KB)
📄
g++
(1.04 MB)
📄
gawk
(698.17 KB)
📄
gcc-ar
(27.81 KB)
📄
gcc-nm
(27.8 KB)
📄
gcc-ranlib
(27.82 KB)
📄
gcov-dump
(283.74 KB)
📄
gcov-tool
(312.46 KB)
📄
gem
(542 B)
📄
gencat
(27.45 KB)
📄
geoiplookup
(15.86 KB)
📄
geoiplookup6
(15.81 KB)
📄
geqn
(189.52 KB)
📄
getconf
(35.23 KB)
📄
getent
(35.86 KB)
📄
getopt
(23.45 KB)
📄
ghostscript
(15.13 KB)
📄
gifdiff
(55.9 KB)
📄
gifsicle
(194.05 KB)
📄
git
(4.06 MB)
📄
git-receive-pack
(4.06 MB)
📄
git-shell
(770.68 KB)
📄
git-upload-archive
(4.06 MB)
📄
git-upload-pack
(4.06 MB)
📄
gm
(15.67 KB)
📄
gmake
(249.8 KB)
📄
gneqn
(916 B)
📄
gnroff
(3.21 KB)
📄
gpg
(1.07 MB)
📄
gpg-agent
(342.25 KB)
📄
gpg-error
(36.1 KB)
📄
gpgsplit
(27.49 KB)
📄
gpgv
(295.42 KB)
📄
gpic
(201.72 KB)
📄
gprof
(101.48 KB)
📄
grep
(154.49 KB)
📄
groff
(96.77 KB)
📄
grops
(167.26 KB)
📄
grotty
(122.2 KB)
📄
groups
(35.66 KB)
📄
gs
(15.13 KB)
📄
gsnd
(281 B)
📄
gsoelim
(0 B)
📄
gtar
(514.27 KB)
📄
gtbl
(130.86 KB)
📄
gtroff
(732.07 KB)
📄
gunzip
(2.29 KB)
📄
gzexe
(6.3 KB)
📄
gzip
(89.63 KB)
📄
hdu
(18.09 KB)
📄
head
(43.8 KB)
📄
hexdump
(51.59 KB)
📄
host
(108.57 KB)
📄
hostid
(31.66 KB)
📄
hostname
(23.84 KB)
📄
hunspell
(102.67 KB)
📄
iconv
(64.09 KB)
📄
id
(39.71 KB)
📄
idn
(35.8 KB)
📄
ifnames
(4.03 KB)
📄
infocmp
(63.69 KB)
📄
infotocap
(87.8 KB)
📄
install
(149.29 KB)
📄
ionice
(15.4 KB)
📄
ipcrm
(19.41 KB)
📄
ipcs
(39.52 KB)
📄
isosize
(15.34 KB)
📄
ispell
(992 B)
📄
isql
(40.01 KB)
📄
iusql
(31.95 KB)
📄
join
(51.9 KB)
📄
jpegoptim
(48.83 KB)
📄
kill
(31.47 KB)
📄
ld
(1.71 MB)
📄
ld.bfd
(1.71 MB)
📄
ldd
(5.32 KB)
📄
less
(197.9 KB)
📄
lessecho
(15.37 KB)
📄
lesskey
(24.8 KB)
📄
lesspipe.sh
(3.5 KB)
📄
link
(31.66 KB)
📄
ln
(60.16 KB)
📄
locale
(59.08 KB)
📄
localedef
(314.06 KB)
📄
logger
(36.16 KB)
📄
login
(43.62 KB)
📄
logname
(31.66 KB)
📄
look
(19.36 KB)
📄
ls
(137.64 KB)
📄
lto-dump
(26.58 MB)
📄
m4
(240.4 KB)
📄
make
(249.8 KB)
📄
make-dummy-cert
(614 B)
📄
mariadb
(5.12 MB)
📄
mariadb-access
(109.48 KB)
📄
mariadb-admin
(4.89 MB)
📄
mariadb-binlog
(5.16 MB)
📄
mariadb-check
(4.89 MB)
📄
mariadb-conv
(4.6 MB)
📄
mariadb-convert-table-format
(4.28 KB)
📄
mariadb-dump
(4.99 MB)
📄
mariadb-dumpslow
(8.19 KB)
📄
mariadb-embedded
(24.72 MB)
📄
mariadb-find-rows
(3.35 KB)
📄
mariadb-hotcopy
(34.67 KB)
📄
mariadb-import
(5 MB)
📄
mariadb-plugin
(4.58 MB)
📄
mariadb-secure-installation
(13.66 KB)
📄
mariadb-setpermission
(17.7 KB)
📄
mariadb-show
(4.88 MB)
📄
mariadb-slap
(4.89 MB)
📄
mariadb-tzinfo-to-sql
(4.57 MB)
📄
mariadb-waitpid
(4.56 MB)
📄
mc
(1.22 MB)
📄
mcdiff
(1.22 MB)
📄
mcedit
(1.22 MB)
📄
mcookie
(27.5 KB)
📄
mcview
(1.22 MB)
📄
md5sum
(39.64 KB)
📄
mesg
(15.33 KB)
📄
mkdir
(68.31 KB)
📄
mkfifo
(39.83 KB)
📄
mknod
(43.88 KB)
📄
mktemp
(39.8 KB)
📄
more
(43.63 KB)
📄
msmtp
(133.98 KB)
📄
msmtpd
(35.65 KB)
📄
msql2mysql
(1.42 KB)
📄
mv
(141.17 KB)
📄
my_print_defaults
(4.56 MB)
📄
mysql
(5.12 MB)
📄
mysql_config
(4.47 KB)
📄
mysql_find_rows
(3.35 KB)
📄
mysql_waitpid
(4.56 MB)
📄
mysqlaccess
(109.48 KB)
📄
mysqladmin
(4.89 MB)
📄
mysqlbinlog
(5.16 MB)
📄
mysqlcheck
(4.89 MB)
📄
mysqldump
(4.99 MB)
📄
mysqlimport
(5 MB)
📄
mysqlshow
(4.88 MB)
📄
mytop
(72.03 KB)
📄
namei
(23.41 KB)
📄
nano
(346.2 KB)
📄
neqn
(916 B)
📄
nice
(35.67 KB)
📄
nl
(100.71 KB)
📄
nm
(44.71 KB)
📄
nohup
(35.58 KB)
📄
nproc
(35.69 KB)
📄
nroff
(3.21 KB)
📄
nslookup
(112.52 KB)
📄
nsupdate
(71.8 KB)
📄
numfmt
(55.83 KB)
📄
objcopy
(185.37 KB)
📄
objdump
(413.09 KB)
📄
od
(64.06 KB)
📄
odbc_config
(15.7 KB)
📄
odbcinst
(23.9 KB)
📄
openssl
(1.01 MB)
📄
optipng
(92.02 KB)
📄
pango-list
(19.11 KB)
📄
pango-segmentation
(19.13 KB)
📄
pango-view
(60.17 KB)
📄
passwd
(1.26 KB)
📄
paste
(35.58 KB)
📄
patch
(195.02 KB)
📄
pathchk
(35.66 KB)
📄
pdf2dsc
(701 B)
📄
pdf2ps
(913 B)
📄
perldoc
(118 B)
📄
pgrep
(31.42 KB)
📄
php
(10.1 MB)
📄
php-cgi
(8.1 MB)
📄
phpize
(4.97 KB)
📄
pic
(201.72 KB)
📄
piconv
(8.08 KB)
📄
ping
(76.51 KB)
📄
pinky
(35.61 KB)
📄
pkill
(31.42 KB)
📄
pmap
(35.39 KB)
📄
pod2man
(14.68 KB)
📄
pod2text
(10.55 KB)
📄
pod2usage
(4.01 KB)
📄
post-grohtml
(199.76 KB)
📄
pr
(72.28 KB)
📄
pre-grohtml
(92.92 KB)
📄
precat
(5.53 KB)
📄
preunzip
(5.53 KB)
📄
prezip
(5.53 KB)
📄
prezip-bin
(15.69 KB)
📄
printenv
(31.47 KB)
📄
printf
(51.77 KB)
📄
ps
(141.15 KB)
📄
ps2ascii
(635 B)
📄
ps2epsi
(1.24 KB)
📄
ps2pdf
(276 B)
📄
ps2pdf12
(219 B)
📄
ps2pdf13
(219 B)
📄
ps2pdf14
(219 B)
📄
ps2pdfwr
(1.06 KB)
📄
ps2ps
(651 B)
📄
ps2ps2
(673 B)
📄
ptx
(129.03 KB)
📄
pwd
(35.7 KB)
📄
pwdx
(15.28 KB)
📄
pydoc
(78 B)
📄
pydoc3
(78 B)
📄
pydoc3.9
(78 B)
📄
python
(15.09 KB)
📄
python3
(15.09 KB)
📄
python3.9
(15.09 KB)
📄
ranlib
(56 KB)
📄
readelf
(667.28 KB)
📄
readlink
(39.69 KB)
📄
realpath
(39.77 KB)
📄
recode
(31.93 KB)
📄
red
(92 B)
📄
rename
(23.41 KB)
📄
renew-dummy-cert
(729 B)
📄
renice
(15.36 KB)
📄
replace
(4.54 MB)
📄
reset
(27.34 KB)
📄
restic
(28.4 MB)
📄
rev
(15.35 KB)
📄
rm
(60.21 KB)
📄
rmdir
(43.61 KB)
📄
rnano
(346.2 KB)
📄
rsync
(559.16 KB)
📄
rsync-ssl
(5.01 KB)
📄
ruby
(15.27 KB)
📄
run-with-aspell
(89 B)
📄
runcon
(35.65 KB)
📄
rvi
(1.38 MB)
📄
rview
(1.38 MB)
📄
rvim
(3.84 MB)
📄
scalar
(819.34 KB)
📄
scl
(39.55 KB)
📄
scl_enabled
(262 B)
📄
scl_source
(1.88 KB)
📄
scp
(133.06 KB)
📄
script
(51.75 KB)
📄
sdiff
(44.2 KB)
📄
sed
(114.01 KB)
📄
seq
(47.79 KB)
📄
setsid
(15.34 KB)
📄
setterm
(35.52 KB)
📄
sftp
(141.05 KB)
📄
sh
(1.32 MB)
📄
sha1sum
(39.64 KB)
📄
sha224sum
(39.64 KB)
📄
sha256sum
(39.64 KB)
📄
sha384sum
(39.64 KB)
📄
sha512sum
(39.64 KB)
📄
shred
(51.88 KB)
📄
shuf
(48.01 KB)
📄
size
(31.61 KB)
📄
skill
(31.4 KB)
📄
slabtop
(23.42 KB)
📄
sleep
(35.65 KB)
📄
slencheck
(15.71 KB)
📄
snice
(31.4 KB)
📄
soelim
(0 B)
📄
sort
(113.09 KB)
📄
spell
(125 B)
📄
split
(52.31 KB)
📄
sprof
(35.45 KB)
📄
sqlite3
(1.52 MB)
📄
ssh
(843.53 KB)
📄
ssh-add
(164.86 KB)
📄
ssh-agent
(281.02 KB)
📄
ssh-copy-id
(12.38 KB)
📄
ssh-keygen
(455.04 KB)
📄
ssh-keyscan
(197.43 KB)
📄
stat
(80.06 KB)
📄
stdbuf
(43.74 KB)
📄
strace
(2.08 MB)
📄
strings
(31.74 KB)
📄
strip
(185.36 KB)
📄
stty
(75.83 KB)
📄
sum
(35.59 KB)
📄
svn
(446.56 KB)
📄
svnadmin
(136.45 KB)
📄
svndumpfilter
(44.15 KB)
📄
svnfsfs
(44.03 KB)
📄
svnlook
(92.23 KB)
📄
svnrdump
(56.23 KB)
📄
svnserve
(112.91 KB)
📄
svnsync
(68.41 KB)
📄
svnversion
(15.72 KB)
📄
sync
(35.54 KB)
📄
tabs
(19.16 KB)
📄
tac
(104.6 KB)
📄
tail
(68.09 KB)
📄
tar
(514.27 KB)
📄
taskset
(23.41 KB)
📄
tbl
(130.86 KB)
📄
tclsh
(15.69 KB)
📄
tclsh8.6
(15.69 KB)
📄
tee
(35.69 KB)
📄
test
(43.79 KB)
📄
tic
(87.8 KB)
📄
timeout
(40.17 KB)
📄
tload
(19.34 KB)
📄
tmpwatch
(36.03 KB)
📄
toe
(23.23 KB)
📄
top
(132.27 KB)
📄
touch
(92.03 KB)
📄
tput
(27.25 KB)
📄
tr
(47.87 KB)
📄
tree
(85.45 KB)
📄
troff
(732.07 KB)
📄
true
(27.47 KB)
📄
truncate
(35.66 KB)
📄
tset
(27.34 KB)
📄
tsort
(47.79 KB)
📄
tty
(31.65 KB)
📄
tzselect
(14.99 KB)
📄
ul
(23.45 KB)
📄
uname
(31.66 KB)
📄
unexpand
(39.73 KB)
📄
uniq
(43.83 KB)
📄
unlink
(31.66 KB)
📄
unrar
(347.02 KB)
📄
unzip
(196.14 KB)
📄
unzipsfx
(87.89 KB)
📄
uptime
(15.29 KB)
📄
users
(35.68 KB)
📄
utmpdump
(23.4 KB)
📄
vdir
(137.65 KB)
📄
vi
(691 B)
📄
view
(150 B)
📄
vim
(3.84 MB)
📄
vimdiff
(3.84 MB)
📄
vimtutor
(2.07 KB)
📄
vmstat
(39.41 KB)
📄
watch
(27.87 KB)
📄
wc
(43.73 KB)
📄
wget
(521.41 KB)
📄
whereis
(32.03 KB)
📄
which
(27.89 KB)
📄
who
(51.77 KB)
📄
whoami
(31.66 KB)
📄
word-list-compress
(15.7 KB)
📄
x86_64-redhat-linux-c++
(1.04 MB)
📄
x86_64-redhat-linux-g++
(1.04 MB)
📄
x86_64-redhat-linux-gcc-11
(1.04 MB)
📄
xargs
(64.09 KB)
📄
xmlcatalog
(23.15 KB)
📄
xmllint
(80.55 KB)
📄
xmlwf
(39.63 KB)
📄
xsltproc
(31.23 KB)
📄
xxd
(19.31 KB)
📄
yes
(31.51 KB)
📄
zcat
(1.94 KB)
📄
zcmp
(1.64 KB)
📄
zdiff
(6.31 KB)
📄
zegrep
(33 B)
📄
zfgrep
(33 B)
📄
zforce
(2.04 KB)
📄
zgrep
(7.93 KB)
📄
zip
(221.09 KB)
📄
zipcloak
(75.7 KB)
📄
zipgrep
(2.89 KB)
📄
zipinfo
(196.14 KB)
📄
zipnote
(67.61 KB)
📄
zipsplit
(63.58 KB)
📄
zless
(2.16 KB)
📄
zmore
(1.8 KB)
📄
znew
(4.47 KB)
📄
zsoelim
(0 B)
Editing: gzexe
#!/usr/bin/sh # gzexe: compressor for Unix executables. # Use this only for binaries that you do not use frequently. # # The compressed version is a shell script which decompresses itself after # skipping $skip lines of shell commands. We try invoking the compressed # executable with the original name (for programs looking at their name). # We also try to retain the original file permissions on the compressed file. # For safety reasons, gzexe will not create setuid or setgid shell scripts. # WARNING: the first line of this file must be either : or #!/bin/sh # The : is required for some old versions of csh. # On Ultrix, /bin/sh is too buggy, change the first line to: #!/bin/sh5 # Copyright (C) 1998, 2002, 2004, 2006-2007, 2010-2022 Free Software # Foundation, Inc. # Copyright (C) 1993 Jean-loup Gailly # 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, write to the Free Software Foundation, Inc., # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. tab=' ' nl=' ' IFS=" $tab$nl" version='gzexe (gzip) 1.12 Copyright (C) 2007, 2011-2018 Free Software Foundation, Inc. This is free software. You may redistribute copies of it under the terms of the GNU General Public License <https://www.gnu.org/licenses/gpl.html>. There is NO WARRANTY, to the extent permitted by law. Written by Jean-loup Gailly.' usage="Usage: $0 [OPTION] FILE... Replace each executable FILE with a compressed version of itself. Make a backup FILE~ of the old version of FILE. -d Decompress each FILE instead of compressing it. --help display this help and exit --version output version information and exit Report bugs to <bug-gzip@gnu.org>." decomp=0 res=0 while :; do case $1 in -d) decomp=1; shift;; --h*) printf '%s\n' "$usage" || exit 1; exit;; --v*) printf '%s\n' "$version" || exit 1; exit;; --) shift; break;; *) break;; esac done if test $# -eq 0; then printf >&2 '%s\n' "$0: missing operand Try \`$0 --help' for more information." exit 1 fi tmp= trap 'res=$? test -n "$tmp" && rm -f "$tmp" (exit $res); exit $res ' 0 1 2 3 5 10 13 15 mktemp_status= for i do case $i in -*) file=./$i;; *) file=$i;; esac if test ! -f "$file" || test ! -r "$file"; then res=$? printf >&2 '%s\n' "$0: $i is not a readable regular file" continue fi if test $decomp -eq 0; then case `LC_ALL=C sed -n -e 1d -e '/^skip=[0-9][0-9]*$/p' -e 2q "$file"` in skip=[0-9] | skip=[0-9][0-9] | skip=[0-9][0-9][0-9]) printf >&2 '%s\n' "$0: $i is already gzexe'd" continue;; esac fi if test -u "$file"; then printf >&2 '%s\n' "$0: $i has setuid permission, unchanged" continue fi if test -g "$file"; then printf >&2 '%s\n' "$0: $i has setgid permission, unchanged" continue fi case /$file in */basename | */bash | */cat | */chmod | */cp | \ */dirname | */expr | */gzip | \ */ln | */mkdir | */mktemp | */mv | */printf | */rm | \ */sed | */sh | */sleep | */test | */tail) printf >&2 '%s\n' "$0: $i might depend on itself"; continue;; esac dir=`dirname "$file"` || dir=$TMPDIR test -d "$dir" && test -w "$dir" && test -x "$dir" || dir=/tmp test -n "$tmp" && rm -f "$tmp" if test -z "$mktemp_status"; then type mktemp >/dev/null 2>&1 mktemp_status=$? fi case $dir in */) ;; *) dir=$dir/;; esac if test $mktemp_status -eq 0; then tmp=`mktemp "${dir}gzexeXXXXXXXXX"` else tmp=${dir}gzexe$$ fi && { cp -p "$file" "$tmp" 2>/dev/null || cp "$file" "$tmp"; } || { res=$? printf >&2 '%s\n' "$0: cannot copy $file" continue } if test -w "$tmp"; then writable=1 else writable=0 chmod u+w "$tmp" || { res=$? printf >&2 '%s\n' "$0: cannot chmod $tmp" continue } fi if test $decomp -eq 0; then (cat <<'EOF' && #!/bin/sh skip=49 tab=' ' nl=' ' IFS=" $tab$nl" umask=`umask` umask 77 gztmpdir= trap 'res=$? test -n "$gztmpdir" && rm -fr "$gztmpdir" (exit $res); exit $res ' 0 1 2 3 5 10 13 15 case $TMPDIR in / | /*/) ;; /*) TMPDIR=$TMPDIR/;; *) TMPDIR=/tmp/;; esac if type mktemp >/dev/null 2>&1; then gztmpdir=`mktemp -d "${TMPDIR}gztmpXXXXXXXXX"` else gztmpdir=${TMPDIR}gztmp$$; mkdir $gztmpdir fi || { (exit 127); exit 127; } gztmp=$gztmpdir/$0 case $0 in -* | */*' ') mkdir -p "$gztmp" && rm -r "$gztmp";; */*) gztmp=$gztmpdir/`basename "$0"`;; esac || { (exit 127); exit 127; } case `printf 'X\n' | tail -n +1 2>/dev/null` in X) tail_n=-n;; *) tail_n=;; esac if tail $tail_n +$skip <"$0" | gzip -cd > "$gztmp"; then umask $umask chmod 700 "$gztmp" (sleep 5; rm -fr "$gztmpdir") 2>/dev/null & "$gztmp" ${1+"$@"}; res=$? else printf >&2 '%s\n' "Cannot decompress $0" (exit 127); res=127 fi; exit $res EOF gzip -cv9 "$file") > "$tmp" || { res=$? printf >&2 '%s\n' "$0: compression not possible for $i, file unchanged." continue } else # decompression skip=49 skip_line=`LC_ALL=C sed -e 1d -e 2q "$file"` case $skip_line in skip=[0-9] | skip=[0-9][0-9] | skip=[0-9][0-9][0-9]) eval "$skip_line";; esac case `printf 'X\n' | tail -n +1 2>/dev/null` in X) tail_n=-n;; *) tail_n=;; esac tail $tail_n +$skip "$file" | gzip -cd > "$tmp" || { res=$? printf >&2 '%s\n' "$0: $i probably not in gzexe format, file unchanged." continue } fi test $writable -eq 1 || chmod u-w "$tmp" || { res=$? printf >&2 '%s\n' "$0: $tmp: cannot chmod" continue } ln -f "$file" "$file~" 2>/dev/null || { # Hard links may not work. Fall back on rm+cp so that $file always exists. rm -f "$file~" && cp -p "$file" "$file~" } || { res=$? printf >&2 '%s\n' "$0: cannot backup $i as $i~" continue } mv -f "$tmp" "$file" || { res=$? printf >&2 '%s\n' "$0: cannot rename $tmp to $i" continue } tmp= done (exit $res); exit $res
Upload File
Create Folder