From e46fb1d9288b4ff81b6ec5fd449bc197ce123b88 Mon Sep 17 00:00:00 2001 From: Managor <42655600+Managor@users.noreply.github.com> Date: Mon, 3 Aug 2026 00:04:09 +0300 Subject: [PATCH] trap: refresh page (#23480) Co-authored-by: Ivan Baluta --- pages/linux/trap.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pages/linux/trap.md b/pages/linux/trap.md index 0c4225d892..1379f43da4 100644 --- a/pages/linux/trap.md +++ b/pages/linux/trap.md @@ -13,12 +13,12 @@ - Execute a command when a signal is received: -`trap 'echo "Caught signal {{SIGHUP}}"' {{SIGHUP}}` +`trap 'echo "Caught signal {{SIGHUP}}"' {{[HUP|SIGHUP]}}` - Remove commands: -`trap - {{SIGHUP}} {{SIGINT}}` +`trap - {{SIGHUP SIGINT ...}}` - Ignore a signal: -`trap '' {{SIGINT}}` +`trap '' {{[INT|SIGINT]}}`