After running he following command to rename a file:
[root@wiki ~]# mv 'Linux CPU (EDF).sh' LinuxCpu(EDF).sh
I am getting the following error:
-bash: syntax error near unexpected token `('
Why is this happening?
After running he following command to rename a file:
[root@wiki ~]# mv 'Linux CPU (EDF).sh' LinuxCpu(EDF).sh
I am getting the following error:
-bash: syntax error near unexpected token `('
Why is this happening?
Brackets are symbols that the shell wants to interpret. Enclose the new filename in single quotation marks too.
Is it because i didn't escape the brackets in the new name?
---------- Post updated at 07:26 AM ---------- Previous update was at 07:25 AM ----------
Thanks, got it