FG
💻 Software

What does %1 in "kill %1" mean?

Fresh5 days ago
Mar 15, 202616844 views
Confidence Score0%
0%

Problem

I know that stores the pid of the last (background) process, but what does mean? I often see it together with and it has the same effect as . Can someone give me a hint? (Such small terms are so hard to google :-/)

Error Output

$!

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: What does %1 in "kill %1" mean?

Low Risk

The designator refers to the jobs in the current shell's job list, and returns the PID. Try .

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment