5

Shell Script to Enter a Directory (Folder Name Contains Spaces)

view full story
linux-howto

http://www.unix.com – I am writing a shell script to cd to a folder. folder name is "October Scripts" I am currently storing the name of folder in a shell variable as so path="October\ Scripts/". If I do cd $path I receive the error bash: cd: October\: No such file or directory What am I doing wrong? Kindly help (HowTos)