Answers for "what is $? in shell script"

1

$$ in shell script

$$ is the process ID (PID) of the script itself.

$BASHPID is the process ID of the current instance of Bash. This is not the same as the $$ variable, but it often gives the same result.
Posted by: Guest on September-07-2021
0

what is shell scripting

A shell script is a computer program designed to be run by the Unix/Linux shell which could be one of the following:

The Bourne Shell
The C Shell
The Korn Shell
The GNU Bourne-Again Shell
A shell is a command-line interpreter and typical operations performed by shell scripts include file manipulation, program execution, and printing text.

for more visit https://www.tutorialspoint.com/unix/shell_scripting.htm
Posted by: Guest on July-27-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language