Interview Questions

How will you append data to a file?

Use ">>" symbol to append data to file.

For example: echo "New line appended to existing content" >> Sample.txt