How to print the current process id in Linux Shell Script | Linux Shell Script
We will use the "$$" variable to print current process identifiers on the console screen.
#!/bin/bash
echo "Current process identifier: $$"

We will use the "$$" variable to print current process identifiers on the console screen.
#!/bin/bash
echo "Current process identifier: $$"

This is an official account managed by the team TutorialsLink Community