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

What are some command words?

561


What is updatedb?

584


What is ctrl d?

594


What is the command to compare two files in unix?

618


What are the differences among a system call, a library function, and a unix command?

567






What is s and g in sed command?

557


Who command in unix?

571


What does grep v grep do?

550


What does #!/ Bin sh do?

587


What is used to type command?

539


What is the size of time_t?

644


What command is used to switching between users in unix?

560


Why is shebang used?

595


What does sed command do in unix?

559


What are awk commands?

582