Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
user:william:running_shell_on_other_oss [2018/04/08 21:35]
william
user:william:running_shell_on_other_oss [2018/04/11 00:04]
william
Line 1: Line 1:
-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.+==== Running Shell on Other OSs ==== 
 + 
 +There are times when you need 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**   * **Chromebook**
-    - **Bash** -- Type <​Ctrl-Alt-T>​ from Chrome browser or desktop to get "​crosh>"​ command prompt, and then 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. +    - **Chrome Shell** -- Type <​Ctrl-Alt-T>​ from Chrome browser or desktop to get "​crosh>"​ command prompt, and then 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 Chrome OS and Ubuntu/​Debian.  You can install full desktop or just command-line packages.+    - **Crouton** -- Install ​[[https://​goo.gl/​fd3zc|crouton]] in developer mode.  ​It's a shell script that installs Ubuntu/​Debian in chroot environment, ​so you can switch between Chrome OS and Ubuntu/​Debian.
       * [[https://​tutorials.ubuntu.com/​tutorial/​install-ubuntu-on-chromebook|Install Ubuntu on a Chromebook]]       * [[https://​tutorials.ubuntu.com/​tutorial/​install-ubuntu-on-chromebook|Install Ubuntu on a Chromebook]]
       * [[https://​github.com/​dnschneid/​crouton|Chromium OS Universal Chroot Environment]]       * [[https://​github.com/​dnschneid/​crouton|Chromium OS Universal Chroot Environment]]
  
   * **Android**   * **Android**
-    - **Termux** -- This is "​Android terminal emulator and Linux environment app" for Android.  It emulates ​Ubuntu-like command-line distro.+    - **Termux** -- Install from Play Store.  It'​s ​Ubuntu-like command-line distro. 
 +      * [[https://​termux.com/​|Termux]] ​
  
   * **Windows**   * **Windows**
-    - **BusyBox** -- There is single ​binary for 32-bit and 64-bit Windows.+    - **BusyBox** -- There is a BusyBox ​binary ​compiled ​for 32-bit and 64-bit Windows.
       * [[https://​frippery.org/​busybox/​|BusyBox for Windows]]       * [[https://​frippery.org/​busybox/​|BusyBox for Windows]]
-    - **Cygwin** -- This is like command-line distro that you install to a directory.+    - **Cygwin** -- Collection of Unix utilities running natively on Windows.
       * [[https://​www.cygwin.com/​|Cygwin]]       * [[https://​www.cygwin.com/​|Cygwin]]
-    - **Windows Subsystem for Linux** (used to be called **Bash on Ubuntu on Windows**) -- Go to //Control Panel > Programs > Turn Windows features on or off//, and enable the "Windows Subsystem for Linux" ​option. +    - **Windows Subsystem for Linux** (used to be called **Bash on Ubuntu on Windows**) -- Go to //Control Panel > Programs > Turn Windows features on or off//, and enable the //Windows Subsystem for Linux// option. ​ After reboot, download and install Ubuntu from Windows Store. 
-    - **VirtualBox** (or **VMware** or **Hyper-V**) -- This is full VMwhere you can install any Linux distro.+      * [[https://​docs.microsoft.com/​en-us/​windows/​wsl|Windows Subsystem for Linux Documentation]] 
 +    - **VirtualBox** (or **VMware** or **Hyper-V**) -- Full VM where you can install any Linux distro.
       * [[https://​www.virtualbox.org/​|Oracle VM VirtualBox]]       * [[https://​www.virtualbox.org/​|Oracle VM VirtualBox]]
-      ​* [[https://www.vmware.com/|VMware]]+    - **Git Bash** -- It's part of **Git for Windows** application. 
 +      ​* [[https://gitforwindows.org/|Git for Windows]] 
  • user/william/running_shell_on_other_oss.txt
  • Last modified: 6 years ago
  • by william