Linux host2.healingcodesinfo.com 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64
Apache
Server IP : 69.167.168.125 & Your IP : 216.73.216.208
Domains : 126 Domain
User : christia
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
sbin /
Delete
Unzip
Name
Size
Permission
Date
Action
NetworkManager
2.83
MB
-rwxr-xr-x
2020-11-16 16:15
accessdb
11.55
KB
-rwxr-xr-x
2018-10-30 20:26
acpid
52.3
KB
-rwxr-xr-x
2018-04-10 23:51
addgnupghome
3.05
KB
-rwxr-xr-x
2013-10-04 12:32
addpart
19.69
KB
-rwxr-xr-x
2021-02-02 16:31
adduser
134.39
KB
-rwxr-xr-x
2019-08-09 02:51
agetty
48.48
KB
-rwxr-xr-x
2021-02-02 16:31
alternatives
27.61
KB
-rwxr-xr-x
2020-10-13 15:46
anacron
35.52
KB
-rwxr-xr-x
2023-05-16 14:28
apachectl
4.49
KB
-rwxr-xr-x
2026-03-19 02:48
applygnupgdefaults
2.21
KB
-rwxr-xr-x
2013-10-04 12:32
arp
63.98
KB
-rwxr-xr-x
2019-08-09 01:10
arpd
52.98
KB
-rwxr-xr-x
2020-09-30 16:40
arping
23.19
KB
-rwxr-xr-x
2017-08-04 08:01
atd
27.17
KB
-rwxr-xr-x
2022-05-18 15:54
atrun
67
B
-rwxr-xr-x
2022-05-18 15:54
audispd
39.75
KB
-rwxr-xr-x
2019-08-08 12:06
auditctl
39.56
KB
-rwxr-xr-x
2019-08-08 12:06
auditd
125.65
KB
-rwxr-xr-x
2019-08-08 12:06
augenrules
3.7
KB
-rwxr-xr-x
2019-08-08 12:06
aureport
105.39
KB
-rwxr-xr-x
2019-08-08 12:06
ausearch
109.8
KB
-rwxr-xr-x
2019-08-08 12:06
authconfig
43.49
KB
-rwxr-xr-x
2017-08-04 09:05
authconfig-tui
43.49
KB
-rwxr-xr-x
2017-08-04 09:05
autrace
15.49
KB
-rwxr-x---
2019-08-08 12:06
avcstat
11.25
KB
-rwxr-xr-x
2020-04-01 03:16
badblocks
27.69
KB
-rwxr-xr-x
2020-09-30 15:58
biosdecode
24.15
KB
-rwxr-xr-x
2021-03-16 15:25
biosdevname
36.57
KB
-rwxr-xr-x
2019-08-08 23:01
blkdeactivate
15.97
KB
-r-xr-xr-x
2021-04-28 13:31
blkdiscard
23.84
KB
-rwxr-xr-x
2021-02-02 16:31
blkid
77.92
KB
-rwxr-xr-x
2021-02-02 16:31
blkmapd
43.81
KB
-rwxr-xr-x
2021-10-14 12:29
blockdev
32.2
KB
-rwxr-xr-x
2021-02-02 16:31
bridge
77.61
KB
-rwxr-xr-x
2020-09-30 16:40
btrfs
690.59
KB
-rwxr-xr-x
2017-08-06 16:32
btrfs-convert
378.62
KB
-rwxr-xr-x
2017-08-06 16:32
btrfs-debug-tree
354.23
KB
-rwxr-xr-x
2017-08-06 16:32
btrfs-find-root
346.22
KB
-rwxr-xr-x
2017-08-06 16:32
btrfs-image
374.63
KB
-rwxr-xr-x
2017-08-06 16:32
btrfs-map-logical
350.27
KB
-rwxr-xr-x
2017-08-06 16:32
btrfs-select-super
346.2
KB
-rwxr-xr-x
2017-08-06 16:32
btrfs-zero-log
346.2
KB
-rwxr-xr-x
2017-08-06 16:32
btrfsck
690.59
KB
-rwxr-xr-x
2017-08-06 16:32
btrfstune
350.24
KB
-rwxr-xr-x
2017-08-06 16:32
build-locale-archive
860.52
KB
-rwx------
2024-06-04 15:05
cacertdir_rehash
644
B
-rwxr-xr-x
2017-08-04 09:05
capsh
19.43
KB
-rwxr-xr-x
2020-04-01 03:08
cbq
32.73
KB
-rwxr-xr-x
2020-09-30 16:40
cfdisk
71.37
KB
-rwxr-xr-x
2021-02-02 16:31
chcpu
23.7
KB
-rwxr-xr-x
2021-02-02 16:31
chgpasswd
64.1
KB
-rwxr-xr-x
2019-08-09 02:51
chkconfig
40.22
KB
-rwxr-xr-x
2020-10-13 15:46
chpasswd
55.88
KB
-rwxr-xr-x
2019-08-09 02:51
chroot
32.48
KB
-rwxr-xr-x
2020-11-16 22:24
clock
48.44
KB
-rwxr-xr-x
2021-02-02 16:31
clockdiff
19.04
KB
-rwxr-xr-x
2017-08-04 08:01
consoletype
6.95
KB
-rwxr-xr-x
2020-11-16 16:20
convertquota
70.88
KB
-rwxr-xr-x
2019-08-09 02:34
cracklib-check
7.04
KB
-rwxr-xr-x
2014-06-10 05:42
cracklib-format
246
B
-rwxr-xr-x
2014-06-10 05:42
cracklib-packer
11.06
KB
-rwxr-xr-x
2014-06-10 05:42
cracklib-unpacker
7.02
KB
-rwxr-xr-x
2014-06-10 05:42
create-cracklib-dict
990
B
-rwxr-xr-x
2014-06-10 05:42
crond
68.48
KB
-rwxr-xr-x
2023-05-16 14:28
csf
292.6
KB
-rwx------
2026-03-18 22:10
ctrlaltdel
11.2
KB
-rwxr-xr-x
2021-02-02 16:31
ctstat
20.09
KB
-rwxr-xr-x
2020-09-30 16:40
ddns-confgen
19.44
KB
-rwxr-xr-x
2024-06-11 14:41
debugfs
120.65
KB
-rwxr-xr-x
2020-09-30 15:58
delpart
19.69
KB
-rwxr-xr-x
2021-02-02 16:31
depmod
143.24
KB
-rwxr-xr-x
2020-04-01 02:58
devlink
64.72
KB
-rwxr-xr-x
2020-09-30 16:40
dhclient
414.34
KB
-rwxr-xr-x
2024-06-11 14:35
dhclient-script
30.38
KB
-rwxr-xr-x
2022-01-13 17:19
dmfilemapd
19.16
KB
-r-xr-xr-x
2021-04-28 13:32
dmidecode
120.2
KB
-rwxr-xr-x
2021-03-16 15:25
dmsetup
149.2
KB
-r-xr-xr-x
2021-04-28 13:32
dmstats
149.2
KB
-r-xr-xr-x
2021-04-28 13:32
dnssec-checkds
922
B
-rwxr-xr-x
2024-06-11 14:41
dnssec-coverage
924
B
-rwxr-xr-x
2024-06-11 14:41
dnssec-dsfromkey
56.6
KB
-rwxr-xr-x
2024-06-11 14:41
dnssec-importkey
52.59
KB
-rwxr-xr-x
2024-06-11 14:41
dnssec-keyfromlabel
60.52
KB
-rwxr-xr-x
2024-06-11 14:41
dnssec-keygen
64.55
KB
-rwxr-xr-x
2024-06-11 14:41
dnssec-keymgr
920
B
-rwxr-xr-x
2024-06-11 14:41
dnssec-revoke
48.46
KB
-rwxr-xr-x
2024-06-11 14:41
dnssec-settime
56.52
KB
-rwxr-xr-x
2024-06-11 14:41
dnssec-signzone
105.71
KB
-rwxr-xr-x
2024-06-11 14:41
dnssec-verify
48.46
KB
-rwxr-xr-x
2024-06-11 14:41
dovecot
370.67
KB
-rwxr-xr-x
2024-12-30 23:15
dovecot_cpshutdown
3.27
KB
-rwxr-xr-x
2024-12-30 23:11
dracut
55.83
KB
-rwxr-xr-x
2020-09-30 15:57
dumpe2fs
23.62
KB
-rwxr-xr-x
2020-09-30 15:58
e2freefrag
11.15
KB
-rwxr-xr-x
2020-09-30 15:58
e2fsck
250.55
KB
-rwxr-xr-x
2020-09-30 15:58
e2image
27.85
KB
-rwxr-xr-x
2020-09-30 15:58
e2label
69.41
KB
-rwxr-xr-x
2020-09-30 15:58
e2undo
11.32
KB
-rwxr-xr-x
2020-09-30 15:58
e4defrag
23.55
KB
-rwxr-xr-x
2020-09-30 15:58
eapol_test
1.77
MB
-rwxr-xr-x
2021-03-16 15:26
ebtables
6.85
KB
-rwxr-xr-x
2018-04-11 02:44
ebtables-restore
10.88
KB
-rwxr-xr-x
2018-04-11 02:44
ebtables-save
851
B
-rwxr-xr-x
2018-04-11 02:44
edquota
83.09
KB
-rwxr-xr-x
2019-08-09 02:34
ether-wake
73.26
KB
-rwxr-xr-x
2019-08-09 01:10
ethtool
293.87
KB
-rwxr-xr-x
2019-08-08 23:16
exicyclog
11.1
KB
-rwxr-xr-x
2025-12-23 17:28
exigrep
11.44
KB
-rwxr-xr-x
2025-12-23 17:28
exim
1.49
MB
-rwsr-xr-x
2025-12-23 17:28
exim_checkaccess
4.83
KB
-rwxr-xr-x
2025-12-23 17:28
exim_dbmbuild
150.48
KB
-rwxr-xr-x
2025-12-23 17:28
exim_dumpdb
249.75
KB
-rwxr-xr-x
2025-12-23 17:28
exim_fixdb
305.73
KB
-rwxr-xr-x
2025-12-23 17:28
exim_lock
61.02
KB
-rwxr-xr-x
2025-12-23 17:28
exim_tidydb
257.72
KB
-rwxr-xr-x
2025-12-23 17:28
eximstats
149.14
KB
-rwxr-xr-x
2025-12-23 17:28
exinext
8.03
KB
-rwxr-xr-x
2025-12-23 17:28
exiqgrep
6.58
KB
-rwxr-xr-x
2025-12-23 17:28
exiqsumm
6.29
KB
-rwxr-xr-x
2025-12-23 17:28
exiwhat
4.42
KB
-rwxr-xr-x
2025-12-23 17:28
exportfs
76.91
KB
-rwxr-xr-x
2021-10-14 12:29
faillock
15.02
KB
-rwxr-xr-x
2020-04-01 04:00
fcgistarter
23.85
KB
-rwxr-xr-x
2026-03-19 02:51
fdformat
11.27
KB
-rwxr-xr-x
2021-02-02 16:31
fdisk
195.8
KB
-rwxr-xr-x
2021-02-02 16:31
filefrag
15.23
KB
-rwxr-xr-x
2020-09-30 15:58
findfs
11.2
KB
-rwxr-xr-x
2021-02-02 16:31
firewalld
6.87
KB
-rwxr-xr-x
2021-04-28 13:31
fixfiles
11.03
KB
-rwxr-xr-x
2020-04-01 04:04
fsck
32.12
KB
-rwxr-xr-x
2021-02-02 16:31
fsck.btrfs
1.16
KB
-rwxr-xr-x
2017-08-06 16:32
fsck.cramfs
19.57
KB
-rwxr-xr-x
2021-02-02 16:31
fsck.ext2
250.55
KB
-rwxr-xr-x
2020-09-30 15:58
fsck.ext3
250.55
KB
-rwxr-xr-x
2020-09-30 15:58
fsck.ext4
250.55
KB
-rwxr-xr-x
2020-09-30 15:58
fsck.minix
73.32
KB
-rwxr-xr-x
2021-02-02 16:31
fsck.xfs
433
B
-rwxr-xr-x
2020-09-30 17:51
fsfreeze
11.23
KB
-rwxr-xr-x
2021-02-02 16:31
fstrim
40.59
KB
-rwxr-xr-x
2021-02-02 16:31
fuser
32.34
KB
-rwxr-xr-x
2020-09-30 17:20
fxload
19.26
KB
-rwxr-xr-x
2014-06-10 04:45
genhomedircon
23.77
KB
-rwxr-xr-x
2020-04-01 04:04
genhostid
6.94
KB
-rwxr-xr-x
2020-11-16 16:20
genl
52.81
KB
-rwxr-xr-x
2020-09-30 16:40
genl-ctrl-list
11.27
KB
-rwxr-xr-x
2017-08-03 19:48
genrandom
11.16
KB
-rwxr-xr-x
2024-06-11 14:41
getcap
11.13
KB
-rwxr-xr-x
2020-04-01 03:08
getenforce
7.01
KB
-rwxr-xr-x
2020-04-01 03:16
getpcaps
7.07
KB
-rwxr-xr-x
2020-04-01 03:08
getsebool
11.13
KB
-rwxr-xr-x
2020-04-01 03:16
glibc_post_upgrade.x86_64
772.05
KB
-rwx------
2024-06-04 15:05
groupadd
85.65
KB
-rwxr-xr-x
2019-08-09 02:51
groupdel
77.38
KB
-rwxr-xr-x
2019-08-09 02:51
groupmems
55.97
KB
-rwxr-xr-x
2019-08-09 02:51
groupmod
85.66
KB
-rwxr-xr-x
2019-08-09 02:51
grpck
59.93
KB
-rwxr-xr-x
2019-08-09 02:51
grpconv
51.73
KB
-rwxr-xr-x
2019-08-09 02:51
grpunconv
51.73
KB
-rwxr-xr-x
2019-08-09 02:51
grub2-bios-setup
1.03
MB
-rwxr-xr-x
2024-04-30 19:38
grub2-get-kernel-settings
2.08
KB
-rwxr-xr-x
2024-04-30 19:38
grub2-install
1.29
MB
-rwxr-xr-x
2024-04-30 19:38
grub2-macbless
1.02
MB
-rwxr-xr-x
2024-04-30 19:38
grub2-mkconfig
7.63
KB
-rwxr-xr-x
2024-04-30 19:38
grub2-ofpathname
225.54
KB
-rwxr-xr-x
2024-04-30 19:38
grub2-probe
1.03
MB
-rwxr-xr-x
2024-04-30 19:38
grub2-reboot
4
KB
-rwxr-xr-x
2024-04-30 19:38
grub2-rpm-sort
258.52
KB
-rwxr-xr-x
2024-04-30 19:38
grub2-set-default
3.46
KB
-rwxr-xr-x
2024-04-30 19:38
grub2-setpassword
2.96
KB
-rwxr-xr-x
2024-04-30 19:38
grub2-sparc64-setup
1.04
MB
-rwxr-xr-x
2024-04-30 19:38
grubby
71.27
KB
-rwxr-xr-x
2019-08-08 23:41
gss-server
23.13
KB
-rwxr-xr-x
2022-11-30 19:01
gssproxy
130.64
KB
-rwxr-xr-x
2021-06-09 16:10
halt
704.8
KB
-rwxr-xr-x
2023-12-07 14:51
hardlink
15.29
KB
-rwxr-xr-x
2014-06-10 06:26
htcacheclean
78.45
KB
-rwxr-xr-x
2026-03-19 02:51
httpd
2.32
MB
-rwxr-xr-x
2026-03-19 02:51
hwclock
48.44
KB
-rwxr-xr-x
2021-02-02 16:31
iconvconfig
22.15
KB
-rwxr-xr-x
2024-06-04 15:05
iconvconfig.x86_64
22.15
KB
-rwxr-xr-x
2024-06-04 15:05
ifcfg
2.99
KB
-rwxr-xr-x
2020-09-30 16:40
ifconfig
80.05
KB
-rwxr-xr-x
2019-08-09 01:10
ifdown
1.61
KB
-rwxr-xr-x
2020-05-22 10:44
ifenslave
19.74
KB
-rwxr-xr-x
2017-08-04 08:01
ifstat
40.6
KB
-rwxr-xr-x
2020-09-30 16:40
ifup
4.89
KB
-rwxr-xr-x
2020-05-22 10:44
imunify-notifier
9.8
MB
-rwxr-xr-x
2024-10-25 12:25
init
1.56
MB
-rwxr-xr-x
2023-12-07 14:51
insmod
143.24
KB
-rwxr-xr-x
2020-04-01 02:58
install-info
110.42
KB
-rwxr-xr-x
2018-04-11 01:03
installkernel
2.69
KB
-rwxr-xr-x
2019-08-08 23:41
intel-microcode2ucode
11.1
KB
-rwxr-xr-x
2023-12-07 14:48
iotop
495
B
-rwxr-xr-x
2018-10-30 22:23
ip
459.59
KB
-rwxr-xr-x
2020-09-30 16:40
ip6tables
91.52
KB
-rwxr-xr-x
2020-10-01 16:52
ip6tables-restore
91.52
KB
-rwxr-xr-x
2020-10-01 16:52
ip6tables-save
91.52
KB
-rwxr-xr-x
2020-10-01 16:52
ipmaddr
19.33
KB
-rwxr-xr-x
2019-08-09 01:10
iprconfig
394.37
KB
-rwxr-xr-x
2020-02-05 12:58
iprdbg
135.94
KB
-rwx------
2020-02-05 12:58
iprdump
123.67
KB
-rwxr-xr-x
2020-02-05 12:58
iprinit
123.64
KB
-rwxr-xr-x
2020-02-05 12:58
iprsos
2.18
KB
-rwxr-xr-x
2020-02-05 12:58
iprupdate
123.64
KB
-rwxr-xr-x
2020-02-05 12:58
ipset
7.02
KB
-rwxr-xr-x
2019-08-08 23:55
iptables
91.52
KB
-rwxr-xr-x
2020-10-01 16:52
iptables-restore
91.52
KB
-rwxr-xr-x
2020-10-01 16:52
iptables-save
91.52
KB
-rwxr-xr-x
2020-10-01 16:52
iptraf-ng
163.93
KB
-rwxr-xr-x
2018-10-30 16:21
iptunnel
23.33
KB
-rwxr-xr-x
2019-08-09 01:10
irqbalance
48.5
KB
-rwxr-xr-x
2019-08-08 23:57
isc-hmac-fixup
11.2
KB
-rwxr-xr-x
2024-06-11 14:41
kacpimon
23.38
KB
-rwxr-xr-x
2018-04-10 23:51
kexec
166.06
KB
-rwxr-xr-x
2021-06-09 16:09
key.dns_resolver
19.45
KB
-rwxr-xr-x
2014-06-10 02:17
killall5
23.17
KB
-rwxr-xr-x
2014-06-09 23:16
kpartx
39.47
KB
-rwxr-xr-x
2022-11-16 15:21
lchage
15.41
KB
-rwxr-xr-x
2018-04-12 18:44
ldattach
27.93
KB
-rwxr-xr-x
2021-02-02 16:31
ldconfig
952.08
KB
-rwxr-xr-x
2024-06-04 15:05
lfd
461.64
KB
-rwx------
2026-03-18 22:10
lgroupadd
11.28
KB
-rwxr-xr-x
2018-04-12 18:44
lgroupdel
11.26
KB
-rwxr-xr-x
2018-04-12 18:44
lgroupmod
15.44
KB
-rwxr-xr-x
2018-04-12 18:44
lid
15.4
KB
-rwxr-xr-x
2018-04-12 18:44
lnewusers
15.46
KB
-rwxr-xr-x
2018-04-12 18:44
lnstat
20.09
KB
-rwxr-xr-x
2020-09-30 16:40
load_policy
10.97
KB
-rwxr-xr-x
2020-04-01 04:04
logrotate
68.61
KB
-rwxr-xr-x
2020-04-01 03:26
logsave
11.27
KB
-rwxr-xr-x
2020-09-30 15:58
losetup
82.45
KB
-rwxr-xr-x
2021-02-02 16:31
lpasswd
15.5
KB
-rwxr-xr-x
2018-04-12 18:44
lshw
895.18
KB
-rwxr-xr-x
2020-09-30 16:58
lsmod
143.24
KB
-rwxr-xr-x
2020-04-01 02:58
lsof
150.57
KB
-rwxr-xr-x
2018-10-30 16:28
lspci
73.67
KB
-rwxr-xr-x
2018-04-11 02:50
luseradd
15.38
KB
-rwxr-xr-x
2018-04-12 18:44
luserdel
11.3
KB
-rwxr-xr-x
2018-04-12 18:44
lusermod
19.43
KB
-rwxr-xr-x
2018-04-12 18:44
lwresd
768.19
KB
-rwxr-xr-x
2024-06-11 14:41
makedumpfile
376.52
KB
-rwxr-xr-x
2021-06-09 16:09
matchpathcon
11.19
KB
-rwxr-xr-x
2020-04-01 03:16
mii-diag
20.08
KB
-rwxr-xr-x
2019-08-09 01:10
mii-tool
19.51
KB
-rwxr-xr-x
2019-08-09 01:10
mkdict
246
B
-rwxr-xr-x
2014-06-10 05:42
mkdumprd
13.99
KB
-rwxr-xr-x
2021-06-09 16:09
mke2fs
94.08
KB
-rwxr-xr-x
2020-09-30 15:58
mkfs
11.25
KB
-rwxr-xr-x
2021-02-02 16:31
mkfs.btrfs
366.45
KB
-rwxr-xr-x
2017-08-06 16:32
mkfs.cramfs
36.16
KB
-rwxr-xr-x
2021-02-02 16:31
mkfs.ext2
94.08
KB
-rwxr-xr-x
2020-09-30 15:58
mkfs.ext3
94.08
KB
-rwxr-xr-x
2020-09-30 15:58
mkfs.ext4
94.08
KB
-rwxr-xr-x
2020-09-30 15:58
mkfs.minix
36.27
KB
-rwxr-xr-x
2021-02-02 16:31
mkfs.xfs
359.8
KB
-rwxr-xr-x
2020-09-30 17:52
mkhomedir_helper
19.05
KB
-rwxr-xr-x
2020-04-01 04:00
mklost+found
11.11
KB
-rwxr-xr-x
2020-09-30 15:58
mkswap
69.64
KB
-rwxr-xr-x
2021-02-02 16:31
modinfo
143.24
KB
-rwxr-xr-x
2020-04-01 02:58
modprobe
143.24
KB
-rwxr-xr-x
2020-04-01 02:58
modsec-sdbm-util
22.17
KB
-rwxr-x---
2026-02-04 16:18
mount.nfs
114.68
KB
-rwsr-xr-x
2021-10-14 12:29
mount.nfs4
114.68
KB
-rwsr-xr-x
2021-10-14 12:29
mountstats
40.59
KB
-rwxr-xr-x
2021-10-14 12:29
mysqld
244.14
MB
-rwxr-xr-x
2023-10-11 12:12
mysqld-debug
165.52
MB
-rwxr-xr-x
2023-10-11 12:07
named
768.19
KB
-rwxr-xr-x
2024-06-11 14:41
named-checkconf
32.25
KB
-rwxr-xr-x
2024-06-11 14:41
named-checkzone
32.06
KB
-rwxr-xr-x
2024-06-11 14:41
named-compilezone
32.06
KB
-rwxr-xr-x
2024-06-11 14:41
named-journalprint
11.13
KB
-rwxr-xr-x
2024-06-11 14:41
nameif
15.32
KB
-rwxr-xr-x
2019-08-09 01:10
netreport
10.96
KB
-rwxr-xr-x
2020-11-16 16:20
new-kernel-pkg
24.96
KB
-rwxr-xr-x
2019-08-08 23:41
newusers
93.45
KB
-rwxr-xr-x
2019-08-09 02:51
nfsdcltrack
40.11
KB
-rwxr-xr-x
2021-10-14 12:29
nfsidmap
19.32
KB
-rwxr-xr-x
2021-10-14 12:29
nfsiostat
23.64
KB
-rwxr-xr-x
2021-10-14 12:29
nfsstat
29.84
KB
-rwxr-xr-x
2021-10-14 12:29
nl-class-add
11.7
KB
-rwxr-xr-x
2017-08-03 19:48
nl-class-delete
11.55
KB
-rwxr-xr-x
2017-08-03 19:48
nl-class-list
11.48
KB
-rwxr-xr-x
2017-08-03 19:48
nl-classid-lookup
11.29
KB
-rwxr-xr-x
2017-08-03 19:48
nl-cls-add
11.76
KB
-rwxr-xr-x
2017-08-03 19:48
nl-cls-delete
11.68
KB
-rwxr-xr-x
2017-08-03 19:48
nl-cls-list
11.58
KB
-rwxr-xr-x
2017-08-03 19:48
nl-link-list
11.52
KB
-rwxr-xr-x
2017-08-03 19:48
nl-pktloc-lookup
11.36
KB
-rwxr-xr-x
2017-08-03 19:48
nl-qdisc-add
11.6
KB
-rwxr-xr-x
2017-08-03 19:48
nl-qdisc-delete
11.54
KB
-rwxr-xr-x
2017-08-03 19:48
nl-qdisc-list
11.63
KB
-rwxr-xr-x
2017-08-03 19:48
nologin
7.01
KB
-rwxr-xr-x
2021-02-02 16:31
nscd
180.02
KB
-rwxr-xr-x
2024-06-04 15:05
nsec3hash
11.13
KB
-rwxr-xr-x
2024-06-11 14:41
nstat
23.88
KB
-rwxr-xr-x
2020-09-30 16:40
ntp-keygen
100.88
KB
-rwxr-xr-x
2020-06-23 15:38
ntpd
712.59
KB
-rwxr-xr-x
2020-06-23 15:38
ntpdate
107.58
KB
-rwxr-xr-x
2020-06-23 15:38
ntpdc
170.02
KB
-rwxr-xr-x
2020-06-23 15:38
ntpq
164.36
KB
-rwxr-xr-x
2020-06-23 15:38
ntptime
73.66
KB
-rwxr-xr-x
2020-06-23 15:38
osd_login
2.55
KB
-rwxr-xr-x
2021-10-14 12:29
ownership
15.04
KB
-rwxr-xr-x
2021-03-16 15:25
packer
11.06
KB
-rwxr-xr-x
2014-06-10 05:42
pam_console_apply
39.69
KB
-rwxr-xr-x
2020-04-01 04:00
pam_tally2
15.05
KB
-rwxr-xr-x
2020-04-01 04:00
pam_timestamp_check
10.97
KB
-rwxr-xr-x
2020-04-01 04:00
paperconfig
4.07
KB
-rwxr-xr-x
2020-09-30 16:48
parted
77.22
KB
-rwxr-xr-x
2020-04-01 03:58
partprobe
11.23
KB
-rwxr-xr-x
2020-04-01 03:58
partx
86.55
KB
-rwxr-xr-x
2021-02-02 16:31
pidof
23.17
KB
-rwxr-xr-x
2014-06-09 23:16
ping6
64.63
KB
-rwxr-xr-x
2017-08-04 08:01
pivot_root
11.19
KB
-rwxr-xr-x
2021-02-02 16:31
plipconfig
11.06
KB
-rwxr-xr-x
2019-08-09 01:10
pluginviewer
15.23
KB
-rwxr-xr-x
2022-02-24 13:27
plymouth-set-default-theme
6.21
KB
-rwxr-xr-x
2020-10-01 16:53
plymouthd
84.22
KB
-rwxr-xr-x
2020-10-01 16:53
poweroff
704.8
KB
-rwxr-xr-x
2023-12-07 14:51
ppp-watch
23.2
KB
-rwxr-xr-x
2020-11-16 16:20
pure-authd
18.37
KB
-rwxr-xr-x
2024-10-30 12:52
pure-certd
18.27
KB
-rwxr-xr-x
2024-10-30 12:52
pure-config.pl
4.64
KB
-rwxr-xr-x
2024-10-30 12:41
pure-ftpd
173.28
KB
-rwxr-xr-x
2024-10-30 12:52
pure-ftpwho
25.96
KB
-rwxr-xr-x
2024-10-30 12:52
pure-mrtginfo
9.93
KB
-rwxr-xr-x
2024-10-30 12:52
pure-quotacheck
13.95
KB
-rwxr-xr-x
2024-10-30 12:52
pure-uploadscript
14.21
KB
-rwxr-xr-x
2024-10-30 12:52
pwck
51.71
KB
-rwxr-xr-x
2019-08-09 02:51
pwconv
47.57
KB
-rwxr-xr-x
2019-08-09 02:51
pwhistory_helper
15.44
KB
-rwxr-xr-x
2020-04-01 04:00
pwunconv
47.59
KB
-rwxr-xr-x
2019-08-09 02:51
quot
70.66
KB
-rwxr-xr-x
2019-08-09 02:34
quotacheck
107.29
KB
-rwxr-xr-x
2019-08-09 02:34
quotaoff
75.03
KB
-rwxr-xr-x
2019-08-09 02:34
quotaon
75.03
KB
-rwxr-xr-x
2019-08-09 02:34
quotastats
14.03
KB
-rwxr-xr-x
2019-08-09 02:34
rdisc
23.17
KB
-rwxr-xr-x
2017-08-04 08:01
rdma
73.42
KB
-rwxr-xr-x
2020-09-30 16:40
readprofile
15.46
KB
-rwxr-xr-x
2021-02-02 16:31
reboot
704.8
KB
-rwxr-xr-x
2023-12-07 14:51
repquota
75.16
KB
-rwxr-xr-x
2019-08-09 02:34
request-key
19.41
KB
-rwxr-xr-x
2014-06-10 02:17
resize2fs
48.41
KB
-rwxr-xr-x
2020-09-30 15:58
resizepart
32.36
KB
-rwxr-xr-x
2021-02-02 16:31
restorecon
27.16
KB
-rwxr-xr-x
2020-04-01 04:04
rmmod
143.24
KB
-rwxr-xr-x
2020-04-01 02:58
rndc
35.88
KB
-rwxr-xr-x
2024-06-11 14:41
rndc-confgen
19.44
KB
-rwxr-xr-x
2024-06-11 14:41
rotatelogs
53
KB
-rwxr-xr-x
2026-03-19 02:51
route
66.6
KB
-rwxr-xr-x
2019-08-09 01:10
routef
173
B
-rwxr-xr-x
2020-09-30 16:40
routel
1.59
KB
-rwxr-xr-x
2020-09-30 16:40
rpc.gssd
88.73
KB
-rwxr-xr-x
2021-10-14 12:29
rpc.idmapd
48.13
KB
-rwxr-xr-x
2021-10-14 12:29
rpc.mountd
128.91
KB
-rwxr-xr-x
2021-10-14 12:29
rpc.nfsd
40.2
KB
-rwxr-xr-x
2021-10-14 12:29
rpc.rquotad
78.95
KB
-rwxr-xr-x
2019-08-09 02:34
rpc.statd
97.59
KB
-rwxr-xr-x
2021-10-14 12:29
rpcbind
60.07
KB
-rwxr-xr-x
2020-04-01 04:19
rpcdebug
18.05
KB
-rwxr-xr-x
2021-10-14 12:29
rpcinfo
27.3
KB
-rwxr-xr-x
2020-04-01 04:19
rsyslogd
648.45
KB
-rwxr-xr-x
2022-05-31 15:22
rtacct
41.93
KB
-rwxr-xr-x
2020-09-30 16:40
rtcwake
31.96
KB
-rwxr-xr-x
2021-02-02 16:31
rtmon
48.67
KB
-rwxr-xr-x
2020-09-30 16:40
rtpr
37
B
-rwxr-xr-x
2020-09-30 16:40
rtstat
20.09
KB
-rwxr-xr-x
2020-09-30 16:40
runlevel
704.8
KB
-rwxr-xr-x
2023-12-07 14:51
runq
1.49
MB
-rwsr-xr-x
2025-12-23 17:28
runuser
32.21
KB
-rwxr-xr-x
2021-02-02 16:31
rvnamed-ng
15.55
KB
-rwxr-xr-x
2018-10-30 16:21
safe_finger
11.08
KB
-rwxr-xr-x
2014-06-10 04:41
sasl2-shared-mechlist
10.98
KB
-rwxr-xr-x
2022-02-24 13:27
saslauthd
92.59
KB
-rwxr-xr-x
2022-02-24 13:27
sasldblistusers2
19.26
KB
-rwxr-xr-x
2022-02-24 13:27
saslpasswd2
15.09
KB
-rwxr-xr-x
2022-02-24 13:27
sefcontext_compile
60.53
KB
-rwxr-xr-x
2020-04-01 03:16
selabel_digest
11.17
KB
-rwxr-xr-x
2020-04-01 03:16
selabel_lookup
11.14
KB
-rwxr-xr-x
2020-04-01 03:16
selabel_lookup_best_match
11.16
KB
-rwxr-xr-x
2020-04-01 03:16
selabel_partial_match
11.09
KB
-rwxr-xr-x
2020-04-01 03:16
selinux_restorecon
15.21
KB
-rwxr-xr-x
2020-04-01 03:16
selinuxconlist
11.1
KB
-rwxr-xr-x
2020-04-01 03:16
selinuxdefcon
11.12
KB
-rwxr-xr-x
2020-04-01 03:16
selinuxenabled
6.98
KB
-rwxr-xr-x
2020-04-01 03:16
selinuxexeccon
7.09
KB
-rwxr-xr-x
2020-04-01 03:16
semanage
42.76
KB
-rwxr-xr-x
2020-04-01 04:04
semodule
23.77
KB
-rwxr-xr-x
2020-04-01 04:04
sendmail
13.48
KB
-rwxr-sr-x
2025-12-23 17:28
service
3.17
KB
-rwxr-xr-x
2020-11-16 16:20
sestatus
15.02
KB
-rwxr-xr-x
2020-04-01 04:04
setcap
11.13
KB
-rwxr-xr-x
2020-04-01 03:08
setenforce
7.05
KB
-rwxr-xr-x
2020-04-01 03:16
setfiles
27.16
KB
-rwxr-xr-x
2020-04-01 04:04
setpci
23.4
KB
-rwxr-xr-x
2018-04-11 02:50
setquota
83.16
KB
-rwxr-xr-x
2019-08-09 02:34
setsebool
14.99
KB
-rwxr-xr-x
2020-04-01 04:04
sfdisk
83.25
KB
-rwxr-xr-x
2021-02-02 16:31
showmount
19.56
KB
-rwxr-xr-x
2021-10-14 12:29
shutdown
704.8
KB
-rwxr-xr-x
2023-12-07 14:51
sim_server
10.97
KB
-rwxr-xr-x
2022-11-30 19:01
slattach
42.4
KB
-rwxr-xr-x
2019-08-09 01:10
sln
743.78
KB
-rwxr-xr-x
2024-06-04 15:05
sm-notify
68.43
KB
-rwxr-xr-x
2021-10-14 12:29
smartctl
864.48
KB
-rwxr-xr-x
2020-04-01 04:32
smartd
670.63
KB
-rwxr-xr-x
2020-04-01 04:32
ss
128.44
KB
-rwxr-xr-x
2020-09-30 16:40
sshd
832.96
KB
-rwxr-xr-x
2023-08-04 16:00
sshd-keygen
3.53
KB
-rwxr-xr-x
2023-08-04 16:00
start-statd
842
B
-rwxr-xr-x
2021-10-14 12:29
start-stop-daemon
32.96
KB
-rwxr-xr-x
2022-01-13 12:15
suexec
43.3
KB
-rwsr-xr-x
2026-03-19 02:51
sulogin
40.53
KB
-rwxr-xr-x
2021-02-02 16:31
suphp
2.47
MB
-rwsr-x---
2026-03-19 03:49
sushell
67
B
-rwxr-xr-x
2020-11-16 16:20
swaplabel
15.31
KB
-rwxr-xr-x
2021-02-02 16:31
swapoff
15.53
KB
-rwxr-xr-x
2021-02-02 16:31
swapon
53.29
KB
-rwxr-xr-x
2021-02-02 16:31
switch_root
15.35
KB
-rwxr-xr-x
2021-02-02 16:31
sys-unconfig
184
B
-rwxr-xr-x
2020-11-16 16:20
sysctl
23.57
KB
-rwxr-xr-x
2020-09-30 17:21
t1libconfig
3.83
KB
-rwxr-xr-x
2007-12-23 15:49
tc
384.66
KB
-rwxr-xr-x
2020-09-30 16:40
tcpd
36.62
KB
-rwxr-xr-x
2014-06-10 04:41
tcpdmatch
40.83
KB
-rwxr-xr-x
2014-06-10 04:41
tcpdump
920.16
KB
-rwxr-xr-x
2019-12-02 17:44
tcpslice
23.64
KB
-rwxr-xr-x
2019-12-02 17:44
telinit
704.8
KB
-rwxr-xr-x
2023-12-07 14:51
testsaslauthd
15.09
KB
-rwxr-xr-x
2022-02-24 13:27
tickadj
6.95
KB
-rwxr-xr-x
2020-06-23 15:38
tmpwatch
27.87
KB
-rwxr-xr-x
2019-08-09 02:58
tracepath
15.05
KB
-rwxr-xr-x
2017-08-04 08:01
tracepath6
15.05
KB
-rwxr-xr-x
2017-08-04 08:01
try-from
23.47
KB
-rwxr-xr-x
2014-06-10 04:41
tsig-keygen
19.44
KB
-rwxr-xr-x
2024-06-11 14:41
tune2fs
69.41
KB
-rwxr-xr-x
2020-09-30 15:58
tuned
3.29
KB
-rwxr-xr-x
2019-03-21 22:10
tuned-adm
5.22
KB
-rwxr-xr-x
2019-03-21 22:10
udevadm
414.27
KB
-rwxr-xr-x
2023-12-07 14:51
umount.nfs
114.68
KB
-rwsr-xr-x
2021-10-14 12:29
umount.nfs4
114.68
KB
-rwsr-xr-x
2021-10-14 12:29
unix_chkpwd
35.42
KB
-rwxr-xr-x
2020-04-01 04:00
unix_update
35.42
KB
-rwx------
2020-04-01 04:00
update-alternatives
27.61
KB
-rwxr-xr-x
2020-10-13 15:46
update-pciids
1.71
KB
-rwxr-xr-x
2018-04-11 02:50
update-smart-drivedb
14.34
KB
-rwxr-xr-x
2020-04-01 04:32
useradd
134.39
KB
-rwxr-xr-x
2019-08-09 02:51
userdel
93.5
KB
-rwxr-xr-x
2019-08-09 02:51
usermod
130.33
KB
-rwxr-xr-x
2019-08-09 02:51
usernetctl
11.03
KB
-rwxr-xr-x
2020-11-16 16:20
uuserver
14.97
KB
-rwxr-xr-x
2022-11-30 19:01
vigr
62.54
KB
-rwxr-xr-x
2019-08-09 02:51
vipw
62.54
KB
-rwxr-xr-x
2019-08-09 02:51
virt-what
11.57
KB
-rwxr-xr-x
2021-08-31 14:47
visudo
200.91
KB
-rwxr-xr-x
2023-01-25 16:36
vmcore-dmesg
19.28
KB
-rwxr-xr-x
2021-06-09 16:09
vpddecode
15.33
KB
-rwxr-xr-x
2021-03-16 15:25
weak-modules
31.9
KB
-rwxr-xr-x
2020-04-01 02:58
whmapi0
3.02
MB
-rwxr-xr-x
2026-03-11 04:35
whmapi1
3.02
MB
-rwxr-xr-x
2026-03-11 04:35
whmlogin
2.33
KB
-rwxr-xr-x
2022-03-31 04:35
wipefs
28.05
KB
-rwxr-xr-x
2021-02-02 16:31
wpa_cli
128.06
KB
-rwxr-xr-x
2021-03-16 15:26
wpa_passphrase
56.79
KB
-rwxr-xr-x
2021-03-16 15:26
wpa_supplicant
1.93
MB
-rwxr-xr-x
2021-03-16 15:26
xfs_admin
1.35
KB
-rwxr-xr-x
2020-09-30 17:51
xfs_bmap
638
B
-rwxr-xr-x
2020-09-30 17:51
xfs_copy
339.33
KB
-rwxr-xr-x
2020-09-30 17:52
xfs_db
576.38
KB
-rwxr-xr-x
2020-09-30 17:52
xfs_estimate
11.16
KB
-rwxr-xr-x
2020-09-30 17:52
xfs_freeze
767
B
-rwxr-xr-x
2020-09-30 17:51
xfs_fsr
31.83
KB
-rwxr-xr-x
2020-09-30 17:52
xfs_growfs
327.2
KB
-rwxr-xr-x
2020-09-30 17:52
xfs_info
472
B
-rwxr-xr-x
2020-09-30 17:51
xfs_io
122.68
KB
-rwxr-xr-x
2020-09-30 17:52
xfs_logprint
355.81
KB
-rwxr-xr-x
2020-09-30 17:52
xfs_mdrestore
314.81
KB
-rwxr-xr-x
2020-09-30 17:52
xfs_metadump
747
B
-rwxr-xr-x
2020-09-30 17:51
xfs_mkfile
1007
B
-rwxr-xr-x
2020-09-30 17:51
xfs_ncheck
650
B
-rwxr-xr-x
2020-09-30 17:51
xfs_quota
84.88
KB
-rwxr-xr-x
2020-09-30 17:52
xfs_repair
563.2
KB
-rwxr-xr-x
2020-09-30 17:52
xfs_rtcp
15.25
KB
-rwxr-xr-x
2020-09-30 17:52
xqmstats
14.03
KB
-rwxr-xr-x
2019-08-09 02:34
xtables-multi
91.52
KB
-rwxr-xr-x
2020-10-01 16:52
yum-complete-transaction
9.22
KB
-rwxr-xr-x
2020-05-12 16:27
yumdb
8.67
KB
-rwxr-xr-x
2020-05-12 16:27
zdump
14.02
KB
-rwxr-xr-x
2024-06-04 15:05
zic
50.02
KB
-rwxr-xr-x
2024-06-04 15:05
zramctl
82.23
KB
-rwxr-xr-x
2021-02-02 16:31
Save
Rename
#! /bin/sh # Copyright (c) The Exim Maintainers 2023 # Copyright (c) University of Cambridge, 1995 - 2015 # See the file NOTICE for conditions of use and distribution. # SPDX-License-Identifier: GPL-2.0-or-later # This script takes the following command line arguments: # -l dir Log file directory # -k days Number of days to keep the log files # Except when they appear in comments, the following placeholders in this # source are replaced when it is turned into a runnable script: # # CONFIGURE_FILE_USE_NODE # CONFIGURE_FILE_USE_EUID # CONFIGURE_FILE # BIN_DIRECTORY # EXICYCLOG_MAX # COMPRESS_COMMAND # COMPRESS_SUFFIX # CHOWN_COMMAND # CHGRP_COMMAND # CHMOD_COMMAND # TOUCH_COMMAND # MV_COMMAND # RM_COMMAND # This file has been so processed. # This is a shell script for cycling exim main and reject log files. Each time # it is run, the files get "shuffled down" by one, the current one (e.g. # mainlog) becoming mainlog.01, the previous mainlog.01 becoming mainlog.02, # and so on, up to the limit configured here. When the number to keep is # greater than 99 (not common, but some people do it), three digits are used # (e.g. mainlog.001). The same shuffling happens to the reject logs. All # renamed files with numbers greater than 1 are compressed. # This script should be called regularly (e.g. daily) by a root crontab # entry of the form # 1 0 * * * /opt/exim/bin/exicyclog # The following lines are generated from Exim's configuration file when # this source is built into a script, but you can subsequently edit them # without rebuilding things, as long are you are careful not to overwrite # the script in the next Exim rebuild/install. "Keep" is the number of old log # files that are required to be kept. Its value can be overridden by the -k # command line option. "Compress" and "suffix" define your chosen compression # method. The others are provided because the location of certain commands # varies from OS to OS. Sigh. keep=10 compress=/usr/bin/gzip suffix=gz chgrp=look_for_it chmod=look_for_it chown=look_for_it mv=/bin/mv rm=/bin/rm touch=/usr/bin/touch # End of editable lines ######################################################################### # Sort out command line options. while [ $# -gt 0 ] ; do case "$1" in -l) log_file_path=$2 shift ;; -k) keep=$2 shift ;; --version|-v) echo "`basename $0`: $0" echo "build: 4.99.1" exit 0 ;; *) echo "** exicyclog: unknown option $1" exit 1 ;; esac shift done # Some operating systems have different versions in which the commands live # in different places. We have a fudge that will search the usual suspects if # requested. for cmd in chgrp chmod chown mv rm touch; do eval "oldcmd=\$$cmd" if [ "$oldcmd" != "look_for_it" ] ; then continue ; fi newcmd=$cmd for dir in /bin /usr/bin /usr/sbin /usr/etc ; do if [ -f $dir/$cmd ] ; then newcmd=$dir/$cmd break fi done eval $cmd=$newcmd done # See if this installation is using the esoteric "USE_EUID" feature of Exim, # in which it uses the effective user id as a suffix for the configuration file # name. In order for this to work, exicyclog must be run under the appropriate # euid. if [ "" = "yes" ]; then euid=.`id -u` fi # See if this installation is using the esoteric "USE_NODE" feature of Exim, # in which it uses the host's name as a suffix for the configuration file name. if [ "" = "yes" ]; then hostsuffix=.`uname -n` fi # Now find the configuration file name. This has got complicated because the # CONFIGURE_FILE value may now be a list of files. The one that is used is the # first one that exists. Mimic the code in readconf.c by testing first for the # suffixed file in each case. set `awk -F: '{ for (i = 1; i <= NF; i++) print $i }' <<End /etc/exim.conf End ` while [ "$config" = "" -a $# -gt 0 ] ; do if [ -f "$1$euid$hostsuffix" ] ; then config="$1$euid$hostsuffix" elif [ -f "$1$euid" ] ; then config="$1$euid" elif [ -f "$1$hostsuffix" ] ; then config="$1$hostsuffix" elif [ -f "$1" ] ; then config="$1" fi shift done # Determine if the log file path is set, and where the spool directory is. # Search for an exim_path setting in the configure file; otherwise use the bin # directory. Call that version of Exim to find the spool directory and log file # path, unless log_file_path was set above by a command line option. BEWARE: a # tab character is needed in the command below. It has had a nasty tendency to # get lost in the past. Use a variable to hold a space and a tab to keep the # tab in one place. st=' ' exim_path=`grep "^[$st]*exim_path" $config | sed "s/.*=[$st]*//"` if test "$exim_path" = ""; then exim_path=/usr/sbin/exim; fi spool_directory=`$exim_path -C $config -bP spool_directory | sed 's/.*=[ ]*//'` if [ "$log_file_path" = "" ] ; then log_file_path=`$exim_path -C $config -bP log_file_path | sed 's/.*=[ ]*//'` fi # If log_file_path contains only "syslog" then no Exim log files are in use. # We can't cycle anything. Complain and give up. if [ "$log_file_path" = "syslog" ] ; then echo "*** Exim is logging to syslog - no log files to cycle ***" exit 1 fi # Otherwise, remove ":syslog" or "syslog:" (some spaces allowed) and inspect # what remains. The simplistic regex originally used failed when a filename # contained "syslog", so we have to use three less general ones, because sed # doesn't have much power in its regexs. log_file_path=`echo "$log_file_path" | \ sed 's/^ *:\{0,1\} *syslog *:\{0,1\} *//;s/: *syslog *:/:/;s/: *syslog *$//'` # If log_file_path is empty, try and get the compiled in default by using # /dev/null as the configuration file. if [ "$log_file_path" = "" ]; then log_file_path=`$exim_path -C /dev/null -bP log_file_path | sed 's/.*=[ ]*//'` log_file_path=`echo "$log_file_path" | \ sed 's/^ *:\{0,1\} *syslog *:\{0,1\} *//;s/: *syslog *:/:/;s/: *syslog *$//'` fi # If log_file_path is still empty, the logs we are interested in are probably # called "mainlog" and "rejectlog" in the directory called "log" in the spool # directory. Otherwise we fish out the directory from the given path, and also # the names of the logs. if [ "$log_file_path" = "" ]; then logdir=$spool_directory/log mainlog=mainlog rejectlog=rejectlog paniclog=paniclog else logdir=`echo $log_file_path | sed 's?/[^/]*$??'` logbase=`echo $log_file_path | sed 's?^.*/??'` mainlog=`echo $logbase | sed 's/%s/main/'` rejectlog=`echo $logbase | sed 's/%s/reject/'` paniclog=`echo $logbase | sed 's/%s/panic/'` fi # Get into the log directory to do the business. cd $logdir || exit 1 # If there is no main log file, do nothing. if [ ! -f $mainlog ]; then exit; fi # Find out the owner and group of the main log file so that we can re-instate # this on moved and compressed files, since some operating systems may change # things. This is a tedious bit of code, but it should work both in operating # systems where the -l option of ls gives the user and group, and those in which # you need -lg. The condition is that, if the fifth field of the output from # ls consists entirely of digits, then the third and fourth fields are the user # and group. a=`ls -lg $mainlog` b=`ls -l $mainlog` # These statements work fine in the Bourne or Korn shells, but not in Bash. # So for the benefit of systems whose /bin/sh is really Bash, they have been # changed to a messier form. # user=`echo "$a\n$b\n" | awk 'BEGIN { OFS=""} { if ($5 ~ /^[0-9]+$/) print $3; }'` # group=`echo "$a\n$b\n" | awk 'BEGIN { OFS=""} { if ($5 ~ /^[0-9]+$/) print $4; }'` user=`echo "$a $b " | awk 'BEGIN { OFS=""} { if ($5 ~ /^[0-9]+$/) { print $3; exit; } }'` group=`echo "$a $b " | awk 'BEGIN { OFS=""} { if ($5 ~ /^[0-9]+$/) { print $4; exit; } }'` # Now do the job. First remove the files that have "fallen off the bottom". # Look for both the compressed and uncompressed forms. if [ $keep -lt 10 ]; then rotation=0$keep; else rotation=$keep; fi; if [ -f $mainlog.$rotation ]; then $rm $mainlog.$rotation; fi; if [ -f $mainlog.$rotation.$suffix ]; then $rm $mainlog.$rotation.$suffix; fi; if [ -f $rejectlog.$rotation ]; then $rm $rejectlog.$rotation; fi; if [ -f $rejectlog.$rotation.$suffix ]; then $rm $rejectlog.$rotation.$suffix; fi; if [ -f $paniclog.$rotation ]; then $rm $paniclog.$rotation; fi; if [ -f $paniclog.$rotation.$suffix ]; then $rm $paniclog.$rotation.$suffix; fi; # Now rename all the previous old files by increasing their numbers by 1. # When the number is less than 10, insert a leading zero. count=$keep if [ $count -lt 10 ]; then countt=0$count; else countt=$count; fi while [ $count -gt 1 ]; do old=`expr -- $count - 1` if [ $keep -gt 99 ]; then if [ $old -lt 10 ]; then oldt=00$old elif [ $old -lt 100 ]; then oldt=0$old else oldt=$old fi else if [ $old -lt 10 ]; then oldt=0$old; else oldt=$old; fi; fi if [ -f $mainlog.$oldt ]; then $mv $mainlog.$oldt $mainlog.$countt elif [ -f $mainlog.$oldt.$suffix ]; then $mv $mainlog.$oldt.$suffix $mainlog.$countt.$suffix fi if [ -f $rejectlog.$oldt ]; then $mv $rejectlog.$oldt $rejectlog.$countt elif [ -f $rejectlog.$oldt.$suffix ]; then $mv $rejectlog.$oldt.$suffix $rejectlog.$countt.$suffix fi if [ -f $paniclog.$oldt ]; then $mv $paniclog.$oldt $paniclog.$countt elif [ -f $paniclog.$oldt.$suffix ]; then $mv $paniclog.$oldt.$suffix $paniclog.$countt.$suffix fi count=$old countt=$oldt done # Now rename the current files as 01 or 001 if keeping more than 99 if [ $keep -gt 99 ]; then first=001; else first=01; fi # Grab our pid ro avoid race in file creation ourpid=$$ if [ -f $mainlog ]; then $mv $mainlog $mainlog.$first $chown $user:$group $mainlog.$first $touch $mainlog.$ourpid $chown $user:$group $mainlog.$ourpid $chmod 640 $mainlog.$ourpid $mv $mainlog.$ourpid $mainlog fi if [ -f $rejectlog ]; then $mv $rejectlog $rejectlog.$first $chown $user:$group $rejectlog.$first $touch $rejectlog.$ourpid $chown $user:$group $rejectlog.$ourpid $chmod 640 $rejectlog.$ourpid $mv $rejectlog.$ourpid $rejectlog fi if [ -f $paniclog ]; then $mv $paniclog $paniclog.$first $chown $user:$group $paniclog.$first $touch $paniclog.$ourpid $chown $user:$group $paniclog.$ourpid $chmod 640 $paniclog.$ourpid $mv $paniclog.$ourpid $paniclog fi # Now scan the (0)02 and later files, compressing where necessary, and # ensuring that their owners and groups are correct. count=2; while [ $count -le $keep ]; do if [ $keep -gt 99 ]; then if [ $count -lt 10 ]; then countt=00$count elif [ $count -lt 100 ]; then countt=0$count else countt=$count fi else if [ $count -lt 10 ]; then countt=0$count; else countt=$count; fi fi if [ -f $mainlog.$countt ]; then $compress $mainlog.$countt; fi if [ -f $mainlog.$countt.$suffix ]; then $chown $user:$group $mainlog.$countt.$suffix fi if [ -f $rejectlog.$countt ]; then $compress $rejectlog.$countt; fi if [ -f $rejectlog.$countt.$suffix ]; then $chown $user:$group $rejectlog.$countt.$suffix fi if [ -f $paniclog.$countt ]; then $compress $paniclog.$countt; fi if [ -f $paniclog.$countt.$suffix ]; then $chown $user:$group $paniclog.$countt.$suffix fi count=`expr -- $count + 1` done # End of exicyclog