Reputation: 314
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.
Upvotes: 3
Views: 1385