Hackfut Security File Manager
Current Path:
/usr/bin
usr
/
bin
/
📁
..
📄
.ssh.hmac
(65 B)
📄
GET
(14.18 KB)
📄
Mail
(369.84 KB)
📄
[
(32.63 KB)
📄
a2p
(104.29 KB)
📄
aclocal
(30.45 KB)
📄
aclocal-1.11
(30.45 KB)
📄
addftinfo
(22.94 KB)
📄
addr2line
(24.35 KB)
📄
animate
(5.71 KB)
📄
ar
(55.3 KB)
📄
as
(320.7 KB)
📄
aspell
(160.22 KB)
📄
at
(1.01 KB)
📄
atq
(1.01 KB)
📄
atrm
(1.02 KB)
📄
autoconf
(14.29 KB)
📄
autoheader
(8.29 KB)
📄
autom4te
(31.04 KB)
📄
automake
(251.04 KB)
📄
automake-1.11
(251.04 KB)
📄
autoreconf
(19.76 KB)
📄
autoscan
(16.67 KB)
📄
autoupdate
(32.97 KB)
📄
awk
(366.81 KB)
📄
base64
(28.55 KB)
📄
bashbug-64
(6.77 KB)
📄
batch
(137 B)
📄
bdftops
(292 B)
📄
bison
(292.83 KB)
📄
bunzip2
(32.16 KB)
📄
bzcat
(32.16 KB)
📄
bzcmp
(2.08 KB)
📄
bzdiff
(2.08 KB)
📄
bzgrep
(1.64 KB)
📄
bzip2
(32.16 KB)
📄
bzip2recover
(10.62 KB)
📄
bzless
(1.23 KB)
📄
bzmore
(1.23 KB)
📄
c++
(261.65 KB)
📄
c++filt
(23.01 KB)
📄
c2ph
(35.74 KB)
📄
c89
(224 B)
📄
c99
(215 B)
📄
cal
(16.39 KB)
📄
captoinfo
(48.66 KB)
📄
catchsegv
(3.3 KB)
📄
cc
(258.27 KB)
📄
chcon
(55.8 KB)
📄
chrt
(9.4 KB)
📄
cksum
(24.68 KB)
📄
cldetect
(10.43 KB)
📄
clear
(4.86 KB)
📄
cloudlinux-awp-user
(890 B)
📄
clwpos-user
(890 B)
📄
cmp
(18.8 KB)
📄
col
(10.65 KB)
📄
colcrt
(7.73 KB)
📄
colrm
(5.45 KB)
📄
column
(9.52 KB)
📄
comm
(27.79 KB)
📄
compare
(5.83 KB)
📄
composite
(5.71 KB)
📄
conjure
(5.71 KB)
📄
convert
(5.71 KB)
📄
cpan
(8.06 KB)
📄
cpp
(261.63 KB)
📄
crontab
(1.15 KB)
📄
crontab.cagefs
(300.83 KB)
📄
csplit
(103.68 KB)
📄
curl
(117.41 KB)
📄
cut
(40.73 KB)
📄
dbiprof
(6.15 KB)
📄
dbiproxy
(5.35 KB)
📄
ddate
(11.18 KB)
📄
diff
(79.18 KB)
📄
diff3
(22.93 KB)
📄
dig
(130.52 KB)
📄
dir
(106.65 KB)
📄
dircolors
(32.1 KB)
📄
dirname
(23.16 KB)
📄
display
(5.71 KB)
📄
dltest
(7.06 KB)
📄
dprofpp
(23.52 KB)
📄
du
(93.21 KB)
📄
dumphint
(554 B)
📄
dvipdf
(1.03 KB)
📄
enc2xs
(38.23 KB)
📄
enchant
(12.83 KB)
📄
enchant-lsmod
(7.16 KB)
📄
env
(23.27 KB)
📄
eps2eps
(632 B)
📄
eqn
(134.11 KB)
📄
eqn2graph
(2.19 KB)
📄
expand
(27.3 KB)
📄
expr
(95.4 KB)
📄
factor
(43.65 KB)
📄
fc-cache
(12.7 KB)
📄
fc-cat
(10.88 KB)
📄
fc-list
(8.63 KB)
📄
fc-match
(9.76 KB)
📄
fc-query
(7.39 KB)
📄
fc-scan
(7.69 KB)
📄
file
(15.31 KB)
📄
find
(229.02 KB)
📄
find2perl
(23.06 KB)
📄
flex
(324.66 KB)
📄
flex++
(324.66 KB)
📄
flock
(10.67 KB)
📄
floppy
(23.06 KB)
📄
fmt
(29.55 KB)
📄
fold
(27.37 KB)
📄
font2c
(300 B)
📄
free
(9.47 KB)
📄
freetype-config
(3.74 KB)
📄
funzip
(21.54 KB)
📄
g++
(261.65 KB)
📄
gawk
(366.81 KB)
📄
gcc
(258.27 KB)
📄
gcov
(38.91 KB)
📄
gencat
(22.51 KB)
📄
geoiplookup
(14.71 KB)
📄
geoiplookup6
(10.65 KB)
📄
geqn
(134.11 KB)
📄
getconf
(22.28 KB)
📄
getent
(27.13 KB)
📄
getopt
(11.76 KB)
📄
ghostscript
(6.6 KB)
📄
gindxbib
(27.17 KB)
📄
git
(1.09 MB)
📄
git-receive-pack
(1.09 MB)
📄
git-shell
(446.8 KB)
📄
git-upload-archive
(1.09 MB)
📄
git-upload-pack
(456.86 KB)
📄
glookbib
(32.54 KB)
📄
gm
(4.74 KB)
📄
gmake
(166.58 KB)
📄
gneqn
(255 B)
📄
gnroff
(2.34 KB)
📄
gpg
(743.84 KB)
📄
gpg-agent
(290.99 KB)
📄
gpg-error
(18.14 KB)
📄
gpg-zip
(3.23 KB)
📄
gpg2
(743.84 KB)
📄
gpgsplit
(47.4 KB)
📄
gpgv
(328.59 KB)
📄
gpgv2
(328.59 KB)
📄
gpic
(208.61 KB)
📄
gprof
(92.73 KB)
📄
grefer
(119.36 KB)
📄
grn
(63.88 KB)
📄
grodvi
(79.49 KB)
📄
groff
(63.89 KB)
📄
groffer
(7.59 KB)
📄
grolbp
(85.9 KB)
📄
grolj4
(75.65 KB)
📄
grops
(114.27 KB)
📄
grotty
(75.49 KB)
📄
groups
(23.84 KB)
📄
gs
(6.6 KB)
📄
gsbj
(337 B)
📄
gsdj
(339 B)
📄
gsdj500
(342 B)
📄
gslj
(340 B)
📄
gslp
(337 B)
📄
gsnd
(264 B)
📄
gsoelim
(22.96 KB)
📄
gtbl
(95.88 KB)
📄
gtroff
(346.55 KB)
📄
gunzip
(61 B)
📄
gzexe
(5.73 KB)
📄
gzip
(63.17 KB)
📄
h2ph
(27.38 KB)
📄
h2xs
(58.97 KB)
📄
head
(31.76 KB)
📄
hexdump
(21.07 KB)
📄
host
(117.12 KB)
📄
hostid
(21.54 KB)
📄
hpftodit
(19.91 KB)
📄
hunspell
(51.55 KB)
📄
iconv
(58.86 KB)
📄
id
(27.45 KB)
📄
identify
(5.83 KB)
📄
idn
(31.73 KB)
📄
ifnames
(3.95 KB)
📄
import
(5.71 KB)
📄
indxbib
(27.17 KB)
📄
infocmp
(49.77 KB)
📄
infotocap
(48.66 KB)
📄
install
(104.69 KB)
📄
instmodsh
(4.1 KB)
📄
ionice
(14.76 KB)
📄
ipcrm
(8.85 KB)
📄
ipcs
(19.26 KB)
📄
isosize
(7.15 KB)
📄
ispell
(988 B)
📄
isql
(26.97 KB)
📄
iusql
(21.07 KB)
📄
join
(39.41 KB)
📄
kill
(11.3 KB)
📄
ld
(574.42 KB)
📄
ldd
(5.2 KB)
📄
less
(146.43 KB)
📄
lessecho
(7.2 KB)
📄
lesskey
(15.88 KB)
📄
lesspipe.sh
(2.74 KB)
📄
lex
(324.66 KB)
📄
libnetcfg
(15.36 KB)
📄
libtool
(276.69 KB)
📄
libtoolize
(66.56 KB)
📄
lkbib
(32.76 KB)
📄
locale
(37.73 KB)
📄
localedef
(319.22 KB)
📄
logger
(11.34 KB)
📄
logname
(21.63 KB)
📄
look
(7.89 KB)
📄
lookbib
(32.54 KB)
📄
lprsetup.sh
(4.55 KB)
📄
lynx
(1.33 MB)
📄
m4
(203.63 KB)
📄
make
(166.58 KB)
📄
mcookie
(10.77 KB)
📄
md5sum
(31.71 KB)
📄
mesg
(6.59 KB)
📄
mkfifo
(24.68 KB)
📄
mogrify
(5.71 KB)
📄
montage
(5.71 KB)
📄
msql2mysql
(1.91 KB)
📄
my_print_defaults
(3.12 MB)
📄
mysql
(3.67 MB)
📄
mysql_config
(6.85 KB)
📄
mysql_find_rows
(3.7 KB)
📄
mysql_waitpid
(3.12 MB)
📄
mysqlaccess
(109.89 KB)
📄
mysqladmin
(3.37 MB)
📄
mysqlbinlog
(3.56 MB)
📄
mysqlcheck
(3.36 MB)
📄
mysqldump
(3.44 MB)
📄
mysqlimport
(3.36 MB)
📄
mysqlshow
(3.36 MB)
📄
namei
(12.41 KB)
📄
nano
(167.76 KB)
📄
neqn
(255 B)
📄
nl
(95.82 KB)
📄
nm
(40.16 KB)
📄
nohup
(25.57 KB)
📄
nproc
(23.7 KB)
📄
nroff
(2.34 KB)
📄
nslookup
(117.3 KB)
📄
nsupdate
(58.13 KB)
📄
objcopy
(207.13 KB)
📄
objdump
(274.1 KB)
📄
od
(56.79 KB)
📄
odbc_config
(6.65 KB)
📄
odbcinst
(22.78 KB)
📄
openssl
(513.28 KB)
📄
pango-querymodules-64
(9.94 KB)
📄
pango-view
(48.52 KB)
📄
passwd
(1.02 KB)
📄
paste
(24.95 KB)
📄
patch
(115.34 KB)
📄
pathchk
(23.2 KB)
📄
pdf2dsc
(696 B)
📄
pdf2ps
(901 B)
📄
pdfopt
(547 B)
📄
perl
(7.01 KB)
📄
perl5.10.1
(7.01 KB)
📄
perlbug
(43.68 KB)
📄
perldoc
(224 B)
📄
perlivp
(12.01 KB)
📄
perlml
(4.38 KB)
📄
perlthanks
(43.68 KB)
📄
pf2afm
(495 B)
📄
pfbtopfa
(511 B)
📄
pfbtops
(6.62 KB)
📄
pgrep
(15.77 KB)
📄
php
(937 B)
📄
pic
(208.61 KB)
📄
pic2graph
(2.5 KB)
📄
piconv
(7.17 KB)
📄
pinentry
(2.54 KB)
📄
pinentry-curses
(47.46 KB)
📄
pinky
(28.91 KB)
📄
pkg-config
(103.41 KB)
📄
pkill
(15.77 KB)
📄
pl2pm
(4.42 KB)
📄
pmap
(11.85 KB)
📄
pod2html
(2.28 KB)
📄
pod2latex
(10.01 KB)
📄
pod2man
(20.68 KB)
📄
pod2text
(8.87 KB)
📄
pod2usage
(3.26 KB)
📄
podchecker
(3.61 KB)
📄
podselect
(2.47 KB)
📄
post-grohtml
(128.52 KB)
📄
pr
(60.32 KB)
📄
pre-grohtml
(68.98 KB)
📄
precat
(5.52 KB)
📄
preunzip
(5.52 KB)
📄
prezip
(5.52 KB)
📄
prezip-bin
(6.98 KB)
📄
printafm
(386 B)
📄
printenv
(23.18 KB)
📄
printf
(45.26 KB)
📄
protoize
(67.05 KB)
📄
prove
(13.24 KB)
📄
ps2ascii
(786 B)
📄
ps2epsi
(2.71 KB)
📄
ps2pdf
(315 B)
📄
ps2pdf12
(260 B)
📄
ps2pdf13
(260 B)
📄
ps2pdf14
(260 B)
📄
ps2pdfwr
(1.06 KB)
📄
ps2ps
(634 B)
📄
ps2ps2
(704 B)
📄
psed
(52.08 KB)
📄
pstruct
(35.74 KB)
📄
ptx
(124.09 KB)
📄
pv.sh
(1.39 KB)
📄
pwdx
(6.59 KB)
📄
pydoc
(78 B)
📄
python
(4.75 KB)
📄
python2
(4.75 KB)
📄
python2.6
(4.75 KB)
📄
ranlib
(55.3 KB)
📄
readelf
(292.14 KB)
📄
readlink
(35.51 KB)
📄
recode
(39.23 KB)
📄
refer
(119.36 KB)
📄
rename
(6.59 KB)
📄
renice
(7.15 KB)
📄
reset
(17.48 KB)
📄
rev
(6.63 KB)
📄
rnano
(167.76 KB)
📄
rpcgen
(90.82 KB)
📄
run-with-aspell
(85 B)
📄
runcon
(27.45 KB)
📄
rvim
(2.18 MB)
📄
s2p
(52.08 KB)
📄
scl
(17.88 KB)
📄
scl_enabled
(258 B)
📄
scl_source
(1.83 KB)
📄
scp
(66.06 KB)
📄
screen
(374.12 KB)
📄
script
(12.33 KB)
📄
sdiff
(23.02 KB)
📄
selectorctl
(7.78 KB)
📄
seq
(39.34 KB)
📄
setsid
(5.41 KB)
📄
setterm
(20.3 KB)
📄
sftp
(102.07 KB)
📄
sha1sum
(35.43 KB)
📄
sha224sum
(41.15 KB)
📄
sha256sum
(41.15 KB)
📄
sha384sum
(47.43 KB)
📄
sha512sum
(47.43 KB)
📄
shred
(47.75 KB)
📄
shuf
(35.55 KB)
📄
size
(27.38 KB)
📄
skill
(14.75 KB)
📄
slabtop
(12.59 KB)
📄
slogin
(440.16 KB)
📄
snice
(14.75 KB)
📄
soelim
(22.96 KB)
📄
spell
(122 B)
📄
splain
(17.04 KB)
📄
split
(51.59 KB)
📄
sprof
(22.56 KB)
📄
sqlite3
(51.45 KB)
📄
ssh
(440.16 KB)
📄
ssh-add
(155.2 KB)
📄
ssh-agent
(138.07 KB)
📄
ssh-copy-id
(1.39 KB)
📄
ssh-keygen
(195.2 KB)
📄
ssh-keyscan
(247.8 KB)
📄
stat
(45.07 KB)
📄
stdbuf
(59.49 KB)
📄
strace
(423.4 KB)
📄
stream
(5.71 KB)
📄
strings
(27.38 KB)
📄
strip
(207.13 KB)
📄
sum
(31.34 KB)
📄
tabs
(10.93 KB)
📄
tac
(91.52 KB)
📄
tail
(56.34 KB)
📄
tailf
(8.32 KB)
📄
tbl
(95.88 KB)
📄
tclsh
(5.1 KB)
📄
tclsh8.5
(5.1 KB)
📄
tee
(23.62 KB)
📄
test
(29.54 KB)
📄
tfmtodit
(23.01 KB)
📄
tic
(48.66 KB)
📄
time
(13.8 KB)
📄
timeout
(45.63 KB)
📄
tload
(7.64 KB)
📄
tmpwatch
(17.38 KB)
📄
toe
(11.13 KB)
📄
top
(60.98 KB)
📄
tput
(11.23 KB)
📄
tr
(36.73 KB)
📄
troff
(346.55 KB)
📄
truncate
(47.48 KB)
📄
tset
(17.48 KB)
📄
tsort
(31.23 KB)
📄
tty
(21.41 KB)
📄
tzselect
(6.96 KB)
📄
uapi
(1.02 KB)
📄
ul
(13.1 KB)
📄
unexpand
(27.4 KB)
📄
uniq
(35.62 KB)
📄
unix-lpr.sh
(4.11 KB)
📄
unprotoize
(56.16 KB)
📄
unzip
(163.23 KB)
📄
unzipsfx
(75.16 KB)
📄
uptime
(4.73 KB)
📄
users
(23.54 KB)
📄
utmpdump
(10.68 KB)
📄
vdir
(106.65 KB)
📄
vim
(2.18 MB)
📄
vimdiff
(2.18 MB)
📄
vimtutor
(2.04 KB)
📄
vmstat
(19.84 KB)
📄
watch
(12.28 KB)
📄
wc
(31.85 KB)
📄
wftopfa
(284 B)
📄
wget
(349.02 KB)
📄
whereis
(11.19 KB)
📄
which
(20.28 KB)
📄
who
(43.96 KB)
📄
whoami
(23.18 KB)
📄
word-list-compress
(6.56 KB)
📄
x86_64-redhat-linux-c++
(261.65 KB)
📄
x86_64-redhat-linux-g++
(261.65 KB)
📄
x86_64-redhat-linux-gcc
(258.27 KB)
📄
xargs
(42.99 KB)
📄
xmlcatalog
(14.8 KB)
📄
xmllint
(57.38 KB)
📄
xmlwf
(21.89 KB)
📄
xsltproc
(22.98 KB)
📄
xsubpp
(4.96 KB)
📄
xxd
(14.8 KB)
📄
yes
(21.6 KB)
📄
zcmp
(67 B)
📄
zdiff
(4.34 KB)
📄
zegrep
(62 B)
📄
zfgrep
(62 B)
📄
zforce
(1.98 KB)
📄
zgrep
(4.86 KB)
📄
zip
(207.08 KB)
📄
zipcloak
(104.59 KB)
📄
zipgrep
(2.88 KB)
📄
zipinfo
(163.23 KB)
📄
zipnote
(96.27 KB)
📄
zipsplit
(100.27 KB)
📄
zless
(1.69 KB)
📄
zmore
(2.54 KB)
📄
znew
(5.12 KB)
📄
zsoelim
(22.96 KB)
Editing: tzselect
#! /bin/bash VERSION='@(#)tzselect.ksh 8.2' # Ask the user about the time zone, and output the resulting TZ value to stdout. # Interact with the user via stderr and stdin. # Contributed by Paul Eggert. # Porting notes: # # This script requires several features of the Korn shell. # If your host lacks the Korn shell, # you can use either of the following free programs instead: # # <a href=ftp://ftp.gnu.org/pub/gnu/> # Bourne-Again shell (bash) # </a> # # <a href=ftp://ftp.cs.mun.ca/pub/pdksh/pdksh.tar.gz> # Public domain ksh # </a> # # This script also uses several features of modern awk programs. # If your host lacks awk, or has an old awk that does not conform to Posix.2, # you can use either of the following free programs instead: # # <a href=ftp://ftp.gnu.org/pub/gnu/> # GNU awk (gawk) # </a> # # <a href=ftp://ftp.whidbey.net/pub/brennan/> # mawk # </a> # Specify default values for environment variables if they are unset. : ${AWK=awk} : ${TZDIR=/usr/share/zoneinfo} # Check for awk Posix compliance. ($AWK -v x=y 'BEGIN { exit 123 }') </dev/null >/dev/null 2>&1 [ $? = 123 ] || { echo >&2 "$0: Sorry, your \`$AWK' program is not Posix compatible." exit 1 } if [ "$1" = "--help" ]; then cat <<EOF Usage: tzselect Select a time zone interactively. Report bugs to tz@elsie.nci.nih.gov. EOF exit 0 elif [ "$1" = "--version" ]; then cat <<EOF tzselect $VERSION EOF exit 0 fi # Make sure the tables are readable. TZ_COUNTRY_TABLE=$TZDIR/iso3166.tab TZ_ZONE_TABLE=$TZDIR/zone.tab for f in $TZ_COUNTRY_TABLE $TZ_ZONE_TABLE do <$f || { echo >&2 "$0: time zone files are not set up correctly" exit 1 } done newline=' ' IFS=$newline # Work around a bug in bash 1.14.7 and earlier, where $PS3 is sent to stdout. case $(echo 1 | (select x in x; do break; done) 2>/dev/null) in ?*) PS3= esac # Begin the main loop. We come back here if the user wants to retry. while echo >&2 'Please identify a location' \ 'so that time zone rules can be set correctly.' continent= country= region= # Ask the user for continent or ocean. echo >&2 'Please select a continent or ocean.' select continent in \ Africa \ Americas \ Antarctica \ 'Arctic Ocean' \ Asia \ 'Atlantic Ocean' \ Australia \ Europe \ 'Indian Ocean' \ 'Pacific Ocean' \ 'none - I want to specify the time zone using the Posix TZ format.' do case $continent in '') echo >&2 'Please enter a number in range.';; ?*) case $continent in Americas) continent=America;; *' '*) continent=$(expr "$continent" : '\([^ ]*\)') esac break esac done case $continent in '') exit 1;; none) # Ask the user for a Posix TZ string. Check that it conforms. while echo >&2 'Please enter the desired value' \ 'of the TZ environment variable.' echo >&2 'For example, GST-10 is a zone named GST' \ 'that is 10 hours ahead (east) of UTC.' read TZ $AWK -v TZ="$TZ" 'BEGIN { tzname = "[^-+,0-9][^-+,0-9][^-+,0-9]+" time = "[0-2]?[0-9](:[0-5][0-9](:[0-5][0-9])?)?" offset = "[-+]?" time date = "(J?[0-9]+|M[0-9]+\.[0-9]+\.[0-9]+)" datetime = "," date "(/" time ")?" tzpattern = "^(:.*|" tzname offset "(" tzname \ "(" offset ")?(" datetime datetime ")?)?)$" if (TZ ~ tzpattern) exit 1 exit 0 }' do echo >&2 "\`$TZ' is not a conforming" \ 'Posix time zone string.' done TZ_for_date=$TZ;; *) # Get list of names of countries in the continent or ocean. countries=$($AWK -F'\t' \ -v continent="$continent" \ -v TZ_COUNTRY_TABLE="$TZ_COUNTRY_TABLE" \ ' /^#/ { next } $3 ~ ("^" continent "/") { if (!cc_seen[$1]++) cc_list[++ccs] = $1 } END { while (getline <TZ_COUNTRY_TABLE) { if ($0 !~ /^#/) cc_name[$1] = $2 } for (i = 1; i <= ccs; i++) { country = cc_list[i] if (cc_name[country]) { country = cc_name[country] } print country } } ' <$TZ_ZONE_TABLE | sort -f) # If there's more than one country, ask the user which one. case $countries in *"$newline"*) echo >&2 'Please select a country.' select country in $countries do case $country in '') echo >&2 'Please enter a number in range.';; ?*) break esac done case $country in '') exit 1 esac;; *) country=$countries esac # Get list of names of time zone rule regions in the country. regions=$($AWK -F'\t' \ -v country="$country" \ -v TZ_COUNTRY_TABLE="$TZ_COUNTRY_TABLE" \ ' BEGIN { cc = country while (getline <TZ_COUNTRY_TABLE) { if ($0 !~ /^#/ && country == $2) { cc = $1 break } } } $1 == cc { print $4 } ' <$TZ_ZONE_TABLE) # If there's more than one region, ask the user which one. case $regions in *"$newline"*) echo >&2 'Please select one of the following' \ 'time zone regions.' select region in $regions do case $region in '') echo >&2 'Please enter a number in range.';; ?*) break esac done case $region in '') exit 1 esac;; *) region=$regions esac # Determine TZ from country and region. TZ=$($AWK -F'\t' \ -v country="$country" \ -v region="$region" \ -v TZ_COUNTRY_TABLE="$TZ_COUNTRY_TABLE" \ ' BEGIN { cc = country while (getline <TZ_COUNTRY_TABLE) { if ($0 !~ /^#/ && country == $2) { cc = $1 break } } } $1 == cc && $4 == region { print $3 } ' <$TZ_ZONE_TABLE) # Make sure the corresponding zoneinfo file exists. TZ_for_date=$TZDIR/$TZ <$TZ_for_date || { echo >&2 "$0: time zone files are not set up correctly" exit 1 } esac # Use the proposed TZ to output the current date relative to UTC. # Loop until they agree in seconds. # Give up after 8 unsuccessful tries. extra_info= for i in 1 2 3 4 5 6 7 8 do TZdate=$(LANG=C TZ="$TZ_for_date" date) UTdate=$(LANG=C TZ=UTC0 date) TZsec=$(expr "$TZdate" : '.*:\([0-5][0-9]\)') UTsec=$(expr "$UTdate" : '.*:\([0-5][0-9]\)') case $TZsec in $UTsec) extra_info=" Local time is now: $TZdate. Universal Time is now: $UTdate." break esac done # Output TZ info and ask the user to confirm. echo >&2 "" echo >&2 "The following information has been given:" echo >&2 "" case $country+$region in ?*+?*) echo >&2 " $country$newline $region";; ?*+) echo >&2 " $country";; +) echo >&2 " TZ='$TZ'" esac echo >&2 "" echo >&2 "Therefore TZ='$TZ' will be used.$extra_info" echo >&2 "Is the above information OK?" ok= select ok in Yes No do case $ok in '') echo >&2 'Please enter 1 for Yes, or 2 for No.';; ?*) break esac done case $ok in '') exit 1;; Yes) break esac do : done case $SHELL in *csh) file=.login line="setenv TZ '$TZ'";; *) file=.profile line="TZ='$TZ'; export TZ" esac echo >&2 " You can make this change permanent for yourself by appending the line $line to the file '$file' in your home directory; then log out and log in again. Here is that TZ value again, this time on standard output so that you can use the $0 command in shell scripts:" echo "$TZ"
Upload File
Create Folder