in unix how to change old name to new name

Answer Posted / pravin virkud

mv <old name> <new name> // for rename the file in the same
directory

mv <old name> /<absolute path>/<new name> for rename and
move the file in other diretory.

Is This Answer Correct ?    31 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a ulimit in unix?

504


What does (cd dir && command) do?

533


What is unix finger command?

502


Is llvm a virtual machine?

550


Explain about document formatting?

576






What are the options of wc command?

532


What is devops linux?

524


What is umask in linux?

523


Which daemon is used for scheduling of the commands?

563


What are the 4 kinds of sentences with examples?

578


How do you run command every time a file is modified?

526


What command should you use to check your file system?

518


How can I create a file with cmd?

524


What is command grouping?

556


Write a command that will do the following: -look for all files in the current and subsequent directories with an extension c,v -strip the,v from the result (you can use sed command) -use the result and use a grep command to search for all occurrences of the word orange in the files.

805