1 unstable release
0.4.0 | Jun 17, 2024 |
---|---|
0.3.1 |
|
#1370 in Command line utilities
72 downloads per month
21KB
298 lines
Project
- This project follows Semantic Versioning 2.0.0
- License: GNU Lesser General Public License, either version 3, or (at your option) any later version.
Features
touch-als
is a simple Linux program. It helps with automation tasks involving abstract sockets.
Current features are simple:
-
User can run
touch-als
and pass it one or more abstract Linux socket address(es). The program will touch those address(es), by connecting to and immediately dropping the connection(s). -
For single address per invocation, the program supports running one sub command, based on user condition:
- If the address is alive (on-success).
- Or if the address is not alive (on-failure).
-
Addresses are either:
-
Hexadecimal strings. They must have at least one byte, and at most 107 bytes. Based on
unix(7)
, abstract Linux socket paths can have up to 108 bytes. The program dictates that it takes control of the first byte -- which will always be zero (0
). If the user provides less than 107 bytes, the rest will be filled with zeros. -
Raw strings, prefixed with
raw:
.
-
-
Sub command and its arguments can be provided after a double-hyphen phrase:
--
.
To see more details, options and examples..., you can run the program with help
command.
Dependencies
~120KB