How do you move or rename a file or directory?
The mv command serves the dual purpose of moving and renaming files or directories. To rename a file, mv old_filename new_filename is used. Similarly, to move a file to a different directory, the format is mv filename target_directory/. The same logic applies to directories. It’s a versatile command that aids in organising and re-structuring file locations and names.
| Is This Answer Correct ? | 0 Yes | 0 No |
their is a file1,file2 and i want to append file1 data to file2?
What is the use of find command in unix?
what are wild cards?
What is use of sed command?
12 Answers BitWise, Infosys, Reliance,
What command a user use to view a long text file one page at a time in UNIX?
What is mtime in find command?
what are the differences between CUI and GUI interfaces?
52 Answers College School Exams Tests, HCL, HP, IBM, IBMR, NIIT, Talco, Wipro,
How do I find previous commands in unix?
distinguish between multi-tasking,multi-user,multi- processing and time sharing?
7 Answers Alcatel, Cisco, Infosys, University Exams,
What is the difference between awk and grep?
How can you create a symbolic link to a file or directory?
distinguish between physical addresses and logical address?
23 Answers College School Exams Tests, CTS, Infosys, SAX, TATA, TCS,