I am a beginner with bash scripts and my bash script begins with reading a file's one line content into a variable, however it returns the error
pid: not found
My script looks like:
pid = `cat /home/file.py`
echo $pid
I also tried
pid = $(</home/file.py)
and got the same error.