In Raspbmc, I can get to the terminal command-line by hitting the GUI "Power off" button, choosing Exit and then hitting Esc on the attached keyboard.

My question is: can I get to the command-line without quitting the GUI? (And no, I don't want to SSH to the RasPi box)

  • 1
    ...I ended up SSH-ing. Less drama :) Commented Jun 28, 2013 at 9:06

2 Answers 2


This post :


shows that you cannot normally get to the CLI from within Raspbmc, however, this particular post


seems to show that it can be done using python.

sudo apt-get install python-dev <--Installs the Python development?
sudo apt-get install python-pip <--Python package installer

then create a file, that contains python script: Code:

import subprocess
subprocess.call("sudo /etc/init.d/transmission-daemon start", shell=True)

and last, assign this script to a button on remote:


I suppose that this gets you to the CLI where you can do your keyboard magic


I was able to go from GUI to CLI by clicking shutdown and it gave me three options: shutdown, reboot, and exit to command line. that gets you out of GUI

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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