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 |
If we want to see first 35 lines of a file which command we have to use?
A file has 1000 lines and i want to display only 1st line how to do it? pls ..tel me
How do I search for a file in unix command?
How to open a Database using Unix Command Please Do Reply
Can you enlist some commonly used network commands?
How we will execute previous command in vi editor?
how many types of file in unix?
34 Answers MNC, TCS,
What is grep and how do you use it?
How to get a particular string as your prompt ? Give syntax of that command?
What does #!/ Bin sh do?
in UNIX ,What is the command to view contents of a large error log file?
What is the size of time_t?