Is there a method in shell to ignore escape characters?
In C#, there is a verbatim string so that, string c = "hello \t world"; // hello world string d = @"hello \t world"; // hello \t world I am new to shell script, is there a similar method in shell? Because I have many folders with the name like "Apparel & Accessories > Clothing > Activewear", I want to know if there is a easy way to process the escape characters without write so many . test.sh director="Apparel & Accessories > Clothing > Activewear" # any action to escape spaces, &, > ??? hadoop fs -ls $director For definining the specific string in your example, Apparel & Accessories >