How do I view the contents of a .sh file?

How do I view the contents of a .sh file?
Answer
There are many ways to display a text file in a shell script. You can simply
use the cat command and display back output on screen. Another option is to read a text file line by line and display back the output. In some cases you may need to store output to a variable and later display back on screen.
 

Tìm kiếm

Back
Top