The output will be what you expect, it will echo Hello World onto the screen. You can also use echo to view the contents of a variable: As with most Linux commands, there's definitely more that we can ...
The script command not only makes a record of what commands you run but also allows you to save the output generated so that you can examine it later or easily turn your command sequences into scripts ...