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
What is the command to compare two files in unix?
Write a command that will find all text files in a directory such that it does not contain the word "amazing" in any form (that is, it must include the words amazing, amazing, or amazing)?
Describe the zip/unzip command using gzip.
What is in grep command?
How does pipe () work?
how to sort the content of the file based on numeric values
What are filter commands in unix?
How do you grep recursively?
What is the use of awk command in unix?
What is ctrl d?
What is awk command used for?
What is the command to find maximum memory taking process on the server?
Explain command to display different lines that are found when compare two files?
What does grep v do?
Is it inbetween or in between?