in unix how to change old name to new name

Answer Posted / v.balaviswanathan

$ mv name1.txt name2.txt

Where name1 is the old name

name2 is the new name

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What does cd do in linux?

655


What is the fastest way to enter a series of commands from the command-line?

540


What is difference between comm and CMP command?

527


What is linux load average?

601


What is clang tidy?

573






What are the commands in linux?

533


Write a command that will look for files with an extension "c", and has the occurrence of the string "apple" in it.

1175


How is grep so fast?

568


What is command grouping and how does it work?

651


How often do you use grep command and how in Linux operating system?

537


Which command is used to delete a group?

560


What is a make target?

594


Enlist some linux to file content commands?

571


What is clang linux?

571


How do you create a text file in linux terminal?

522