${parameter/pattern/string}Pattern substitution.The pattern is expanded to produce a pat‐
tern just as in pathname expansion.Parameter is expanded and
the longest match of pattern against its value is replaced with
string.If pattern begins with /, all matches of pattern are
replaced with string.Normally only the first match is
replaced.If pattern begins with #, it must match at the begin‐
ning of the expanded value of parameter.If pattern begins with
%, it must match at the end of the expanded value of parameter.[...]
cifs://servername/temp/folder/file.txt
?Respuestas:
Si entiendo su pregunta correctamente, desea reemplazar el comienzo del camino. Puedes hacerlo de esta manera:
Esto se describe en
man bash
:fuente
mount
contarles este tipo de información.