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.

Certifications & exams

Which exam comes next?

You can already practise for 51 exams, and 16 are up for a vote. See all certifications with their official information, cast your vote or suggest your exam.

See all certifications