when I tried to change file name from
new.file.gz, It says syntax error, I am using ubuntu 12.04.
mv old.file(1).gz new.file.gz bash: syntax error near unexpected token `('
Yeti's comment will work for you, but if you would like to know why, it's because parentheses are interpreted as special characters, and have to either be escaped with
If you have tab completion enabled, just type the first few characters of the file name and hit tab. I.e., typing