1828579 Members
2222 Online
109982 Solutions
New Discussion

Script

 
Sac_3
Frequent Advisor

Script

Need a shell script to read a text file and show the contents of it when we execute the script
1 REPLY 1
Steven Schweda
Honored Contributor

Re: Script

> Need a shell script to [...]

Do you mean that 1) you need a shell script
to do this task, or that 2) you have some
shell script now, and you wish to add this
task to it?

In the first case, what does "cat file_name"
not do which you want done?

In the second case, why not just add a
command like "cat file_name" to the existing
script?