How to Install and Uninstall sleepenh Package on Kali Linux
Last updated: November 22,2024
1. Install "sleepenh" package
Please follow the instructions below to install sleepenh on Kali Linux
$
sudo apt update
Copied
$
sudo apt install
sleepenh
Copied
2. Uninstall "sleepenh" package
Please follow the guidance below to uninstall sleepenh on Kali Linux:
$
sudo apt remove
sleepenh
Copied
$
sudo apt autoclean && sudo apt autoremove
Copied
3. Information about the sleepenh package on Kali Linux
Package: sleepenh
Version: 1.7-2
Installed-Size: 30
Maintainer: Nicolas Schier
Architecture: amd64
Depends: libc6 (>= 2.34)
Size: 8292
SHA256: 40afb5cc494c18e90ba904b3cef2f81103817bfa5dfc750b37687a11db48a428
SHA1: 9634d153ff62bcb7d21a9e1bca6a912bf7c64168
MD5sum: 0446354c421f58aee66733272da9a1e8
Description: Sleep until a given date with subsecond resolution
sleepenh is a sleep program for shell scripts that need to
perform a loop that repeats at a regular time interval, without
cumulative errors.
.
It supports microsecond resolution.
.
You can also specify the time you need between two calls
of sleepenh.
.
Here follows an usage example to clarify its purpose. This
example sends 'A' to ttyS0 every 1.2 seconds.
#!/bin/sh
# does not wait (or wait 0), just to get initial timestamp
TIMESTAMP=$(sleepenh 0)
while true; do
# send the byte to ttyS0
echo -n "A" > /dev/ttyS0;
# wait until the required time
TIMESTAMP=$(sleepenh $TIMESTAMP 1.200);
done
.
For more details, please read the manpage.
Description-md5:
Tag: implemented-in::c, interface::commandline, role::program,
scope::utility, use::timekeeping
Section: utils
Priority: optional
Filename: pool/main/s/sleepenh/sleepenh_1.7-2_amd64.deb
Version: 1.7-2
Installed-Size: 30
Maintainer: Nicolas Schier
Architecture: amd64
Depends: libc6 (>= 2.34)
Size: 8292
SHA256: 40afb5cc494c18e90ba904b3cef2f81103817bfa5dfc750b37687a11db48a428
SHA1: 9634d153ff62bcb7d21a9e1bca6a912bf7c64168
MD5sum: 0446354c421f58aee66733272da9a1e8
Description: Sleep until a given date with subsecond resolution
sleepenh is a sleep program for shell scripts that need to
perform a loop that repeats at a regular time interval, without
cumulative errors.
.
It supports microsecond resolution.
.
You can also specify the time you need between two calls
of sleepenh.
.
Here follows an usage example to clarify its purpose. This
example sends 'A' to ttyS0 every 1.2 seconds.
#!/bin/sh
# does not wait (or wait 0), just to get initial timestamp
TIMESTAMP=$(sleepenh 0)
while true; do
# send the byte to ttyS0
echo -n "A" > /dev/ttyS0;
# wait until the required time
TIMESTAMP=$(sleepenh $TIMESTAMP 1.200);
done
.
For more details, please read the manpage.
Description-md5:
Tag: implemented-in::c, interface::commandline, role::program,
scope::utility, use::timekeeping
Section: utils
Priority: optional
Filename: pool/main/s/sleepenh/sleepenh_1.7-2_amd64.deb