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 # paperconfig: configuration of system paper name # # Copyright (C) 1996, Yves Arrouye <arrouye@debian.org> # 2001, Adrian Bunk <bunk@fs.tum.de> usage() { if [ "$1" = -h ] then exec 1>&2 echo -n U else echo -n u fi echo "sage: `basename $0` [ -v, --version ] [ -h, --help ] [ -p, --paper name | --force ]" if [ "$1" = -h ] then cat <<EOF Options: -v, --verbose print version information and exit -h, --help print this help and exit -p, --paper name specify the paper to use --force force paper configuration EOF exit 0 else exit 1 fi } # "|| true" added below, to assure that the script does not fail even if # called with bash -e. (MP 22/08/98) unset PAPERSIZE || true : ${PAPERCONF:=/etc/papersize} export PAPERCONF unset PAPERDIR || true : ${PAPERDIR:=/etc/libpaper.d} export PAPERDIR force=0 if [ "$#" -eq 0 ] then usage fi while [ $# -ne 0 ] do case "$1" in -v|--version) echo "`basename $0` version 1.0" \ "by Yves Arrouye <arrouye@debian.org>" exit 0 ;; -h|--help) usage -h ;; -p|--paper) test $# -gt 1 || usage paper="$2" shift ;; --force) force=1 ;; *) usage ;; esac shift done invalidpaper() { ! paperconf "$1" 2>/dev/null 1>&2 } format() { _maxwidth=$1; shift _start="$1"; shift _cline= for w do if [ `echo "$_start$_cline$w " | wc -c` -ge 0$_maxwidth ] then echo "$_cline" _cline= _start= fi _cline="$_cline$w " done if [ -n "$_cline" ] then echo "$_cline" fi unset _maxwidth _cline _start } # "chmod 644" added below, to assure that the conf file is created # with the right access permissions (MP 13/05/2000) setpaper() { paperright=`paperconf "$1" 2>/dev/null` ok=0 if 2>/dev/null echo "$paperright" >${PAPERCONF}.new then if 2>/dev/null mv -f ${PAPERCONF}.new $PAPERCONF then if 2>/dev/null chmod 644 $PAPERCONF then ok=1 fi fi fi if [ $ok -eq 0 ] then echo `basename $0`: cannot create $PAPERCONF exit 2 else # # Added code for calling back applications when # papersize changes. See bug #345466 # eppesuig@debian.org, 2006-01-05 if [ -d ${PAPERDIR} ] then run-parts ${PAPERDIR} fi fi } if [ ! -z "$paper" ] then if invalidpaper $paper then >&2 echo `basename $0`: \"$paper\" is not a known paper name exit 3 fi setpaper "$paper" exit 0 fi knownpapers="`paperconf -a`" prompt= width=72 # "|| true" added below, to assure that the script does not fail even if # called with bash -e. (MP 22/08/98) paper=`paperconf 2>/dev/null || true` dftpaper=`paperconf -d` if [ $force -eq 1 ] || [ ! -e $PAPERCONF ] || invalidpaper $paper then papers="`format $width \"\" $knownpapers`" echo if [ -x /usr/bin/pager ] then : ${PAGER:=/usr/bin/pager} fi if [ -x /bin/more ] then : ${PAGER:=/bin/more} fi : ${PAGER:=cat} LESS="-X -E $LESS" export LESS ( cat <<EOF The default (also known as system) paper can be chosen from many known papers that are currently recognized by programs using the libpaper library (with libpaper, paper names are case insensitive; if you use programs that use the system paper size but do not rely on the libpaper library, this may not be true and some of the papers listed below may not be known by these programs): EOF echo "$papers" | sed 's/^/ /' echo ) | ${PAGER} : ${paper:=$dftpaper} echo -n "Default paper name? [$paper] " read ans : ${ans:=$paper} paper=$ans fi while invalidpaper "$paper" do if [ -z "$paper" ] then echo "Please choose a paper from the available papers list." else echo "Unknow paper \"$paper\"," \ "please choose one from the available papers list." fi paper=$dftpaper echo -n "Default paper name? [$paper] " read ans paper=$ans done if [ "`paperconf 2>/dev/null`" != "$paper" ] || grep -q "[# ]" $PAPERCONF then setpaper "$paper" fi exit 0