How to read a file into a variable in shell?

There are multiple ways you can assign a file content into a variable in shell.

Leave a Reply