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 |
what are wild cards?
What is the use of tee command?
What is pid?
How to check whether some services are running in another server or not? Suppose i am currently in a server named A.I want to check whether some services are running in server B without logging into the server B.
3 Answers Amazon, MBA, Syntel, TCS, Unisys,
What's a command word?
What Command is used to make a directory?
Is there a way to erase all files in the current directory, including all its sub-directories, using only one command?
How do you remove a crontab file?
how many types of file in unix?
34 Answers MNC, TCS,
What is grep in bash?
What does find command return in unix?
how unix kernel distinguishes between a normal file and device file ?
7 Answers Google, IBM, McAfee, Vodafone,