how to rename a file with console ubuntu' code example Example: how to rename a file in ubuntu using terminal mv oldnamefile1 newnamefile1