Timeline for How does this command with which to "refresh the syslog process" work?
Current License: CC BY-SA 4.0
5 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Dec 27, 2021 at 10:56 | vote | accept | phk | ||
| Dec 27, 2021 at 10:56 | comment | added | phk | Ah, of course! I am just not used to the backticks anymore that I forgot about how they work! Thanks. | |
| Dec 27, 2021 at 10:54 | comment | added | Paul_Pedant |
Not so. The cat command is enclosed in (old-school) back-ticks. This is a "process substitution" which shell runs first, and it emits the file contents, which is the pid number. This then gets substituted as the real arg to the kill process, like kill -1 2345.
|
|
| Dec 27, 2021 at 10:51 | comment | added | phk |
The SIGHUP is directed torwards the cat command though and not syslogd…
|
|
| Dec 27, 2021 at 10:44 | history | answered | Paul_Pedant | CC BY-SA 4.0 |