How to rename files and folders?
Answers were Sorted based on User's Feedback
Answer / shiva
mv <old filename> <new filename>
mv <old foldername> <new foldername>
| Is This Answer Correct ? | 22 Yes | 5 No |
Answer / siva
example:
if u wanna convert "old" into "new"
then....
command:
rename old new old
hint:
type ur "new name" between "old name".
| Is This Answer Correct ? | 14 Yes | 6 No |
Answer / rahul rai
$:>cat > first
this is my first file.
my name is rahul rai.
i am doing MCA.
To rename file "first" with the name "second" we can use
the following command .
$:>rename first second first
$:>cat second
this is my first file.
my name is rahul rai.
i am doing MCA.
| Is This Answer Correct ? | 5 Yes | 7 No |
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 are filter commands in unix?
What is the behavioural difference between cmp and diff commands?
why unix commands can be divided into internal and external commands?
hi i have directories within the directory. Now i want to copy the directory along with all directories included in it to one location by using copy command? what is the command
What is difference between grep and find command in unix?
Why is it called a shebang?
Using unix command how to display no of records in oracle?
Which unix command to make a new directory?
What is the command to find maximum memory taking process on the server?
What is "type" command in unix?what is the functionality??
What do chmod, chown, chgrp commands do?