RE: Which is correct to append the output of ls and wh...
It' s simple
(ls;who) >> x
Comments: *** (ls;who) prints both the outputs in stdout in the same sequence as commanded. *** >> is the "redirection + append" operator hence the o/p from stdout is put into a file (appended) named x.