Linux sv3046.xserver.jp 5.15.0-157-generic #167-Ubuntu SMP Wed Sep 17 21:35:53 UTC 2025 x86_64
Apache
Server IP : 202.254.234.47 & Your IP : 216.73.216.41
Domains :
Cant Read [ /etc/named.conf ]
User : kinomori
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Lock Shell
Lock File++
Readme
/
usr /
sbin /
Delete
Unzip
Name
Size
Permission
Date
Action
accessdb
12.58
KB
-rwxr-xr-x
2021-10-13 17:25
addgnupghome
3
KB
-rwxr-xr-x
2018-12-11 16:44
addpart
24.86
KB
-rwxr-xr-x
2024-02-09 01:27
adduser
148.16
KB
-rwxr-xr-x
2023-11-21 18:06
agetty
62.38
KB
-rwxr-xr-x
2024-02-09 01:27
alternatives
36.66
KB
-rwxr-xr-x
2023-05-16 01:01
anacron
40.99
KB
-rwxr-xr-x
2023-12-01 00:58
apachectl
4.19
KB
-rwxr-xr-x
2025-07-23 17:44
applygnupgdefaults
2.17
KB
-rwxr-xr-x
2017-12-18 21:28
arp
64.65
KB
-rwxr-xr-x
2021-04-07 12:41
arpd
109.52
KB
-rwxr-xr-x
2024-05-23 13:29
arping
28.75
KB
-rwxr-xr-x
2023-06-13 00:50
atd
32.63
KB
-rwxr-xr-x
2022-09-29 16:47
atrun
67
B
-rwxr-xr-x
2022-09-29 16:47
authdaemond
379
B
-rwxr-xr-x
2022-11-01 13:44
authenumerate
12.26
KB
-rwxr-xr-x
2022-11-01 13:44
authpasswd
12.34
KB
-rwxr-xr-x
2022-11-01 13:44
authtest
16.4
KB
-rwxr-xr-x
2022-11-01 13:44
avcstat
16.39
KB
-rwxr-xr-x
2022-12-13 15:58
biosdecode
21.45
KB
-rwxr-xr-x
2024-05-23 12:42
blkdeactivate
15.97
KB
-r-xr-xr-x
2024-02-03 15:05
blkdiscard
29.05
KB
-rwxr-xr-x
2024-02-09 01:27
blkid
98.66
KB
-rwxr-xr-x
2024-02-09 01:27
blkzone
49.74
KB
-rwxr-xr-x
2024-02-09 01:27
blockdev
41.3
KB
-rwxr-xr-x
2024-02-09 01:27
bridge
158.26
KB
-rwxr-xr-x
2024-05-23 13:29
build-locale-archive
841.02
KB
-rwx------
2024-09-24 18:39
capsh
32.44
KB
-rwxr-xr-x
2024-01-11 03:13
cfdisk
98.4
KB
-rwxr-xr-x
2024-02-09 01:27
chcpu
28.84
KB
-rwxr-xr-x
2024-02-09 01:27
chgpasswd
69.68
KB
-rwxr-xr-x
2023-11-21 18:06
chkconfig
45.05
KB
-rwxr-xr-x
2023-05-16 01:01
chpasswd
61.42
KB
-rwxr-xr-x
2023-11-21 18:06
chroot
41.49
KB
-rwxr-xr-x
2023-01-18 23:52
clamonacc
198.14
KB
-rwxr-xr-x
2023-10-30 01:01
clock
65.22
KB
-rwxr-xr-x
2024-02-09 01:27
clockdiff
20.44
KB
-rwxr-xr-x
2023-06-13 00:50
consoletype
11.85
KB
-rwxr-xr-x
2022-10-02 08:11
courierlogger
25.04
KB
-rwxr-xr-x
2022-11-01 13:44
cracklib-check
12.03
KB
-rwxr-xr-x
2021-04-12 09:53
cracklib-format
251
B
-rwxr-xr-x
2021-04-12 09:53
cracklib-packer
12.04
KB
-rwxr-xr-x
2021-04-12 09:53
cracklib-unpacker
8.03
KB
-rwxr-xr-x
2021-04-12 09:53
create-cracklib-dict
990
B
-rwxr-xr-x
2021-04-12 09:53
crond
73.94
KB
-rwxr-xr-x
2023-12-01 00:58
ctrlaltdel
24.79
KB
-rwxr-xr-x
2024-02-09 01:27
ctstat
25.33
KB
-rwxr-xr-x
2024-05-23 13:29
dcb
155.04
KB
-rwxr-xr-x
2024-05-23 13:29
ddns-confgen
20.46
KB
-rwxr-xr-x
2024-08-19 17:37
delpart
24.86
KB
-rwxr-xr-x
2024-02-09 01:27
depmod
159.95
KB
-rwxr-xr-x
2023-10-25 03:23
devlink
215.86
KB
-rwxr-xr-x
2024-05-23 13:29
dmfilemapd
24.54
KB
-r-xr-xr-x
2024-02-03 15:05
dmidecode
141.81
KB
-rwxr-xr-x
2024-05-23 12:42
dmsetup
158.63
KB
-r-xr-xr-x
2024-02-03 15:05
dmstats
158.63
KB
-r-xr-xr-x
2024-02-03 15:05
dnssec-checkds
936
B
-rwxr-xr-x
2024-08-19 17:37
dnssec-coverage
938
B
-rwxr-xr-x
2024-08-19 17:37
dnssec-dsfromkey
60.84
KB
-rwxr-xr-x
2024-08-19 17:37
dnssec-importkey
60.84
KB
-rwxr-xr-x
2024-08-19 17:37
dnssec-keyfromlabel
64.76
KB
-rwxr-xr-x
2024-08-19 17:37
dnssec-keygen
72.84
KB
-rwxr-xr-x
2024-08-19 17:37
dnssec-keymgr
934
B
-rwxr-xr-x
2024-08-19 17:37
dnssec-revoke
56.74
KB
-rwxr-xr-x
2024-08-19 17:37
dnssec-settime
60.84
KB
-rwxr-xr-x
2024-08-19 17:37
dnssec-signzone
117.2
KB
-rwxr-xr-x
2024-08-19 17:37
dnssec-verify
52.84
KB
-rwxr-xr-x
2024-08-19 17:37
ether-wake
73.94
KB
-rwxr-xr-x
2021-04-07 12:41
ethtool
557.79
KB
-rwxr-xr-x
2022-10-01 01:54
faillock
20.52
KB
-rwxr-xr-x
2024-07-03 05:47
fcgistarter
12.51
KB
-rwxr-xr-x
2025-07-23 17:45
fdformat
33.17
KB
-rwxr-xr-x
2024-02-09 01:27
fdisk
130.92
KB
-rwxr-xr-x
2024-02-09 01:27
findfs
12.37
KB
-rwxr-xr-x
2024-02-09 01:27
fix-info-dir
7.84
KB
-rwxr-xr-x
2022-04-21 00:48
fixfiles
10.48
KB
-rwxr-xr-x
2024-04-17 00:43
fsck
53.47
KB
-rwxr-xr-x
2024-02-09 01:27
fsck.cramfs
41.4
KB
-rwxr-xr-x
2024-02-09 01:27
fsck.minix
98.74
KB
-rwxr-xr-x
2024-02-09 01:27
fsfreeze
16.38
KB
-rwxr-xr-x
2024-02-09 01:27
fstrim
49.6
KB
-rwxr-xr-x
2024-02-09 01:27
ftpscrub
21.87
KB
-rwxr-xr-x
2023-12-15 00:15
ftpshut
12.37
KB
-rwxr-xr-x
2023-12-15 00:15
fuser
38.01
KB
-rwxr-xr-x
2021-04-12 15:57
g13-syshelp
189.71
KB
-rwxr-xr-x
2022-09-13 16:58
genhomedircon
29.27
KB
-rwxr-xr-x
2024-04-17 00:43
genhostid
11.85
KB
-rwxr-xr-x
2022-10-02 08:11
genl
121.41
KB
-rwxr-xr-x
2024-05-23 13:29
genrandom
12.38
KB
-rwxr-xr-x
2024-08-19 17:37
getcap
12.34
KB
-rwxr-xr-x
2024-01-11 03:13
getenforce
7.9
KB
-rwxr-xr-x
2022-12-13 15:58
getpcaps
12.27
KB
-rwxr-xr-x
2024-01-11 03:13
getsebool
11.93
KB
-rwxr-xr-x
2022-12-13 15:58
groupadd
95.34
KB
-rwxr-xr-x
2023-11-21 18:06
groupdel
91.09
KB
-rwxr-xr-x
2023-11-21 18:06
groupmems
61.49
KB
-rwxr-xr-x
2023-11-21 18:06
groupmod
99.37
KB
-rwxr-xr-x
2023-11-21 18:06
grpck
61.48
KB
-rwxr-xr-x
2023-11-21 18:06
grpconv
57.27
KB
-rwxr-xr-x
2023-11-21 18:06
grpunconv
57.25
KB
-rwxr-xr-x
2023-11-21 18:06
halt
218.45
KB
-rwxr-xr-x
2024-09-24 18:26
htcacheclean
32.64
KB
-rwxr-xr-x
2025-07-23 17:45
httpd
570.41
KB
-rwxr-xr-x
2025-07-23 17:45
hwclock
65.22
KB
-rwxr-xr-x
2024-02-09 01:27
iconvconfig
33.05
KB
-rwxr-xr-x
2024-09-24 18:39
ifconfig
80.79
KB
-rwxr-xr-x
2021-04-07 12:41
ifdown
2.07
KB
-rwxr-xr-x
2022-08-10 22:03
ifenslave
24.95
KB
-rwxr-xr-x
2023-06-13 00:50
ifstat
117.68
KB
-rwxr-xr-x
2024-05-23 13:29
ifup
5.33
KB
-rwxr-xr-x
2022-08-10 22:03
in.proftpd
1.17
MB
-rwxr-xr-x
2023-12-15 00:15
init
1.53
MB
-rwxr-xr-x
2024-09-24 18:26
insmod
159.95
KB
-rwxr-xr-x
2023-10-25 03:23
install-info
50.1
KB
-rwxr-xr-x
2022-04-21 00:48
iotop
511
B
-rwxr-xr-x
2024-01-17 01:58
ip
693.3
KB
-rwxr-xr-x
2024-05-23 13:29
ip6tables
96.07
KB
-rwxr-xr-x
2023-07-08 02:05
ip6tables-restore
96.07
KB
-rwxr-xr-x
2023-07-08 02:05
ip6tables-save
96.07
KB
-rwxr-xr-x
2023-07-08 02:05
ipmaddr
20.95
KB
-rwxr-xr-x
2021-04-07 12:41
ipset
8.01
KB
-rwxr-xr-x
2021-04-12 11:54
iptables
96.07
KB
-rwxr-xr-x
2023-07-08 02:05
iptables-apply
3.43
KB
-rwxr-xr-x
2023-07-08 02:04
iptables-restore
96.07
KB
-rwxr-xr-x
2023-07-08 02:05
iptables-save
96.07
KB
-rwxr-xr-x
2023-07-08 02:05
iptunnel
24.94
KB
-rwxr-xr-x
2021-04-07 12:41
isc-hmac-fixup
11.86
KB
-rwxr-xr-x
2024-08-19 17:37
lchage
16.41
KB
-rwxr-xr-x
2024-09-24 18:27
ldattach
32.99
KB
-rwxr-xr-x
2024-02-09 01:27
ldconfig
986.02
KB
-rwxr-xr-x
2024-09-24 18:39
lgroupadd
11.88
KB
-rwxr-xr-x
2024-09-24 18:27
lgroupdel
11.88
KB
-rwxr-xr-x
2024-09-24 18:27
lgroupmod
19.88
KB
-rwxr-xr-x
2024-09-24 18:27
lid
16.27
KB
-rwxr-xr-x
2024-09-24 18:27
lnewusers
19.87
KB
-rwxr-xr-x
2024-09-24 18:27
lnstat
25.33
KB
-rwxr-xr-x
2024-05-23 13:29
load_policy
12.28
KB
-rwxr-xr-x
2024-04-17 00:43
logrotate
92.99
KB
-rwxr-xr-x
2023-02-07 17:19
losetup
90.59
KB
-rwxr-xr-x
2024-02-09 01:27
lpasswd
20.35
KB
-rwxr-xr-x
2024-09-24 18:27
lsmod
159.95
KB
-rwxr-xr-x
2023-10-25 03:23
luseradd
19.88
KB
-rwxr-xr-x
2024-09-24 18:27
luserdel
15.88
KB
-rwxr-xr-x
2024-09-24 18:27
lusermod
19.88
KB
-rwxr-xr-x
2024-09-24 18:27
mariadbd
23.75
MB
-rwxr-xr-x
2023-10-13 00:33
matchpathcon
12.36
KB
-rwxr-xr-x
2022-12-13 15:58
mii-diag
25.4
KB
-rwxr-xr-x
2021-04-07 12:41
mii-tool
21.04
KB
-rwxr-xr-x
2021-04-07 12:41
mkdict
251
B
-rwxr-xr-x
2021-04-12 09:53
mkfs
16.47
KB
-rwxr-xr-x
2024-02-09 01:27
mkfs.cramfs
41.26
KB
-rwxr-xr-x
2024-02-09 01:27
mkfs.minix
86.55
KB
-rwxr-xr-x
2024-02-09 01:27
mkhomedir_helper
24.44
KB
-rwxr-xr-x
2024-07-03 05:47
mkswap
86.47
KB
-rwxr-xr-x
2024-02-09 01:27
modinfo
159.95
KB
-rwxr-xr-x
2023-10-25 03:23
modprobe
159.95
KB
-rwxr-xr-x
2023-10-25 03:23
mysqld
23.75
MB
-rwxr-xr-x
2023-10-13 00:33
named-checkzone
36.63
KB
-rwxr-xr-x
2024-08-19 17:37
named-compilezone
36.63
KB
-rwxr-xr-x
2024-08-19 17:37
nameif
16.92
KB
-rwxr-xr-x
2021-04-07 12:41
newusers
107.23
KB
-rwxr-xr-x
2023-11-21 18:06
nft
24.41
KB
-rwxr-xr-x
2023-11-16 02:58
nginx
1.42
MB
-rwxr-xr-x
2024-11-11 15:25
nginx-debug
1.58
MB
-rwxr-xr-x
2024-11-11 15:25
nologin
11.87
KB
-rwxr-xr-x
2024-02-09 01:27
nsec3hash
12.29
KB
-rwxr-xr-x
2024-08-19 17:37
nstat
113.57
KB
-rwxr-xr-x
2024-05-23 13:29
opendkim
222.48
KB
-rwxr-xr-x
2023-04-17 04:11
opendkim-default-keygen
1.4
KB
-rwxr-xr-x
2023-04-17 04:11
opendkim-genkey
6.29
KB
-rwxr-xr-x
2023-04-17 04:11
opendkim-genzone
83.31
KB
-rwxr-xr-x
2023-04-17 04:11
opendkim-reportstats
14.16
KB
-rwxr-xr-x
2023-04-17 04:11
opendkim-testkey
83.47
KB
-rwxr-xr-x
2023-04-17 04:11
opendkim-testmsg
16.37
KB
-rwxr-xr-x
2023-04-17 04:11
ownership
12.4
KB
-rwxr-xr-x
2024-05-23 12:42
packer
12.04
KB
-rwxr-xr-x
2021-04-12 09:53
pam_console_apply
45.2
KB
-rwxr-xr-x
2024-07-03 05:47
pam_timestamp_check
11.87
KB
-rwsr-xr-x
2024-07-03 05:47
paperconfig
4.07
KB
-rwxr-xr-x
2021-04-12 12:58
partx
94.5
KB
-rwxr-xr-x
2024-02-09 01:27
pflogsumm
58.47
KB
-rwxr-xr-x
2022-10-28 18:40
pidof
16.56
KB
-rwxr-xr-x
2023-08-16 00:10
ping
66.08
KB
-rwxr-xr-x
2023-06-13 00:50
ping6
66.08
KB
-rwxr-xr-x
2023-06-13 00:50
pivot_root
12.38
KB
-rwxr-xr-x
2024-02-09 01:27
plipconfig
12.66
KB
-rwxr-xr-x
2021-04-07 12:41
pluginviewer
20.57
KB
-rwxr-xr-x
2022-02-24 02:20
postalias
20.41
KB
-rwxr-xr-x
2022-10-28 18:40
postcat
19.94
KB
-rwxr-xr-x
2022-10-28 18:40
postconf
190.95
KB
-rwxr-xr-x
2022-10-28 18:40
postdrop
20.44
KB
-rwxr-sr-x
2022-10-28 18:40
postfix
16.27
KB
-rwxr-xr-x
2022-10-28 18:40
postkick
11.84
KB
-rwxr-xr-x
2022-10-28 18:40
postlock
12.27
KB
-rwxr-xr-x
2022-10-28 18:40
postlog
12.02
KB
-rwxr-xr-x
2022-10-28 18:40
postmap
24.41
KB
-rwxr-xr-x
2022-10-28 18:40
postmulti
28.91
KB
-rwxr-xr-x
2022-10-28 18:40
postqueue
24.47
KB
-rwxr-sr-x
2022-10-28 18:40
postsuper
28.83
KB
-rwxr-xr-x
2022-10-28 18:40
posttls-finger
44.66
KB
-rwxr-xr-x
2022-10-28 18:40
poweroff
218.45
KB
-rwxr-xr-x
2024-09-24 18:26
proftpd
1.17
MB
-rwxr-xr-x
2023-12-15 00:15
pwck
57.27
KB
-rwxr-xr-x
2023-11-21 18:06
pwconv
53.1
KB
-rwxr-xr-x
2023-11-21 18:06
pwhistory_helper
20.43
KB
-rwxr-xr-x
2024-07-03 05:47
pwunconv
53.13
KB
-rwxr-xr-x
2023-11-21 18:06
qshape
12.55
KB
-rwxr-xr-x
2022-10-28 18:40
rdisc
24.55
KB
-rwxr-xr-x
2023-06-13 00:50
rdma
187.38
KB
-rwxr-xr-x
2024-05-23 13:29
readprofile
20.55
KB
-rwxr-xr-x
2024-02-09 01:27
reboot
218.45
KB
-rwxr-xr-x
2024-09-24 18:26
resizepart
41.56
KB
-rwxr-xr-x
2024-02-09 01:27
resolvconf
195.75
KB
-rwxr-xr-x
2024-09-24 18:26
restorecon
20.53
KB
-rwxr-xr-x
2024-04-17 00:43
restorecon_xattr
16.41
KB
-rwxr-xr-x
2024-04-17 00:43
rfkill
53.46
KB
-rwxr-xr-x
2024-02-09 01:27
rmmod
159.95
KB
-rwxr-xr-x
2023-10-25 03:23
rotatelogs
24.56
KB
-rwxr-xr-x
2025-07-23 17:45
route
67.57
KB
-rwxr-xr-x
2021-04-07 12:41
rsyslogd
724.77
KB
-rwxr-xr-x
2023-06-08 07:16
rtacct
46.94
KB
-rwxr-xr-x
2024-05-23 13:29
rtcwake
49.31
KB
-rwxr-xr-x
2024-02-09 01:27
rtmon
117.27
KB
-rwxr-xr-x
2024-05-23 13:29
rtstat
25.33
KB
-rwxr-xr-x
2024-05-23 13:29
runlevel
218.45
KB
-rwxr-xr-x
2024-09-24 18:26
runuser
48.99
KB
-rwxr-xr-x
2024-02-09 01:27
saslauthd
94.42
KB
-rwxr-xr-x
2022-02-24 02:20
sasldblistusers2
20.77
KB
-rwxr-xr-x
2022-02-24 02:20
saslpasswd2
16.42
KB
-rwxr-xr-x
2022-02-24 02:20
sefcontext_compile
65.41
KB
-rwxr-xr-x
2022-12-13 15:58
selabel_digest
12.27
KB
-rwxr-xr-x
2022-12-13 15:58
selabel_lookup
12.27
KB
-rwxr-xr-x
2022-12-13 15:58
selabel_lookup_best_match
11.95
KB
-rwxr-xr-x
2022-12-13 15:58
selabel_partial_match
11.94
KB
-rwxr-xr-x
2022-12-13 15:58
selinux_check_access
12.35
KB
-rwxr-xr-x
2022-12-13 15:58
selinuxconlist
11.93
KB
-rwxr-xr-x
2022-12-13 15:58
selinuxdefcon
11.93
KB
-rwxr-xr-x
2022-12-13 15:58
selinuxenabled
7.89
KB
-rwxr-xr-x
2022-12-13 15:58
selinuxexeccon
11.92
KB
-rwxr-xr-x
2022-12-13 15:58
semodule
29.27
KB
-rwxr-xr-x
2024-04-17 00:43
sendmail
28.47
KB
-rwxr-xr-x
2022-10-28 18:40
sendmail.postfix
28.47
KB
-rwxr-xr-x
2022-10-28 18:40
service
3.64
KB
-rwxr-xr-x
2022-08-10 22:03
sestatus
20.41
KB
-rwxr-xr-x
2024-04-17 00:43
setcap
16.27
KB
-rwx------
2024-01-11 03:13
setenforce
12.26
KB
-rwxr-xr-x
2022-12-13 15:58
setfiles
20.53
KB
-rwxr-xr-x
2024-04-17 00:43
setsebool
16.38
KB
-rwxr-xr-x
2024-04-17 00:43
sfdisk
118.5
KB
-rwxr-xr-x
2024-02-09 01:27
shutdown
218.45
KB
-rwxr-xr-x
2024-09-24 18:26
slattach
43.7
KB
-rwxr-xr-x
2021-04-07 12:41
smtp-sink
33.71
KB
-rwxr-xr-x
2022-10-28 18:40
smtp-source
28.62
KB
-rwxr-xr-x
2022-10-28 18:40
ss
191.3
KB
-rwxr-xr-x
2024-05-23 13:29
sshd
869.66
KB
-rwxr-xr-x
2024-08-14 05:36
sshd-public
869.66
KB
-rwxr-xr-x
2024-08-14 05:36
suexec
20.38
KB
-r-s--s---
2025-07-23 17:45
sulogin
49.24
KB
-rwxr-xr-x
2024-02-09 01:27
swaplabel
16.5
KB
-rwxr-xr-x
2024-02-09 01:27
swapoff
20.74
KB
-rwxr-xr-x
2024-02-09 01:27
swapon
49.4
KB
-rwxr-xr-x
2024-02-09 01:27
switch_root
16.49
KB
-rwxr-xr-x
2024-02-09 01:27
sysctl
28.74
KB
-rwxr-xr-x
2023-08-16 00:10
t1libconfig
3.83
KB
-rwxr-xr-x
2007-12-24 00:49
tc
587.34
KB
-rwxr-xr-x
2024-05-23 13:29
tcsd
309.75
KB
-rwxr-xr-x
2023-11-27 10:38
telinit
218.45
KB
-rwxr-xr-x
2024-09-24 18:26
testsaslauthd
16.66
KB
-rwxr-xr-x
2022-02-24 02:20
tipc
163.07
KB
-rwxr-xr-x
2024-05-23 13:29
tracepath
20.45
KB
-rwxr-xr-x
2023-06-13 00:50
tracepath6
20.45
KB
-rwxr-xr-x
2023-06-13 00:50
tsig-keygen
20.46
KB
-rwxr-xr-x
2024-08-19 17:37
udevadm
424.58
KB
-rwxr-xr-x
2024-09-24 18:26
unbound-anchor
57.33
KB
-rwxr-xr-x
2024-04-12 01:50
unix_chkpwd
36.86
KB
-rwsr-xr-x
2024-07-03 05:47
unix_update
36.85
KB
-rwx------
2024-07-03 05:47
update-alternatives
36.66
KB
-rwxr-xr-x
2023-05-16 01:01
useradd
148.16
KB
-rwxr-xr-x
2023-11-21 18:06
userdel
107.3
KB
-rwxr-xr-x
2023-11-21 18:06
usermod
144.08
KB
-rwxr-xr-x
2023-11-21 18:06
usernetctl
12.4
KB
-rwxr-xr-x
2022-10-02 08:11
vdpa
118.04
KB
-rwxr-xr-x
2024-05-23 13:29
vigr
68.05
KB
-rwxr-xr-x
2023-11-21 18:06
vipw
68.05
KB
-rwxr-xr-x
2023-11-21 18:06
visudo
239.22
KB
-rwxr-xr-x
2025-07-02 03:55
vpddecode
16.47
KB
-rwxr-xr-x
2024-05-23 12:42
weak-modules
33.6
KB
-rwxr-xr-x
2023-10-25 03:23
wipefs
41.11
KB
-rwxr-xr-x
2024-02-09 01:27
xtables-legacy-multi
96.07
KB
-rwxr-xr-x
2023-07-08 02:05
zdump
20.56
KB
-rwxr-xr-x
2024-09-24 18:39
zic
52.82
KB
-rwxr-xr-x
2024-09-24 18:39
zramctl
99.09
KB
-rwxr-xr-x
2024-02-09 01:27
Save
Rename
#!/bin/sh #fix-info-dir (GNU texinfo) VERSION=1.1 #Copyright (C) 1998, 2003 Free Software Foundation, Inc. #fix-info-dir comes with NO WARRANTY, to the extent permitted by law. #You may redistribute copies of fix-info-dir #under the terms of the GNU General Public License. #For more information about these matters, see the files named COPYING." #fix-info-dir was derived from update-info and gen-dir-node # The skeleton file contains info topic names in the # order they should appear in the output. There are three special # lines that alter the behavior: a line consisting of just "--" causes # the next line to be echoed verbatim to the output. A line # containing just "%%" causes all the remaining filenames (wildcards # allowed) in the rest of the file to be ignored. A line containing # just "!!" exits the script when reached (unless preceded by a line # containing just "--"). #Author: Richard L. Hawes, rhawes@dmapub.dma.org. # ###SECTION 1### Constants set -h 2>/dev/null # ENVIRONMENT if test -z "$TMPDIR"; then TMPDIR="/usr/tmp" fi if test -z "$LINENO"; then LINENO="0" fi MENU_BEGIN='^\*\([ ]\)\{1,\}Menu:' MENU_FILTER1='s/^\*\([ ]\)\{1,\}/* /' MENU_FILTER2='s/\([ ]\)\{1,\}$//g' TMP_FILE1="${TMPDIR}/fx${$}.info" TMP_FILE2="${TMPDIR}/fy${$}.info" TMP_FILE_LIST="$TMP_FILE1 $TMP_FILE2" TRY_HELP_MSG="Try --help for more information" # ###SECTION 100### main program #variables set by options CREATE_NODE="" DEBUG=":" MODE="" # Total="0" Changed="" while test "$*"; do case "$1" in -c|--create) CREATE_NODE="y";; --debug) set -eux; DEBUG="set>&2";; -d|--delete) MODE="Detect_Invalid";; +d);; --version) cat<<VersionEOF fix-info-dir (GNU Texinfo) $VERSION Copyright (C) 1998 Free Software Foundation, Inc. fix-info-dir comes with NO WARRANTY, to the extent permitted by law. You may redistribute copies of fix-info-dir under the terms of the GNU General Public License. For more information about these matters, see the files named COPYING. Author: Richard L. Hawes VersionEOF exit;; --help) cat<<HelpEndOfFile Usage: fix-info-dir [OPTION]... [INFO_DIR/[DIR_FILE]] [SKELETON] It detects and inserts missing menu items into the info dir file. The info dir must be the current directory. Options: -c, --create create a new info node -d, --delete delete invalid menu items (ignore missing menu items) --debug print debug information to standard error path --help print this help message and exit --version print current version and exit Backup of the info node has a '.old' suffix added. This is a shell script. Environment Variables: TMPDIR Email bug reports to bug-texinfo@gnu.org. HelpEndOfFile exit;; [-+]*) echo "$0:$LINENO: \"$1\" is not a valid option">&2 echo "$TRY_HELP_MSG">&2 exit 2;; *) break;; esac shift done ORIGINAL_DIR=`pwd` if test "$#" -gt "0"; then INFO_DIR="$1" shift else INFO_DIR=$DEFAULT_INFO_DIR fi if test ! -d "${INFO_DIR}"; then DIR_FILE=`basename ${INFO_DIR}`; INFO_DIR=`dirname ${INFO_DIR}`; else DIR_FILE="dir" fi cd "$INFO_DIR"||exit if test "$CREATE_NODE"; then if test "$#" -gt "0"; then if test `expr $1 : /` = '1'; then SKELETON="$1" else SKELETON="$ORIGINAL_DIR/$1" fi if test ! -r "$SKELETON" && test -f "$SKELETON"; then echo "$0:$LINENO: $SKELETON is not readable">&2 exit 2 fi shift else SKIP_READ=yes SKELETON=/dev/null fi else if test ! -f "$DIR_FILE"; then echo "$0:$LINENO: $DIR_FILE is irregular or nonexistant">&2 exit 2 elif test ! -r "$DIR_FILE"; then echo "$0:$LINENO: $DIR_FILE is not readable">&2 exit 2 elif test ! -w "$DIR_FILE"; then echo "$0:$LINENO: $DIR_FILE is not writeable">&2 exit 2 fi fi if test "$#" -gt "0"; then echo "$0:$LINENO: Too many parameters">&2 echo "$TRY_HELP_MSG">&2 exit 2 fi if test -f "$DIR_FILE"; then cp "$DIR_FILE" "$DIR_FILE.old" echo "Backed up $DIR_FILE to $DIR_FILE.old." fi if test "$CREATE_NODE"; then if test "$MODE"; then echo "$0:$LINENO: ERROR: Illogical option combination: -d -c">&2 echo "$TRY_HELP_MSG">&2 exit 2 fi echo "Creating new Info Node: `pwd`/$DIR_FILE" Changed="y" { ### output the dir header cat<<DIR_FILE_END_OF_FILE This is the file .../info/$DIR_FILE, which contains the topmost node of the Info hierarchy, called ($DIR_FILE)Top. The first time you invoke Info you start off looking at this node. File: $DIR_FILE, Node: Top This is the top of the INFO tree This (the Directory node) gives a menu of major topics. Typing "q" exits, "H" lists all Info commands, "d" returns here, "h" gives a primer for first-timers, "mEmacs<Return>" visits the Emacs manual, etc. In Emacs, you can click mouse button 2 on a menu item or cross reference to select it. * Menu: DIR_FILE_END_OF_FILE ### go through the list of files in the skeleton. If an info file ### exists, grab the ENTRY information from it. If an entry exists ### use it, otherwise create a minimal $DIR_FILE entry. # Read one line from the file. This is so that we can echo lines with # whitespace and quoted characters in them. while test -z "$SKIP_READ" && read fileline; do # flag fancy features if test ! -z "$echoline"; then # echo line echo "$fileline" echoline="" continue elif test "${fileline}" = "--"; then # echo the next line echoline="1" continue elif test "${fileline}" = "%%"; then # skip remaining files listed in skeleton file skip="1" continue elif test "${fileline}" = "!!"; then # quit now break fi # handle files if they exist for file in $fileline""; do fname= if test -z "$file"; then break fi # Find the file to operate upon. if test -r "$file"; then fname="$file" elif test -r "${file}.info"; then fname="${file}.info" elif test -r "${file}.gz"; then fname="${file}.gz" elif test -r "${file}.info.gz"; then fname="${file}.info.gz" else echo "$0:$LINENO: can't find info file for ${file}?">&2 continue fi # if we found something and aren't skipping, do the entry if test "$skip"; then continue fi infoname=`echo $file|sed -e 's/.info$//'` entry=`zcat -f $fname|\ sed -e '1,/START-INFO-DIR-ENTRY/d'\ -e '/END-INFO-DIR-ENTRY/,$d'` if [ ! -z "${entry}" ]; then echo "${entry}" else echo "* ${infoname}: (${infoname})." fi Total=`expr "$Total" + "1"` done done }>$DIR_FILE<$SKELETON fi trap ' eval "$DEBUG"; rm -f $TMP_FILE_LIST; exit ' 0 trap ' rm -f $TMP_FILE_LIST exit ' 1 trap ' rm -f $TMP_FILE_LIST echo "$0:$LINENO: received INT signal.">&2 exit ' 2 trap ' rm -f $TMP_FILE_LIST echo "$0:$LINENO: received QUIT signal.">&2 exit ' 3 sed -e "1,/$MENU_BEGIN/d" -e "$MENU_FILTER1" -e "$MENU_FILTER2"<$DIR_FILE\ |sed -n -e '/\* /{ s/).*$//g s/\.gz$// s/\.info$// s/^.*(//p }'|sort -u>$TMP_FILE1 ls -F|sed -e '/\/$/d' -e '/[-.][0-9]/d'\ -e "/^$DIR_FILE\$/d" -e "/^$DIR_FILE.old\$/d"\ -e 's/[*@]$//' -e 's/\.gz$//' -e 's/\.info$//'|sort>$TMP_FILE2 if test -z "$MODE"; then #Detect Missing DONE_MSG="total menu item(s) were inserted into `pwd`/$DIR_FILE" for Info_Name in `comm -13 $TMP_FILE1 $TMP_FILE2`; do if test -r "$Info_Name"; then Info_File="$Info_Name" elif test -r "${Info_Name}.info"; then Info_File="${Info_Name}.info" elif test -r "${Info_Name}.gz"; then Info_File="${Info_Name}.gz" elif test -r "${Info_Name}.info.gz"; then Info_File="${Info_Name}.info.gz" else echo "$0:$LINENO: can't find info file for ${Info_Name}?">&2 continue fi Changed="y" if install-info $Info_File $DIR_FILE; then Total=`expr "$Total" + "1"` fi done else # Detect Invalid DONE_MSG="total invalid menu item(s) were removed from `pwd`/$DIR_FILE" for Info_Name in `comm -23 $TMP_FILE1 $TMP_FILE2`; do Changed="y" if install-info --remove --remove-exactly $Info_Name $DIR_FILE; then Total=`expr "$Total" + "1"` fi done fi # print summary if test "$Changed"; then echo "$Total $DONE_MSG" else echo "Nothing to do" fi rm -f $TMP_FILE_LIST eval "$DEBUG" exit 0