Opening of the bash file in linux

I am getting errors every time I am trying to execute this command given above.
It is regarding the creation of bash file , can someone help me out?

This will work, the above doesn’t work the cd … that space needs to be their followed by the two .. periods. Do exactly what I have shown below:

cd ..
cd ..
cd /home/simulations/public_sim_ws/src/all/robasics_examples/linux_demo/

Not sure if they have introduced the use of cd ..yet if not it will be it just moves you back one directory.