In bash scripting there are extremely useful build-in variables which we must know.
Given below are some of them.
$#-Number of arguments passed to the script.
$?-Exit status of the last command executed.
$!-Pid of the last command executed.
$$-Pid of the script.
No comments:
Post a Comment