in unix how to change old name to new name

Answer Posted / googler

see there is no rename command in unix ,

so what u can use is "move" (mv) command

mv "(absolute path) old file name" "new file name"

Is This Answer Correct ?    12 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

You wish to print a file ‘draft’ with 60 lines to a page. What command would you use?

541


Main configuration file and command used for NFS enabling exported directories and deamons?

488


How does grep work in linux?

497


How do you create a blank file in linux?

486


How can you check the amount of lines in a file?

523






What does sh do in linux?

488


How do I list directories in linux?

536


How will you suspend a running process and put it in the background?

997


What is file and example?

590


Write about an internal command.

575


How remove all files in a directory linux?

501


What is the example of command sentence?

502


How do I find command history in linux?

464


What are commands in grammar?

509


Which Command used to lock user password in Linux?

544