The output of echo $$
command displays some number in the standard output like below.
$ echo $$
14594
What is that number? And also,
$ x=a
$ echo $x
a
In the above example echo $x
parses the variable x and displays the value of x
to the standard output.Likewise in this command echo $$
, is that the second dollar symbol
represents any variable?