Advertisement
manseel

Bash Shell in Chrome OS

May 10th, 2012
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.71 KB | None | 0 0
  1. By default, the user shell for chronos or any new user is set to /bin/sh, which infact is a soft link to /bin/dash (http://en.wikipedia.org/wiki/Debian_Almquist_shell).
  2.  
  3. To switch to bash shell, login as any user (er: chronos) and enter the command:
  4.  
  5. $ /bin/bash
  6.  
  7. If the bash shell is installed (by default, it seems to be installed in Chrome OS), you will be switched to bash shell.
  8.  
  9. To permanently set bash as the default shell for a particular user, edit the file /etc/passwd and replace the existing shell (by default, /bin/sh which is a soft link to /bin/dash) to /bin/bash.
  10.  
  11. Or alternately, modify the soft link from /bin/sh -> /bin/dash to /bin/sh -> /bin/bash
  12.  
  13. --
  14. Noor Manseel Mohammed,
  15. manseel@gmail.com
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement