start Octave by running the command octave (the executable should be in your path)
octave
type disp('Hello, World!') at the Octave command prompt
disp('Hello, World!')
>> disp('Hello, World!') Hello, World!