15

I have a FreeBSD guest on a Windows XP host.

BSD has no GUI, so it just boots up to the terminal. The output of most commands is more than is visible on the screen, but I can't scroll up/down in the terminal through Page Up / Page Down, or SHIFT + Page Up / Down keys.

I have to keep running commands like ls as ls | less which is annoying if the output is a lot.

How can I scroll the screen output?

21

If you'd like to scroll up/down in VirtualBox terminal window, use please the combination key: Shift+PageUp/PageDown

For leave terminal window, just press the right Ctrl.

3
  • 1
    I did say in my question I can't scroll up/down in the terminal through Page Up/Page Down, or SHIFT+Page Up/Down keys – jwbensley Apr 29 '15 at 13:11
  • Ups... I missed SHIFT notice... so sorry. – Jan Apr 30 '15 at 9:51
  • 1
    Anyway you helped for others like me who also not read the question precisily. – Daniel Hári May 23 '16 at 14:37
5

If you are on a Mac with no Page Up/Page Down keys, press Shift+Fn+Up Arrow or Shift+Fn+Down Arrow

1
  • it works with linux too – mvxxx Mar 2 '20 at 19:50
4

Not exactly what you asked, but it is a usable workaround: after starting up your VirtualBox, connect to it with a ssh client like putty. You can then work and scroll in the ssh client, instead of using the VirtualBox terminal.

With Virtualbox, the guest should be connected to the network using Bridge Adapter instead of NAT for connecting via SSH with Putty.

Not the answer you're looking for? Browse other questions tagged or ask your own question.