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
Which command is used to create a directory?
What are the differences among a system call, a library function, and a unix command?
Explain mount and unmount command.
What is ‘ps’ command for?
What is the difference between cat and more command?
What is the general format of unix command syntax?
What is the pipe command?
Which command will print your home directory on screen?
What difference between cmp and diff commands?
Is there a way to erase all files in the current directory, including all its sub-directories, using only one command?
How to display no of records in oracle using unix command?
What are reported commands?
Who invented grep?
What are some command words?
Give the command for finding the current date.