I tried to access a specific path with a bash script but my terminal won’t access to it.
Here’s my very simple script :
#!/bin/bash
init()
{
cd $PATH
ls -l
}
PATH="/Volumes/Macintosh HD/Users"
init
I tried to write “/Macintosh\ HD” without success.
Try
note the quotation marks.