File management · Question 2 of 12
Which command renames the file old.txt to new.txt?
1 answer is correct. Easy Created with AI
Show answer
Answer
- C mv old.txt new.txt
Explanation
On Linux, renaming is a move within the same directory. ln would only create a second name (hard link); old.txt would remain.