> Use single quotes: > echo "/Linux/update"|sed 's/\//\\\//g' > With double quotes, bash will turn your \\ into \ > Thanks
> Use single quotes: > echo "/Linux/update"|sed 's/\//\\\//g' > With double quotes, bash will turn your \\ into \ > Thanks