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 is in grep command?
How do I find previous commands in unix?
What is the difference between grep and grep?
Why is shebang used?
what are processor execution levels and priorities?
What is the command to find maximum memory taking process on the server?
use of ls command
What does the command ' $who | sort –logfile > newfile' do?
how many internal commands is there in UNIX?
What are awk commands?
Suppose 1000 processes are running on the system out of those if you have to show only certain process ids which command will you use?
what is the default permission for /etc/shadow file in UNIX