Which is the correct command syntax to rename a file 'abc.txt' to 'pqr.txt'?

18. Which is the correct command syntax to rename a file "abc.txt" to "pqr.txt"?

  1. mv abc.txt pqr.txt
  2. mv pqr.txt abc.txt
  3. mv -a pqr.txt abc.txt
  4. mv -all pqr.txt abc.txt

Answer: A) mv abc.txt pqr.txt

Explanation:

The correct command syntax to rename a file "abc.txt" to "pqr.txt" is:

mv abc.txt pqr.txt

Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.