I would like to ask how to open a Raspberry Pi in terminal mode only? Right now i want my Raspberry Pi to just autorun a Python script after plugging the power supply. Thanks for the answers guys.


From the command line open the raspi-config script:

sudo raspi-config

Using your up down arrows select option 3:

Boot Options

Then select Option 1:


Select either option 1 or 2:

Console or Console Autologin

Then Click (use the tab key):


Finally click:


and reboot to test.

These settings are also available from the GUI preferences menu.

  • if my raspberry disable the GUI, how can i go back to GUI? – CeciliA Jan 9 '17 at 5:18
  • The same way except you choose desktop or desktop autologin instead of console. – Steve Robillard Jan 9 '17 at 5:20
  • sir can i ask how can i determine my Raspberry Pi B+ if its Raspbian Wheezy or Raspbian Jessie? – CeciliA Jan 9 '17 at 5:47
  • 1
    Comments arfe not for asking unrelated questions. If you can't finfd the answer by searching either google or this site then ask a new question. – Steve Robillard Jan 9 '17 at 5:48

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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