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 |
What are awk commands?
What does #!/ Bin sh do?
what is the command to list all files in a directory, including the hidden files in UNIX ?
describe the escaping sequence characteres in unix
Give the command for finding the current date.
What is the functionality of a top command?
How do you remove a crontab file?
What is the use of sed command in unix?
what are processor execution levels and priorities?
What is grep and how do you use it?
How to replace the exact word in vi editor?? suppose a file contains words like amaze,amazed,amazement in some of the line.But i want to replace only 'amaze' with delight but don't wanna replace amazed or amazement. thanks
6 Answers Polaris, Tech Mahindra,
How to get a particular string as your prompt ? Give syntax of that command?