This is an old revision of the document!
There are times when you need to run Unix shell, usually for one-off script or quick test. Here are ways I found to run shell on Chromebook, Android phone, and Windows.
- Chromebook – There are 3 ways.
- crosh – From Chrome browser or desktop, type <Ctrl-Alt-T> and you will get “crosh>” command prompt. This is native Chrome OS shell. Type
help
to get a list of commands available. Most commands at this level are simple, eg.ping
. - Bash – From “crosh>” command prompt, type
shell
to get a full Bash shell. You have to enable “developer mode” to get access to the shell command. Chromebook can be switched into developer mode by pressing <Esc-Refresh-Power>, and then follow instructions. - Ubuntu/Debian – Install “crouton” in developer mode. This installs Ubuntu/Debian in chroot environment, where you can switch between the default Chrome OS and Ubuntu/Debian.
- Android phone
- Windows