Is this going to be visible in the process listing if the below line is executed from a command line or a shell script
bash -c "echo $password"
i just need to do
echo $password from within bash on a command line or inside bash shell script
is there any test i can do to check such visiblity.
i was just trying this but i wasn't able to see it in the process listing with
ps -ef | grep testscript
i=0 while (( i < 100 )) do ((i=i+1)) sleep 1 echo $$ echo hello uname done