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 is the use of the hidden files?
which command is used to change group?
Sorry to all Technical person for mistake of Question. Now i am post currect question Why copied file permission is changed in destination. When i give all permission i.e 777 to file and copy that to other location in destination the permission is 755. But if give permission 555 in destination that file permission is 555 and if give permission 444 to file after copy in destination the file permission is 444. These all are happening in normal user. How the umask value is calculate here really i am not understand. Please write the proper answer. Thanks in Advance
What command is used to check the current users?
how to find the 51th record of a file containing 100 records in unix.
how unix kernel distinguishes between a normal file and device file ?
7 Answers Google, IBM, McAfee, Vodafone,
distinguish between physical addresses and logical address?
23 Answers College School Exams Tests, CTS, Infosys, SAX, TATA, TCS,
How we will execute previous command in vi editor?
What does the command ' $who | sort –logfile > newfile' do?
How can we "forked" process in UNIX? How then recognize in any of the branches we?
how to delete entire records in unix ?
What is the use of touch command in there?