02-19-2016 08:13 AM - edited 03-01-2019 09:20 AM
We are attempting to run a script, but the file path has a space in the name:
/opt/TIDAL/order process/wait.sh
We are currently getting this error:
-bash: /opt/TIDAL/order: No such file or directory
02-22-2016 07:27 AM
Hi sdonnelly1,
Try encapsulating entire file path string with single quotes '
BR,
Derrick Au
02-22-2016 01:00 PM
Hi sdonnelly,
Second time trying is a charm, use a backslash to escape special characters like a blank space. For example: /home/derrick/derrick test/test.sh
To run the shell script, type: /home/derrick/derrick\_test/test.sh (note the underscore is only shown here to represent clearly a blank space)
BR,
Derrick Au
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide