Answer Posted / sangu
echo is also used to append the data or overwrite the data
for the existing file.
eg1:
echo "string" > filename --- overwrite the data in the
file
eg2:
echo "string" >> filename --- append the string in the
file.
| Is This Answer Correct ? | 8 Yes | 6 No |
Post New Answer View All Answers
Explain how to use grep command to list find the records of a file containing 10 different strings?
What is merge command in unix?
Who command in unix operating system?
What's a command word?
What are grep patterns?
Explain the terms ‘system calls’ and ‘library functions’ with respect to unix commands?
What does pipe () return?
How do I search for text in vi?
Give the command for finding the current date.
Explain command to show the space allocation of files?
What is the first character of the output in ls l command?
hw will u use awk in replacing cahrs and files
What is the difference between cat and more command?
What do chmod, chown, chgrp commands do?
How do I use nslookup?