单项选择题

要将当前目录下的file1.c重命名为file2.c,正确的命令是()。

A.cp file1.c file2.c
B.mv file1.c file2.c
C.touch file1.c file2.c
D.mv file2.c file1.c