OXIESEC PANEL
- Current Dir:
/
/
usr
/
bin
Server IP: 82.112.239.19
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
01/29/2025 10:07:18 PM
rwxr-xr-x
📄
7za
49 bytes
10/04/2024 01:49:32 AM
rwxr-xr-x
📄
[
51.81 KB
10/02/2024 09:44:18 PM
rwxr-xr-x
📄
aclocal
35.52 KB
09/27/2023 12:16:24 PM
rwxr-xr-x
📄
aclocal-1.16
35.52 KB
09/27/2023 12:16:24 PM
rwxr-xr-x
📄
addr2line
27.93 KB
10/03/2024 05:16:41 AM
rwxr-xr-x
📄
ar
56.19 KB
10/03/2024 05:16:41 AM
rwxr-xr-x
📄
arch
31.66 KB
10/02/2024 09:44:18 PM
rwxr-xr-x
📄
arpaname
15.28 KB
02/19/2025 04:04:24 PM
rwxr-xr-x
📄
as
710.51 KB
10/03/2024 05:16:41 AM
rwxr-xr-x
📄
aspell
151.12 KB
01/26/2022 09:47:25 PM
rwxr-xr-x
📄
autoconf
14.42 KB
10/02/2024 08:06:28 PM
rwxr-xr-x
📄
autoheader
8.33 KB
10/02/2024 08:06:28 PM
rwxr-xr-x
📄
autom4te
31.43 KB
10/02/2024 08:06:28 PM
rwxr-xr-x
📄
automake
251.93 KB
09/27/2023 12:16:24 PM
rwxr-xr-x
📄
automake-1.16
251.93 KB
09/27/2023 12:16:24 PM
rwxr-xr-x
📄
autoreconf
20.57 KB
10/02/2024 08:06:28 PM
rwxr-xr-x
📄
autoscan
16.72 KB
10/02/2024 08:06:28 PM
rwxr-xr-x
📄
autoupdate
33.08 KB
10/02/2024 08:06:28 PM
rwxr-xr-x
📄
awk
698.17 KB
03/30/2022 10:25:28 PM
rwxr-xr-x
📄
b2sum
51.8 KB
10/02/2024 09:44:18 PM
rwxr-xr-x
📄
base32
35.7 KB
10/02/2024 09:44:18 PM
rwxr-xr-x
📄
base64
35.7 KB
10/02/2024 09:44:18 PM
rwxr-xr-x
📄
basename
35.68 KB
10/02/2024 09:44:18 PM
rwxr-xr-x
📄
basenc
48.02 KB
10/02/2024 09:44:18 PM
rwxr-xr-x
📄
bash
1.32 MB
04/30/2024 02:33:56 PM
rwxr-xr-x
📄
bashbug-64
6.91 KB
04/30/2024 02:33:47 PM
rwxr-xr-x
📄
bunzip2
39.62 KB
02/04/2025 03:42:48 AM
rwxr-xr-x
📄
bzcat
39.62 KB
02/04/2025 03:42:48 AM
rwxr-xr-x
📄
bzcmp
2.09 KB
02/04/2025 03:42:48 AM
rwxr-xr-x
📄
bzdiff
2.09 KB
02/04/2025 03:42:48 AM
rwxr-xr-x
📄
bzgrep
2.01 KB
02/04/2025 03:42:48 AM
rwxr-xr-x
📄
bzip2
39.62 KB
02/04/2025 03:42:48 AM
rwxr-xr-x
📄
bzip2recover
15.4 KB
02/04/2025 03:42:48 AM
rwxr-xr-x
📄
bzless
1.23 KB
02/04/2025 03:42:48 AM
rwxr-xr-x
📄
bzmore
1.23 KB
02/04/2025 03:42:48 AM
rwxr-xr-x
📄
c++filt
27.38 KB
10/03/2024 05:16:41 AM
rwxr-xr-x
📄
cagefs_enter.proxied
1.04 KB
12/24/2024 11:28:37 AM
rwxr-xr-x
📄
cal
52.02 KB
10/02/2024 10:24:49 PM
rwxr-xr-x
📄
captoinfo
87.8 KB
09/27/2023 03:05:19 AM
rwxr-xr-x
📄
cat
35.66 KB
10/02/2024 09:44:18 PM
rwxr-xr-x
📄
catchsegv
3.21 KB
03/10/2025 10:35:10 AM
rwxr-xr-x
📄
cc
0 bytes
01/01/1970 12:00:00 AM
---------
📄
chcon
60.24 KB
10/02/2024 09:44:18 PM
rwxr-xr-x
📄
chgrp
56.17 KB
10/02/2024 09:44:18 PM
rwxr-xr-x
📄
chmod
56.19 KB
10/02/2024 09:44:18 PM
rwxr-xr-x
📄
chown
60.2 KB
10/02/2024 09:44:18 PM
rwxr-xr-x
📄
chrt
27.49 KB
10/02/2024 10:24:49 PM
rwxr-xr-x
📄
cksum
35.58 KB
10/02/2024 09:44:18 PM
rwxr-xr-x
📄
clear
15.15 KB
09/27/2023 03:05:19 AM
rwxr-xr-x
📄
cloudlinux-awp-user
1.78 KB
02/21/2025 04:11:52 PM
rwxr-xr-x
📄
clwpos-user
1.78 KB
02/21/2025 04:11:52 PM
rwxr-xr-x
📄
cmp
40.13 KB
01/29/2022 06:15:51 PM
rwxr-xr-x
📄
col
23.43 KB
10/02/2024 10:24:49 PM
rwxr-xr-x
📄
colcrt
15.39 KB
10/02/2024 10:24:49 PM
rwxr-xr-x
📄
colrm
15.38 KB
10/02/2024 10:24:49 PM
rwxr-xr-x
📄
column
35.53 KB
10/02/2024 10:24:49 PM
rwxr-xr-x
📄
comm
35.77 KB
10/02/2024 09:44:18 PM
rwxr-xr-x
📄
cp
149.23 KB
10/02/2024 09:44:18 PM
rwxr-xr-x
📄
cpp
1.04 MB
02/12/2025 01:11:11 PM
rwxr-xr-x
📄
csplit
108.88 KB
10/02/2024 09:44:18 PM
rwxr-xr-x
📄
curl
248.67 KB
10/02/2024 06:45:14 PM
rwxr-xr-x
📄
cut
47.82 KB
10/02/2024 09:44:18 PM
rwxr-xr-x
📄
cyrusbdb2current
1.58 MB
04/10/2023 02:10:39 PM
rwxr-xr-x
📄
date
104.05 KB
10/02/2024 09:44:18 PM
rwxr-xr-x
📄
dbiprof
6.06 KB
02/16/2022 08:03:52 AM
rwxr-xr-x
📄
delv
45.55 KB
02/19/2025 04:04:24 PM
rwxr-xr-x
📄
df
84.74 KB
10/02/2024 09:44:18 PM
rwxr-xr-x
📄
diff
194.7 KB
01/29/2022 06:15:51 PM
rwxr-xr-x
📄
diff3
52.3 KB
01/29/2022 06:15:51 PM
rwxr-xr-x
📄
dig
136.77 KB
02/19/2025 04:04:24 PM
rwxr-xr-x
📄
dir
137.66 KB
10/02/2024 09:44:18 PM
rwxr-xr-x
📄
dircolors
39.81 KB
10/02/2024 09:44:18 PM
rwxr-xr-x
📄
dirname
31.49 KB
10/02/2024 09:44:18 PM
rwxr-xr-x
📄
dltest
15.68 KB
02/11/2022 06:55:07 AM
rwxr-xr-x
📄
dnstap-read
23.37 KB
02/19/2025 04:04:24 PM
rwxr-xr-x
📄
du
149.45 KB
10/02/2024 09:44:18 PM
rwxr-xr-x
📄
echo
35.48 KB
10/02/2024 09:44:18 PM
rwxr-xr-x
📄
ed
52.51 KB
01/30/2022 05:02:01 AM
rwxr-xr-x
📄
egrep
32 bytes
01/31/2022 08:22:32 PM
rwxr-xr-x
📄
enchant
23.73 KB
01/30/2022 11:02:06 AM
rwxr-xr-x
📄
enchant-lsmod
15.8 KB
01/30/2022 11:02:06 AM
rwxr-xr-x
📄
env
44.23 KB
10/02/2024 09:44:18 PM
rwxr-xr-x
📄
eps2eps
643 bytes
09/03/2024 11:35:23 AM
rwxr-xr-x
📄
eqn
189.52 KB
02/01/2022 10:44:53 AM
rwxr-xr-x
📄
ex
1.39 MB
10/02/2024 11:01:05 PM
rwxr-xr-x
📄
expand
39.74 KB
10/02/2024 09:44:18 PM
rwxr-xr-x
📄
expr
108.6 KB
10/02/2024 09:44:18 PM
rwxr-xr-x
📄
factor
72.05 KB
10/02/2024 09:44:18 PM
rwxr-xr-x
📄
false
27.48 KB
10/02/2024 09:44:18 PM
rwxr-xr-x
📄
fc-cache
139 bytes
01/23/2023 03:48:20 PM
rwxr-xr-x
📄
fc-cache-64
23.17 KB
01/23/2023 07:48:35 PM
rwxr-xr-x
📄
fc-cat
19.16 KB
01/23/2023 07:48:35 PM
rwxr-xr-x
📄
fc-conflist
15.13 KB
01/23/2023 07:48:35 PM
rwxr-xr-x
📄
fc-list
15.13 KB
01/23/2023 07:48:35 PM
rwxr-xr-x
📄
fc-match
15.13 KB
01/23/2023 07:48:35 PM
rwxr-xr-x
📄
fc-pattern
15.14 KB
01/23/2023 07:48:35 PM
rwxr-xr-x
📄
fc-query
15.13 KB
01/23/2023 07:48:35 PM
rwxr-xr-x
📄
fc-scan
15.14 KB
01/23/2023 07:48:35 PM
rwxr-xr-x
📄
fc-validate
15.14 KB
01/23/2023 07:48:35 PM
rwxr-xr-x
📄
fgrep
32 bytes
01/31/2022 08:22:32 PM
rwxr-xr-x
📄
file
27.74 KB
04/03/2024 12:38:13 PM
rwxr-xr-x
📄
find
284.95 KB
10/02/2024 09:04:59 PM
rwxr-xr-x
📄
flock
23.56 KB
10/02/2024 10:24:49 PM
rwxr-xr-x
📄
fmt
39.77 KB
10/02/2024 09:44:18 PM
rwxr-xr-x
📄
fold
39.72 KB
10/02/2024 09:44:18 PM
rwxr-xr-x
📄
free
23.36 KB
04/30/2024 04:43:23 PM
rwxr-xr-x
📄
funzip
31.42 KB
03/18/2025 03:53:48 AM
rwxr-xr-x
📄
gawk
698.17 KB
03/30/2022 10:25:28 PM
rwxr-xr-x
📄
gcc-ar
27.81 KB
02/12/2025 01:11:11 PM
rwxr-xr-x
📄
gcc-nm
27.8 KB
02/12/2025 01:11:11 PM
rwxr-xr-x
📄
gcc-ranlib
27.82 KB
02/12/2025 01:11:11 PM
rwxr-xr-x
📄
gcov-dump
283.74 KB
02/12/2025 01:11:12 PM
rwxr-xr-x
📄
gcov-tool
312.46 KB
02/12/2025 01:11:12 PM
rwxr-xr-x
📄
gencat
27.64 KB
03/10/2025 10:37:59 AM
rwxr-xr-x
📄
geoiplookup
15.86 KB
11/05/2021 01:40:44 PM
rwxr-xr-x
📄
geoiplookup6
15.81 KB
11/05/2021 01:40:44 PM
rwxr-xr-x
📄
geqn
189.52 KB
02/01/2022 10:44:53 AM
rwxr-xr-x
📄
getconf
35.41 KB
03/10/2025 10:37:59 AM
rwxr-xr-x
📄
getent
36.03 KB
03/10/2025 10:37:59 AM
rwxr-xr-x
📄
getopt
23.46 KB
10/02/2024 10:24:49 PM
rwxr-xr-x
📄
ghostscript
15.31 KB
09/03/2024 11:35:34 AM
rwxr-xr-x
📄
gifdiff
55.9 KB
02/21/2024 04:36:44 AM
rwxr-xr-x
📄
gifsicle
194.05 KB
02/21/2024 04:36:44 AM
rwxr-xr-x
📄
git
3.87 MB
12/17/2024 12:17:15 PM
rwxr-xr-x
📄
git-receive-pack
3.87 MB
12/17/2024 12:17:15 PM
rwxr-xr-x
📄
git-shell
637.14 KB
12/17/2024 12:17:15 PM
rwxr-xr-x
📄
git-upload-archive
3.87 MB
12/17/2024 12:17:15 PM
rwxr-xr-x
📄
git-upload-pack
3.87 MB
12/17/2024 12:17:15 PM
rwxr-xr-x
📄
gm
15.67 KB
11/23/2022 05:49:37 PM
rwxr-xr-x
📄
gneqn
916 bytes
02/01/2022 10:44:38 AM
rwxr-xr-x
📄
gnroff
3.21 KB
02/01/2022 10:44:38 AM
rwxr-xr-x
📄
gpg
1.07 MB
09/26/2023 07:39:20 PM
rwxr-xr-x
📄
gpg-agent
342.25 KB
09/26/2023 07:39:20 PM
rwxr-xr-x
📄
gpg-error
36.1 KB
02/09/2022 11:24:31 PM
rwxr-xr-x
📄
gpgsplit
27.49 KB
09/26/2023 07:39:20 PM
rwxr-xr-x
📄
gpgv
295.42 KB
09/26/2023 07:39:20 PM
rwxr-xr-x
📄
gpic
201.72 KB
02/01/2022 10:44:53 AM
rwxr-xr-x
📄
gprof
101.66 KB
10/03/2024 05:16:41 AM
rwxr-xr-x
📄
grep
154.49 KB
01/31/2022 08:22:36 PM
rwxr-xr-x
📄
groff
96.77 KB
02/01/2022 10:44:53 AM
rwxr-xr-x
📄
grops
167.26 KB
02/01/2022 10:44:53 AM
rwxr-xr-x
📄
grotty
122.2 KB
02/01/2022 10:44:53 AM
rwxr-xr-x
📄
groups
35.68 KB
10/02/2024 09:44:18 PM
rwxr-xr-x
📄
gs
15.31 KB
09/03/2024 11:35:34 AM
rwxr-xr-x
📄
gsnd
281 bytes
09/03/2024 11:35:23 AM
rwxr-xr-x
📄
gsoelim
0 bytes
01/01/1970 12:00:00 AM
---------
📄
gtar
514.27 KB
10/02/2024 09:24:00 PM
rwxr-xr-x
📄
gtbl
130.86 KB
02/01/2022 10:44:53 AM
rwxr-xr-x
📄
gtroff
732.07 KB
02/01/2022 10:44:53 AM
rwxr-xr-x
📄
gunzip
2.29 KB
10/15/2022 05:26:34 PM
rwxr-xr-x
📄
gzexe
6.3 KB
10/15/2022 05:26:34 PM
rwxr-xr-x
📄
gzip
89.63 KB
10/15/2022 05:26:34 PM
rwxr-xr-x
📄
hdu
18.09 KB
08/27/2024 07:27:06 PM
rwxr-xr-x
📄
head
43.8 KB
10/02/2024 09:44:18 PM
rwxr-xr-x
📄
hexdump
51.6 KB
10/02/2024 10:24:49 PM
rwxr-xr-x
📄
host
108.76 KB
02/19/2025 04:04:24 PM
rwxr-xr-x
📄
hostid
31.67 KB
10/02/2024 09:44:18 PM
rwxr-xr-x
📄
hostname
23.84 KB
02/14/2022 11:22:04 AM
rwxr-xr-x
📄
hunspell
102.67 KB
01/31/2022 08:22:03 PM
rwxr-xr-x
📄
iconv
64.38 KB
03/10/2025 10:37:59 AM
rwxr-xr-x
📄
id
39.72 KB
10/02/2024 09:44:18 PM
rwxr-xr-x
📄
idn
35.8 KB
12/20/2022 04:04:46 PM
rwxr-xr-x
📄
ifnames
4.03 KB
10/02/2024 08:06:28 PM
rwxr-xr-x
📄
infocmp
63.68 KB
09/27/2023 03:05:19 AM
rwxr-xr-x
📄
infotocap
87.8 KB
09/27/2023 03:05:19 AM
rwxr-xr-x
📄
install
149.29 KB
10/02/2024 09:44:18 PM
rwxr-xr-x
📄
ionice
15.41 KB
10/02/2024 10:24:49 PM
rwxr-xr-x
📄
ipcrm
19.42 KB
10/02/2024 10:24:49 PM
rwxr-xr-x
📄
ipcs
39.54 KB
10/02/2024 10:24:49 PM
rwxr-xr-x
📄
isosize
15.34 KB
10/02/2024 10:24:49 PM
rwxr-xr-x
📄
ispell
992 bytes
10/08/2019 12:15:21 AM
rwxr-xr-x
📄
isql
40.01 KB
02/11/2022 06:55:07 AM
rwxr-xr-x
📄
iusql
31.95 KB
02/11/2022 06:55:07 AM
rwxr-xr-x
📄
join
51.88 KB
10/02/2024 09:44:18 PM
rwxr-xr-x
📄
jpegoptim
48.83 KB
08/12/2023 05:24:00 PM
rwxr-xr-x
📄
kill
31.48 KB
10/02/2024 10:24:49 PM
rwxr-xr-x
📄
ld
1.7 MB
10/03/2024 05:16:41 AM
rwxr-xr-x
📄
ld.bfd
1.7 MB
10/03/2024 05:16:41 AM
rwxr-xr-x
📄
ldd
5.32 KB
03/10/2025 10:35:12 AM
rwxr-xr-x
📄
less
197.9 KB
10/02/2024 08:38:47 PM
rwxr-xr-x
📄
lessecho
15.37 KB
10/02/2024 08:38:47 PM
rwxr-xr-x
📄
lesskey
24.8 KB
10/02/2024 08:38:47 PM
rwxr-xr-x
📄
lesspipe.sh
3.5 KB
10/02/2024 07:31:20 PM
rwxr-xr-x
📄
link
31.67 KB
10/02/2024 09:44:18 PM
rwxr-xr-x
📄
ln
60.17 KB
10/02/2024 09:44:18 PM
rwxr-xr-x
📄
locale
59.34 KB
03/10/2025 10:37:59 AM
rwxr-xr-x
📄
localedef
314.54 KB
03/10/2025 10:37:59 AM
rwxr-xr-x
📄
logger
36.17 KB
10/02/2024 10:24:49 PM
rwxr-xr-x
📄
login
43.64 KB
10/02/2024 10:24:49 PM
rwxr-xr-x
📄
logname
31.67 KB
10/02/2024 09:44:18 PM
rwxr-xr-x
📄
look
19.37 KB
10/02/2024 10:24:49 PM
rwxr-xr-x
📄
ls
137.65 KB
10/02/2024 09:44:18 PM
rwxr-xr-x
📄
lto-dump
26.58 MB
02/12/2025 01:11:12 PM
rwxr-xr-x
📄
m4
240.4 KB
03/31/2022 07:28:13 AM
rwxr-xr-x
📄
mailq
0 bytes
01/01/1970 12:00:00 AM
---------
📄
make-dummy-cert
614 bytes
02/11/2025 09:56:48 PM
rwxr-xr-x
📄
mariadb
5.07 MB
10/29/2024 04:02:47 PM
rwxr-xr-x
📄
mariadb-access
109.34 KB
10/29/2024 02:56:06 PM
rwxr-xr-x
📄
mariadb-admin
4.85 MB
10/29/2024 04:02:47 PM
rwxr-xr-x
📄
mariadb-binlog
5.13 MB
10/29/2024 04:02:47 PM
rwxr-xr-x
📄
mariadb-check
4.84 MB
10/29/2024 04:02:47 PM
rwxr-xr-x
📄
mariadb-dump
4.93 MB
10/29/2024 04:02:47 PM
rwxr-xr-x
📄
mariadb-find-rows
3.21 KB
10/29/2024 02:56:06 PM
rwxr-xr-x
📄
mariadb-import
4.84 MB
10/29/2024 04:02:47 PM
rwxr-xr-x
📄
mariadb-show
4.83 MB
10/29/2024 04:02:47 PM
rwxr-xr-x
📄
mariadb-waitpid
4.52 MB
10/29/2024 04:02:47 PM
rwxr-xr-x
📄
mc
1.22 MB
02/10/2022 07:09:08 AM
rwxr-xr-x
📄
mcdiff
1.22 MB
02/10/2022 07:09:08 AM
rwxr-xr-x
📄
mcedit
1.22 MB
02/10/2022 07:09:08 AM
rwxr-xr-x
📄
mcookie
27.51 KB
10/02/2024 10:24:49 PM
rwxr-xr-x
📄
mcview
1.22 MB
02/10/2022 07:09:08 AM
rwxr-xr-x
📄
md5sum
39.65 KB
10/02/2024 09:44:18 PM
rwxr-xr-x
📄
mesg
15.34 KB
10/02/2024 10:24:49 PM
rwxr-xr-x
📄
mkdir
68.31 KB
10/02/2024 09:44:18 PM
rwxr-xr-x
📄
mkfifo
39.83 KB
10/02/2024 09:44:18 PM
rwxr-xr-x
📄
mknod
43.88 KB
10/02/2024 09:44:18 PM
rwxr-xr-x
📄
mktemp
39.81 KB
10/02/2024 09:44:18 PM
rwxr-xr-x
📄
more
43.63 KB
10/02/2024 10:24:49 PM
rwxr-xr-x
📄
msmtp
133.98 KB
11/21/2022 08:25:25 PM
rwxr-xr-x
📄
msmtpd
35.65 KB
11/21/2022 08:25:25 PM
rwxr-xr-x
📄
msql2mysql
1.42 KB
10/29/2024 02:56:06 PM
rwxr-xr-x
📄
mv
141.17 KB
10/02/2024 09:44:18 PM
rwxr-xr-x
📄
my_print_defaults
4.53 MB
10/29/2024 04:02:47 PM
rwxr-xr-x
📄
mysql
5.07 MB
10/29/2024 04:02:47 PM
rwxr-xr-x
📄
mysql_config
4.57 KB
10/29/2024 02:56:06 PM
rwxr-xr-x
📄
mysql_find_rows
3.21 KB
10/29/2024 02:56:06 PM
rwxr-xr-x
📄
mysql_waitpid
4.52 MB
10/29/2024 04:02:47 PM
rwxr-xr-x
📄
mysqlaccess
109.34 KB
10/29/2024 02:56:06 PM
rwxr-xr-x
📄
mysqladmin
4.85 MB
10/29/2024 04:02:47 PM
rwxr-xr-x
📄
mysqlbinlog
5.13 MB
10/29/2024 04:02:47 PM
rwxr-xr-x
📄
mysqlcheck
4.84 MB
10/29/2024 04:02:47 PM
rwxr-xr-x
📄
mysqldump
4.93 MB
10/29/2024 04:02:47 PM
rwxr-xr-x
📄
mysqlimport
4.84 MB
10/29/2024 04:02:47 PM
rwxr-xr-x
📄
mysqlshow
4.83 MB
10/29/2024 04:02:47 PM
rwxr-xr-x
📄
namei
23.42 KB
10/02/2024 10:24:49 PM
rwxr-xr-x
📄
nano
346.22 KB
10/02/2024 09:37:48 PM
rwxr-xr-x
📄
neqn
916 bytes
02/01/2022 10:44:38 AM
rwxr-xr-x
📄
newaliases
0 bytes
01/01/1970 12:00:00 AM
---------
📄
nice
35.68 KB
10/02/2024 09:44:18 PM
rwxr-xr-x
📄
nl
100.7 KB
10/02/2024 09:44:18 PM
rwxr-xr-x
📄
nm
44.91 KB
10/03/2024 05:16:41 AM
rwxr-xr-x
📄
nohup
35.59 KB
10/02/2024 09:44:18 PM
rwxr-xr-x
📄
nproc
35.7 KB
10/02/2024 09:44:18 PM
rwxr-xr-x
📄
nroff
3.21 KB
02/01/2022 10:44:38 AM
rwxr-xr-x
📄
nslookup
112.71 KB
02/19/2025 04:04:24 PM
rwxr-xr-x
📄
nsupdate
71.99 KB
02/19/2025 04:04:24 PM
rwxr-xr-x
📄
numfmt
55.83 KB
10/02/2024 09:44:18 PM
rwxr-xr-x
📄
objcopy
185.56 KB
10/03/2024 05:16:41 AM
rwxr-xr-x
📄
objdump
413.3 KB
10/03/2024 05:16:41 AM
rwxr-xr-x
📄
od
64.07 KB
10/02/2024 09:44:18 PM
rwxr-xr-x
📄
odbc_config
15.7 KB
02/11/2022 06:55:07 AM
rwxr-xr-x
📄
odbcinst
23.9 KB
02/11/2022 06:55:07 AM
rwxr-xr-x
📄
openssl
1.01 MB
02/11/2025 09:56:51 PM
rwxr-xr-x
📄
optipng
92.05 KB
11/05/2023 12:25:18 PM
rwxr-xr-x
📄
pango-list
19.11 KB
04/07/2023 10:19:30 AM
rwxr-xr-x
📄
pango-segmentation
19.13 KB
04/07/2023 10:19:30 AM
rwxr-xr-x
📄
pango-view
60.17 KB
04/07/2023 10:19:30 AM
rwxr-xr-x
📄
passwd
1.02 KB
04/14/2022 02:45:09 PM
rwxr-xr-x
📄
paste
35.59 KB
10/02/2024 09:44:18 PM
rwxr-xr-x
📄
patch
195.02 KB
03/25/2022 03:42:41 PM
rwxr-xr-x
📄
pathchk
35.66 KB
10/02/2024 09:44:18 PM
rwxr-xr-x
📄
pdf2dsc
701 bytes
09/03/2024 11:35:23 AM
rwxr-xr-x
📄
pdf2ps
913 bytes
09/03/2024 11:35:23 AM
rwxr-xr-x
📄
perldoc
118 bytes
02/14/2022 11:51:30 PM
rwxr-xr-x
📄
pgrep
31.42 KB
04/30/2024 04:43:23 PM
rwxr-xr-x
📄
php
10.11 MB
03/12/2025 01:49:57 PM
rwxr-xr-x
📄
php-cgi
10.11 MB
03/12/2025 01:49:57 PM
rwxr-xr-x
📄
phpize
4.97 KB
05/06/2025 02:47:00 PM
rwxr-xr-x
📄
pic
201.72 KB
02/01/2022 10:44:53 AM
rwxr-xr-x
📄
piconv
8.08 KB
02/11/2022 04:42:02 PM
rwxr-xr-x
📄
ping
76.66 KB
12/17/2024 10:51:58 AM
rwxr-xr-x
📄
pinky
35.62 KB
10/02/2024 09:44:18 PM
rwxr-xr-x
📄
pkill
31.42 KB
04/30/2024 04:43:23 PM
rwxr-xr-x
📄
pmap
35.39 KB
04/30/2024 04:43:23 PM
rwxr-xr-x
📄
pod2man
14.68 KB
03/25/2022 12:10:57 PM
rwxr-xr-x
📄
pod2text
10.55 KB
03/25/2022 12:10:57 PM
rwxr-xr-x
📄
pod2usage
4.01 KB
02/11/2022 04:01:30 PM
rwxr-xr-x
📄
post-grohtml
199.76 KB
02/01/2022 10:44:53 AM
rwxr-xr-x
📄
pr
72.3 KB
10/02/2024 09:44:18 PM
rwxr-xr-x
📄
pre-grohtml
92.92 KB
02/01/2022 10:44:53 AM
rwxr-xr-x
📄
precat
5.53 KB
10/08/2019 12:15:21 AM
rwxr-xr-x
📄
preunzip
5.53 KB
10/08/2019 12:15:21 AM
rwxr-xr-x
📄
prezip
5.53 KB
10/08/2019 12:15:21 AM
rwxr-xr-x
📄
prezip-bin
15.69 KB
01/26/2022 09:47:25 PM
rwxr-xr-x
📄
printenv
31.48 KB
10/02/2024 09:44:18 PM
rwxr-xr-x
📄
printf
51.78 KB
10/02/2024 09:44:18 PM
rwxr-xr-x
📄
ps
141.15 KB
04/30/2024 04:43:23 PM
rwxr-xr-x
📄
ps2ascii
635 bytes
09/03/2024 11:35:23 AM
rwxr-xr-x
📄
ps2epsi
1.24 KB
09/03/2024 11:35:23 AM
rwxr-xr-x
📄
ps2pdf
276 bytes
09/03/2024 11:35:23 AM
rwxr-xr-x
📄
ps2pdf12
219 bytes
09/03/2024 11:35:23 AM
rwxr-xr-x
📄
ps2pdf13
219 bytes
09/03/2024 11:35:23 AM
rwxr-xr-x
📄
ps2pdf14
219 bytes
09/03/2024 11:35:23 AM
rwxr-xr-x
📄
ps2pdfwr
1.06 KB
09/03/2024 11:35:23 AM
rwxr-xr-x
📄
ps2ps
651 bytes
09/03/2024 11:35:23 AM
rwxr-xr-x
📄
ps2ps2
673 bytes
09/03/2024 11:35:23 AM
rwxr-xr-x
📄
ptx
129.04 KB
10/02/2024 09:44:18 PM
rwxr-xr-x
📄
pwd
35.7 KB
10/02/2024 09:44:18 PM
rwxr-xr-x
📄
pwdx
15.28 KB
04/30/2024 04:43:23 PM
rwxr-xr-x
📄
ranlib
56.2 KB
10/03/2024 05:16:41 AM
rwxr-xr-x
📄
readelf
667.48 KB
10/03/2024 05:16:41 AM
rwxr-xr-x
📄
readlink
39.7 KB
10/02/2024 09:44:18 PM
rwxr-xr-x
📄
realpath
39.77 KB
10/02/2024 09:44:18 PM
rwxr-xr-x
📄
recode
31.93 KB
11/02/2022 11:35:06 AM
rwxr-xr-x
📄
red
92 bytes
01/30/2022 05:02:00 AM
rwxr-xr-x
📄
rename
23.42 KB
10/02/2024 10:24:49 PM
rwxr-xr-x
📄
renew-dummy-cert
729 bytes
02/11/2025 09:56:48 PM
rwxr-xr-x
📄
renice
15.37 KB
10/02/2024 10:24:49 PM
rwxr-xr-x
📄
reset
27.34 KB
09/27/2023 03:05:19 AM
rwxr-xr-x
📄
restic
28.4 MB
06/20/2025 12:51:17 PM
rwx------
📄
rev
15.36 KB
10/02/2024 10:24:49 PM
rwxr-xr-x
📄
rm
60.21 KB
10/02/2024 09:44:18 PM
rwxr-xr-x
📄
rmdir
43.62 KB
10/02/2024 09:44:18 PM
rwxr-xr-x
📄
rnano
346.22 KB
10/02/2024 09:37:48 PM
rwxr-xr-x
📄
rsync
554.8 KB
01/15/2025 09:37:49 AM
rwxr-xr-x
📄
rsync-ssl
4.82 KB
01/15/2025 09:37:35 AM
rwxr-xr-x
📄
run-with-aspell
89 bytes
01/26/2022 09:47:11 PM
rwxr-xr-x
📄
runcon
35.65 KB
10/02/2024 09:44:18 PM
rwxr-xr-x
📄
rvi
1.39 MB
10/02/2024 11:01:05 PM
rwxr-xr-x
📄
rview
1.39 MB
10/02/2024 11:01:05 PM
rwxr-xr-x
📄
rvim
3.84 MB
10/02/2024 11:01:05 PM
rwxr-xr-x
📄
scalar
685.83 KB
12/17/2024 12:17:15 PM
rwxr-xr-x
📄
scl
39.55 KB
04/07/2023 01:57:08 AM
rwxr-xr-x
📄
scl_enabled
262 bytes
07/27/2021 03:14:26 PM
rwxr-xr-x
📄
scl_source
1.88 KB
07/27/2021 03:14:26 PM
rwxr-xr-x
📄
scp
133.07 KB
03/01/2025 08:47:16 AM
rwxr-xr-x
📄
script
51.76 KB
10/02/2024 10:24:49 PM
rwxr-xr-x
📄
sdiff
44.2 KB
01/29/2022 06:15:51 PM
rwxr-xr-x
📄
sed
114.01 KB
02/15/2022 10:36:52 AM
rwxr-xr-x
📄
seq
47.8 KB
10/02/2024 09:44:18 PM
rwxr-xr-x
📄
setsid
15.35 KB
10/02/2024 10:24:49 PM
rwxr-xr-x
📄
setterm
35.52 KB
10/02/2024 10:24:49 PM
rwxr-xr-x
📄
sftp
141.06 KB
03/01/2025 08:47:16 AM
rwxr-xr-x
📄
sh
1.32 MB
04/30/2024 02:33:56 PM
rwxr-xr-x
📄
sha1sum
39.65 KB
10/02/2024 09:44:18 PM
rwxr-xr-x
📄
sha224sum
39.65 KB
10/02/2024 09:44:18 PM
rwxr-xr-x
📄
sha256sum
39.65 KB
10/02/2024 09:44:18 PM
rwxr-xr-x
📄
sha384sum
39.65 KB
10/02/2024 09:44:18 PM
rwxr-xr-x
📄
sha512sum
39.65 KB
10/02/2024 09:44:18 PM
rwxr-xr-x
📄
shred
51.88 KB
10/02/2024 09:44:18 PM
rwxr-xr-x
📄
shuf
48.02 KB
10/02/2024 09:44:18 PM
rwxr-xr-x
📄
size
31.8 KB
10/03/2024 05:16:41 AM
rwxr-xr-x
📄
skill
31.4 KB
04/30/2024 04:43:23 PM
rwxr-xr-x
📄
slabtop
23.42 KB
04/30/2024 04:43:23 PM
rwxr-xr-x
📄
sleep
35.66 KB
10/02/2024 09:44:18 PM
rwxr-xr-x
📄
slencheck
15.71 KB
02/11/2022 06:55:07 AM
rwxr-xr-x
📄
snice
31.4 KB
04/30/2024 04:43:23 PM
rwxr-xr-x
📄
soelim
0 bytes
01/01/1970 12:00:00 AM
---------
📄
sort
113.11 KB
10/02/2024 09:44:18 PM
rwxr-xr-x
📄
spell
125 bytes
10/08/2019 12:15:21 AM
rwxr-xr-x
📄
split
52.33 KB
10/02/2024 09:44:18 PM
rwxr-xr-x
📄
sprof
35.62 KB
03/10/2025 10:37:59 AM
rwxr-xr-x
📄
sqlite3
1.52 MB
01/24/2024 11:10:31 PM
rwxr-xr-x
📄
ssh
843.53 KB
03/01/2025 08:47:16 AM
rwxr-xr-x
📄
ssh-add
164.87 KB
03/01/2025 08:47:16 AM
rwxr-xr-x
📄
ssh-agent
281.02 KB
03/01/2025 08:47:16 AM
rwxr-xr-x
📄
ssh-copy-id
12.38 KB
03/01/2025 08:47:15 AM
rwxr-xr-x
📄
ssh-keygen
455.04 KB
03/01/2025 08:47:16 AM
rwxr-xr-x
📄
ssh-keyscan
197.44 KB
03/01/2025 08:47:16 AM
rwxr-xr-x
📄
stat
80.07 KB
10/02/2024 09:44:18 PM
rwxr-xr-x
📄
stdbuf
43.75 KB
10/02/2024 09:44:18 PM
rwxr-xr-x
📄
strings
31.92 KB
10/03/2024 05:16:41 AM
rwxr-xr-x
📄
strip
185.55 KB
10/03/2024 05:16:41 AM
rwxr-xr-x
📄
stty
75.84 KB
10/02/2024 09:44:18 PM
rwxr-xr-x
📄
sum
35.6 KB
10/02/2024 09:44:18 PM
rwxr-xr-x
📄
svn
446.56 KB
05/23/2022 02:43:50 PM
rwxr-xr-x
📄
svnadmin
136.45 KB
05/23/2022 02:43:50 PM
rwxr-xr-x
📄
svndumpfilter
44.15 KB
05/23/2022 02:43:50 PM
rwxr-xr-x
📄
svnfsfs
44.03 KB
05/23/2022 02:43:50 PM
rwxr-xr-x
📄
svnlook
92.23 KB
05/23/2022 02:43:50 PM
rwxr-xr-x
📄
svnrdump
56.23 KB
05/23/2022 02:43:50 PM
rwxr-xr-x
📄
svnserve
112.91 KB
05/23/2022 02:43:50 PM
rwxr-xr-x
📄
svnsync
68.41 KB
05/23/2022 02:43:50 PM
rwxr-xr-x
📄
svnversion
15.72 KB
05/23/2022 02:43:50 PM
rwxr-xr-x
📄
sync
35.55 KB
10/02/2024 09:44:18 PM
rwxr-xr-x
📄
tabs
19.16 KB
09/27/2023 03:05:19 AM
rwxr-xr-x
📄
tac
104.61 KB
10/02/2024 09:44:18 PM
rwxr-xr-x
📄
tail
68.1 KB
10/02/2024 09:44:18 PM
rwxr-xr-x
📄
tar
514.27 KB
10/02/2024 09:24:00 PM
rwxr-xr-x
📄
taskset
23.41 KB
10/02/2024 10:24:49 PM
rwxr-xr-x
📄
tbl
130.86 KB
02/01/2022 10:44:53 AM
rwxr-xr-x
📄
tclsh
15.69 KB
10/15/2022 09:29:43 PM
rwxr-xr-x
📄
tclsh8.6
15.69 KB
10/15/2022 09:29:43 PM
rwxr-xr-x
📄
tee
35.7 KB
10/02/2024 09:44:18 PM
rwxr-xr-x
📄
test
43.8 KB
10/02/2024 09:44:18 PM
rwxr-xr-x
📄
tic
87.8 KB
09/27/2023 03:05:19 AM
rwxr-xr-x
📄
timeout
40.18 KB
10/02/2024 09:44:18 PM
rwxr-xr-x
📄
tload
19.34 KB
04/30/2024 04:43:23 PM
rwxr-xr-x
📄
tmpwatch
36.03 KB
02/11/2022 11:52:55 AM
rwxr-xr-x
📄
toe
23.23 KB
09/27/2023 03:05:19 AM
rwxr-xr-x
📄
top
132.27 KB
04/30/2024 04:43:23 PM
rwxr-xr-x
📄
touch
92.04 KB
10/02/2024 09:44:18 PM
rwxr-xr-x
📄
tput
27.25 KB
09/27/2023 03:05:19 AM
rwxr-xr-x
📄
tr
47.87 KB
10/02/2024 09:44:18 PM
rwxr-xr-x
📄
tree
85.45 KB
02/12/2022 01:46:16 AM
rwxr-xr-x
📄
troff
732.07 KB
02/01/2022 10:44:53 AM
rwxr-xr-x
📄
true
27.48 KB
10/02/2024 09:44:18 PM
rwxr-xr-x
📄
truncate
35.66 KB
10/02/2024 09:44:18 PM
rwxr-xr-x
📄
tset
27.34 KB
09/27/2023 03:05:19 AM
rwxr-xr-x
📄
tsort
47.8 KB
10/02/2024 09:44:18 PM
rwxr-xr-x
📄
tty
31.66 KB
10/02/2024 09:44:18 PM
rwxr-xr-x
📄
tzselect
14.99 KB
03/10/2025 10:34:47 AM
rwxr-xr-x
📄
ul
23.45 KB
10/02/2024 10:24:49 PM
rwxr-xr-x
📄
uname
31.66 KB
10/02/2024 09:44:18 PM
rwxr-xr-x
📄
unexpand
39.73 KB
10/02/2024 09:44:18 PM
rwxr-xr-x
📄
uniq
43.84 KB
10/02/2024 09:44:18 PM
rwxr-xr-x
📄
unlink
31.66 KB
10/02/2024 09:44:18 PM
rwxr-xr-x
📄
unrar
347.02 KB
05/04/2022 06:22:12 PM
rwxr-xr-x
📄
unzip
196.14 KB
03/18/2025 03:53:48 AM
rwxr-xr-x
📄
unzipsfx
87.89 KB
03/18/2025 03:53:48 AM
rwxr-xr-x
📄
uptime
15.29 KB
04/30/2024 04:43:23 PM
rwxr-xr-x
📄
users
35.69 KB
10/02/2024 09:44:18 PM
rwxr-xr-x
📄
utmpdump
23.4 KB
10/02/2024 10:24:49 PM
rwxr-xr-x
📄
vdir
137.66 KB
10/02/2024 09:44:18 PM
rwxr-xr-x
📄
vi
691 bytes
10/02/2024 11:01:02 PM
rwxr-xr-x
📄
view
150 bytes
10/02/2024 11:01:02 PM
rwxr-xr-x
📄
vim
3.84 MB
10/02/2024 11:01:05 PM
rwxr-xr-x
📄
vimdiff
3.84 MB
10/02/2024 11:01:05 PM
rwxr-xr-x
📄
vimtutor
2.07 KB
10/02/2024 11:01:01 PM
rwxr-xr-x
📄
vmstat
39.41 KB
04/30/2024 04:43:23 PM
rwxr-xr-x
📄
watch
27.87 KB
04/30/2024 04:43:23 PM
rwxr-xr-x
📄
wc
43.74 KB
10/02/2024 09:44:18 PM
rwxr-xr-x
📄
wget
521.41 KB
09/03/2024 11:58:56 AM
rwxr-xr-x
📄
whereis
32.04 KB
10/02/2024 10:24:49 PM
rwxr-xr-x
📄
which
27.89 KB
09/27/2023 05:32:45 PM
rwxr-xr-x
📄
who
51.77 KB
10/02/2024 09:44:18 PM
rwxr-xr-x
📄
whoami
31.66 KB
10/02/2024 09:44:18 PM
rwxr-xr-x
📄
word-list-compress
15.7 KB
01/26/2022 09:47:25 PM
rwxr-xr-x
📄
x86_64-redhat-linux-gcc-11
1.04 MB
02/12/2025 01:11:11 PM
rwxr-xr-x
📄
xargs
64.09 KB
10/02/2024 09:04:59 PM
rwxr-xr-x
📄
xmlcatalog
23.33 KB
03/12/2025 06:46:07 PM
rwxr-xr-x
📄
xmllint
80.75 KB
03/12/2025 06:46:07 PM
rwxr-xr-x
📄
xmlwf
39.81 KB
04/02/2025 04:03:35 PM
rwxr-xr-x
📄
xsltproc
31.41 KB
03/24/2025 03:42:25 PM
rwxr-xr-x
📄
xxd
19.52 KB
10/02/2024 11:01:05 PM
rwxr-xr-x
📄
yes
31.52 KB
10/02/2024 09:44:18 PM
rwxr-xr-x
📄
zcat
1.94 KB
10/15/2022 05:26:34 PM
rwxr-xr-x
📄
zcmp
1.64 KB
10/15/2022 05:26:34 PM
rwxr-xr-x
📄
zdiff
6.31 KB
10/15/2022 05:26:34 PM
rwxr-xr-x
📄
zegrep
33 bytes
10/15/2022 05:26:34 PM
rwxr-xr-x
📄
zfgrep
33 bytes
10/15/2022 05:26:34 PM
rwxr-xr-x
📄
zforce
2.04 KB
10/15/2022 05:26:34 PM
rwxr-xr-x
📄
zgrep
7.93 KB
10/15/2022 05:26:34 PM
rwxr-xr-x
📄
zip
221.09 KB
04/07/2023 02:02:33 PM
rwxr-xr-x
📄
zipcloak
75.7 KB
04/07/2023 02:02:33 PM
rwxr-xr-x
📄
zipgrep
2.89 KB
10/10/2008 05:40:36 PM
rwxr-xr-x
📄
zipinfo
196.14 KB
03/18/2025 03:53:48 AM
rwxr-xr-x
📄
zipnote
67.61 KB
04/07/2023 02:02:33 PM
rwxr-xr-x
📄
zipsplit
63.58 KB
04/07/2023 02:02:33 PM
rwxr-xr-x
📄
zless
2.16 KB
10/15/2022 05:26:34 PM
rwxr-xr-x
📄
zmore
1.8 KB
10/15/2022 05:26:34 PM
rwxr-xr-x
📄
znew
4.47 KB
10/15/2022 05:26:34 PM
rwxr-xr-x
📄
zsoelim
0 bytes
01/01/1970 12:00:00 AM
---------
Editing: tzselect
Close
#!/usr/bin/bash # Ask the user about the time zone, and output the resulting TZ value to stdout. # Interact with the user via stderr and stdin. PKGVERSION="(GNU libc) " TZVERSION="2.34" REPORT_BUGS_TO="<https://www.gnu.org/software/libc/bugs.html>" # Contributed by Paul Eggert. This file is in the public domain. # Porting notes: # # This script requires a Posix-like shell and prefers the extension of a # 'select' statement. The 'select' statement was introduced in the # Korn shell and is available in Bash and other shell implementations. # If your host lacks both Bash and the Korn shell, you can get their # source from one of these locations: # # Bash <https://www.gnu.org/software/bash/> # Korn Shell <http://www.kornshell.com/> # MirBSD Korn Shell <https://www.mirbsd.org/mksh.htm> # # For portability to Solaris 9 /bin/sh this script avoids some POSIX # features and common extensions, such as $(...) (which works sometimes # but not others), $((...)), and $10. # # 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, # you can use either of the following free programs instead: # # Gawk (GNU awk) <https://www.gnu.org/software/gawk/> # mawk <https://invisible-island.net/mawk/> # Specify default values for environment variables if they are unset. : ${AWK=awk} : ${TZDIR=/usr/share/zoneinfo} # Output one argument as-is to standard output. # Safer than 'echo', which can mishandle '\' or leading '-'. say() { printf '%s\n' "$1" } # Check for awk Posix compliance. ($AWK -v x=y 'BEGIN { exit 123 }') </dev/null >/dev/null 2>&1 [ $? = 123 ] || { say >&2 "$0: Sorry, your '$AWK' program is not Posix compatible." exit 1 } coord= location_limit=10 zonetabtype=zone1970 usage="Usage: tzselect [--version] [--help] [-c COORD] [-n LIMIT] Select a timezone interactively. Options: -c COORD Instead of asking for continent and then country and then city, ask for selection from time zones whose largest cities are closest to the location with geographical coordinates COORD. COORD should use ISO 6709 notation, for example, '-c +4852+00220' for Paris (in degrees and minutes, North and East), or '-c -35-058' for Buenos Aires (in degrees, South and West). -n LIMIT Display at most LIMIT locations when -c is used (default $location_limit). --version Output version information. --help Output this help. Report bugs to $REPORT_BUGS_TO." # Ask the user to select from the function's arguments, # and assign the selected argument to the variable 'select_result'. # Exit on EOF or I/O error. Use the shell's 'select' builtin if available, # falling back on a less-nice but portable substitute otherwise. if case $BASH_VERSION in ?*) : ;; '') # '; exit' should be redundant, but Dash doesn't properly fail without it. (eval 'set --; select x; do break; done; exit') </dev/null 2>/dev/null esac then # Do this inside 'eval', as otherwise the shell might exit when parsing it # even though it is never executed. eval ' doselect() { select select_result do case $select_result in "") echo >&2 "Please enter a number in range." ;; ?*) break esac done || exit } # Work around a bug in bash 1.14.7 and earlier, where $PS3 is sent to stdout. case $BASH_VERSION in [01].*) case `echo 1 | (select x in x; do break; done) 2>/dev/null` in ?*) PS3= esac esac ' else doselect() { # Field width of the prompt numbers. select_width=`expr $# : '.*'` select_i= while : do case $select_i in '') select_i=0 for select_word do select_i=`expr $select_i + 1` printf >&2 "%${select_width}d) %s\\n" $select_i "$select_word" done ;; *[!0-9]*) echo >&2 'Please enter a number in range.' ;; *) if test 1 -le $select_i && test $select_i -le $#; then shift `expr $select_i - 1` select_result=$1 break fi echo >&2 'Please enter a number in range.' esac # Prompt and read input. printf >&2 %s "${PS3-#? }" read select_i || exit done } fi while getopts c:n:t:-: opt do case $opt$OPTARG in c*) coord=$OPTARG ;; n*) location_limit=$OPTARG ;; t*) # Undocumented option, used for developer testing. zonetabtype=$OPTARG ;; -help) exec echo "$usage" ;; -version) exec echo "tzselect $PKGVERSION$TZVERSION" ;; -*) say >&2 "$0: -$opt$OPTARG: unknown option; try '$0 --help'"; exit 1 ;; *) say >&2 "$0: try '$0 --help'"; exit 1 ;; esac done shift `expr $OPTIND - 1` case $# in 0) ;; *) say >&2 "$0: $1: unknown argument"; exit 1 ;; esac # Make sure the tables are readable. TZ_COUNTRY_TABLE=$TZDIR/iso3166.tab TZ_ZONE_TABLE=$TZDIR/$zonetabtype.tab for f in $TZ_COUNTRY_TABLE $TZ_ZONE_TABLE do <"$f" || { say >&2 "$0: time zone files are not set up correctly" exit 1 } done # If the current locale does not support UTF-8, convert data to current # locale's format if possible, as the shell aligns columns better that way. # Check the UTF-8 of U+12345 CUNEIFORM SIGN URU TIMES KI. ! $AWK 'BEGIN { u12345 = "\360\222\215\205"; exit length(u12345) != 1 }' && { tmp=`(mktemp -d) 2>/dev/null` || { tmp=${TMPDIR-/tmp}/tzselect.$$ && (umask 77 && mkdir -- "$tmp") };} && trap 'status=$?; rm -fr -- "$tmp"; exit $status' 0 HUP INT PIPE TERM && (iconv -f UTF-8 -t //TRANSLIT <"$TZ_COUNTRY_TABLE" >$tmp/iso3166.tab) \ 2>/dev/null && TZ_COUNTRY_TABLE=$tmp/iso3166.tab && iconv -f UTF-8 -t //TRANSLIT <"$TZ_ZONE_TABLE" >$tmp/$zonetabtype.tab && TZ_ZONE_TABLE=$tmp/$zonetabtype.tab newline=' ' IFS=$newline # Awk script to read a time zone table and output the same table, # with each column preceded by its distance from 'here'. output_distances=' BEGIN { FS = "\t" while (getline <TZ_COUNTRY_TABLE) if ($0 ~ /^[^#]/) country[$1] = $2 country["US"] = "US" # Otherwise the strings get too long. } function abs(x) { return x < 0 ? -x : x; } function min(x, y) { return x < y ? x : y; } function convert_coord(coord, deg, minute, ilen, sign, sec) { if (coord ~ /^[-+]?[0-9]?[0-9][0-9][0-9][0-9][0-9][0-9]([^0-9]|$)/) { degminsec = coord intdeg = degminsec < 0 ? -int(-degminsec / 10000) : int(degminsec / 10000) minsec = degminsec - intdeg * 10000 intmin = minsec < 0 ? -int(-minsec / 100) : int(minsec / 100) sec = minsec - intmin * 100 deg = (intdeg * 3600 + intmin * 60 + sec) / 3600 } else if (coord ~ /^[-+]?[0-9]?[0-9][0-9][0-9][0-9]([^0-9]|$)/) { degmin = coord intdeg = degmin < 0 ? -int(-degmin / 100) : int(degmin / 100) minute = degmin - intdeg * 100 deg = (intdeg * 60 + minute) / 60 } else deg = coord return deg * 0.017453292519943296 } function convert_latitude(coord) { match(coord, /..*[-+]/) return convert_coord(substr(coord, 1, RLENGTH - 1)) } function convert_longitude(coord) { match(coord, /..*[-+]/) return convert_coord(substr(coord, RLENGTH)) } # Great-circle distance between points with given latitude and longitude. # Inputs and output are in radians. This uses the great-circle special # case of the Vicenty formula for distances on ellipsoids. function gcdist(lat1, long1, lat2, long2, dlong, x, y, num, denom) { dlong = long2 - long1 x = cos(lat2) * sin(dlong) y = cos(lat1) * sin(lat2) - sin(lat1) * cos(lat2) * cos(dlong) num = sqrt(x * x + y * y) denom = sin(lat1) * sin(lat2) + cos(lat1) * cos(lat2) * cos(dlong) return atan2(num, denom) } # Parallel distance between points with given latitude and longitude. # This is the product of the longitude difference and the cosine # of the latitude of the point that is further from the equator. # I.e., it considers longitudes to be further apart if they are # nearer the equator. function pardist(lat1, long1, lat2, long2) { return abs(long1 - long2) * min(cos(lat1), cos(lat2)) } # The distance function is the sum of the great-circle distance and # the parallel distance. It could be weighted. function dist(lat1, long1, lat2, long2) { return gcdist(lat1, long1, lat2, long2) + pardist(lat1, long1, lat2, long2) } BEGIN { coord_lat = convert_latitude(coord) coord_long = convert_longitude(coord) } /^[^#]/ { here_lat = convert_latitude($2) here_long = convert_longitude($2) line = $1 "\t" $2 "\t" $3 sep = "\t" ncc = split($1, cc, /,/) for (i = 1; i <= ncc; i++) { line = line sep country[cc[i]] sep = ", " } if (NF == 4) line = line " - " $4 printf "%g\t%s\n", dist(coord_lat, coord_long, here_lat, here_long), line } ' # 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= case $coord in ?*) continent=coord;; '') # Ask the user for continent or ocean. echo >&2 'Please select a continent, ocean, "coord", or "TZ".' quoted_continents=` $AWK ' BEGIN { FS = "\t" } /^[^#]/ { entry = substr($3, 1, index($3, "/") - 1) if (entry == "America") entry = entry "s" if (entry ~ /^(Arctic|Atlantic|Indian|Pacific)$/) entry = entry " Ocean" printf "'\''%s'\''\n", entry } ' <"$TZ_ZONE_TABLE" | sort -u | tr '\n' ' ' echo '' ` eval ' doselect '"$quoted_continents"' \ "coord - I want to use geographical coordinates." \ "TZ - I want to specify the timezone using the Posix TZ format." continent=$select_result case $continent in Americas) continent=America;; *" "*) continent=`expr "$continent" : '\''\([^ ]*\)'\''` esac ' esac case $continent in TZ) # 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, AEST-10 is abbreviated' \ 'AEST and is 10 hours' echo >&2 'ahead (east) of Greenwich,' \ 'with no daylight saving time.' read TZ $AWK -v TZ="$TZ" 'BEGIN { tzname = "(<[[:alnum:]+-]{3,}>|[[:alpha:]]{3,})" time = "(2[0-4]|[0-1]?[0-9])" \ "(:[0-5][0-9](:[0-5][0-9])?)?" offset = "[-+]?" time mdate = "M([1-9]|1[0-2])\\.[1-5]\\.[0-6]" jdate = "((J[1-9]|[0-9]|J?[1-9][0-9]" \ "|J?[1-2][0-9][0-9])|J?3[0-5][0-9]|J?36[0-5])" datetime = ",(" mdate "|" jdate ")(/" time ")?" tzpattern = "^(:.*|" tzname offset "(" tzname \ "(" offset ")?(" datetime datetime ")?)?)$" if (TZ ~ tzpattern) exit 1 exit 0 }' do say >&2 "'$TZ' is not a conforming Posix timezone string." done TZ_for_date=$TZ;; *) case $continent in coord) case $coord in '') echo >&2 'Please enter coordinates' \ 'in ISO 6709 notation.' echo >&2 'For example, +4042-07403 stands for' echo >&2 '40 degrees 42 minutes north,' \ '74 degrees 3 minutes west.' read coord;; esac distance_table=`$AWK \ -v coord="$coord" \ -v TZ_COUNTRY_TABLE="$TZ_COUNTRY_TABLE" \ "$output_distances" <"$TZ_ZONE_TABLE" | sort -n | sed "${location_limit}q" ` regions=`say "$distance_table" | $AWK ' BEGIN { FS = "\t" } { print $NF } '` echo >&2 'Please select one of the following timezones,' \ echo >&2 'listed roughly in increasing order' \ "of distance from $coord". doselect $regions region=$select_result TZ=`say "$distance_table" | $AWK -v region="$region" ' BEGIN { FS="\t" } $NF == region { print $4 } '` ;; *) # Get list of names of countries in the continent or ocean. countries=`$AWK \ -v continent="$continent" \ -v TZ_COUNTRY_TABLE="$TZ_COUNTRY_TABLE" \ ' BEGIN { FS = "\t" } /^#/ { next } $3 ~ ("^" continent "/") { ncc = split($1, cc, /,/) for (i = 1; i <= ncc; i++) if (!cc_seen[cc[i]]++) cc_list[++ccs] = cc[i] } 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' \ 'whose clocks agree with yours.' doselect $countries country=$select_result;; *) country=$countries esac # Get list of timezones in the country. regions=`$AWK \ -v country="$country" \ -v TZ_COUNTRY_TABLE="$TZ_COUNTRY_TABLE" \ ' BEGIN { FS = "\t" cc = country while (getline <TZ_COUNTRY_TABLE) { if ($0 !~ /^#/ && country == $2) { cc = $1 break } } } /^#/ { next } $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 timezones.' doselect $regions region=$select_result;; *) region=$regions esac # Determine TZ from country and region. TZ=`$AWK \ -v country="$country" \ -v region="$region" \ -v TZ_COUNTRY_TABLE="$TZ_COUNTRY_TABLE" \ ' BEGIN { FS = "\t" cc = country while (getline <TZ_COUNTRY_TABLE) { if ($0 !~ /^#/ && country == $2) { cc = $1 break } } } /^#/ { next } $1 ~ cc && $4 == region { print $3 } ' <"$TZ_ZONE_TABLE"` esac # Make sure the corresponding zoneinfo file exists. TZ_for_date=$TZDIR/$TZ <"$TZ_for_date" || { say >&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=" Selected 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%$coord in ?*%?*%) say >&2 " $country$newline $region";; ?*%%) say >&2 " $country";; %?*%?*) say >&2 " coord $coord$newline $region";; %%?*) say >&2 " coord $coord";; *) say >&2 " TZ='$TZ'" esac say >&2 "" say >&2 "Therefore TZ='$TZ' will be used.$extra_info" say >&2 "Is the above information OK?" doselect Yes No ok=$select_result case $ok in Yes) break esac do coord= done case $SHELL in *csh) file=.login line="setenv TZ '$TZ'";; *) file=.profile line="TZ='$TZ'; export TZ" esac test -t 1 && say >&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:" say "$TZ"