in unix echo is used for

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


Please Help Members By Posting Answers For Below Questions

How do I clear my terminal history?

584


What are filter commands in unix?

555


How do I search a whole word in vim?

692


What is the command to compare two files in unix?

618


Explain mount and unmount command.

613






What's a command word?

588


What is command statement?

541


What is pipe command in unix?

670


What does #!/ Bin sh do?

589


What is difference between grep and find command in unix?

577


What does grep v do?

558


How do I use grep to search for a file?

580


What is grep short for?

556


Describe the zip/unzip command using gzip.

608


Name the various commands that are used for the user information in unix.

539