Crosh/command prompt

5,590 views
Skip to first unread message

userStarbuck

unread,
Dec 23, 2010, 12:39:50 PM12/23/10
to Chromium OS discuss
Does anyone have a useful link to or list of "Crosh" commands?

Chris Masone

unread,
Dec 23, 2010, 1:19:55 PM12/23/10
to me.st...@gmail.com, Chromium OS discuss
Doesn't "help" in crosh list all the commands?

On Thu, Dec 23, 2010 at 9:39 AM, userStarbuck <me.st...@gmail.com> wrote:
Does anyone have a useful link to or list of "Crosh" commands?

--
Chromium OS discuss mailing list: chromium-...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-os-discuss?hl=en

Starbuck

unread,
Dec 23, 2010, 11:42:42 PM12/23/10
to Chromium OS discuss
It does, but there isn't a lot of functionality for an unexperienced
user.

On Dec 23, 12:19 pm, Chris Masone <cmas...@chromium.org> wrote:
> Doesn't "help" in crosh list all the commands?
>
>
>
>
>
>
>
> On Thu, Dec 23, 2010 at 9:39 AM, userStarbuck <me.starb...@gmail.com> wrote:
> > Does anyone have a useful link to or list of "Crosh" commands?
>
> > --
> > Chromium OS discuss mailing list: chromium-os-disc...@chromium.org

CrashTest_

unread,
Dec 24, 2010, 1:33:29 AM12/24/10
to Chromium OS discuss
One of the commands from crosh is "shell" which takes you into a more
common type of bash shell. The commands available there are limited
only to the items that are executable and in your $PATH variable
("echo $PATH").

Often times you can see more information about any particular command
by typing that command followed by --help or by Googling it.

Chris Masone

unread,
Dec 24, 2010, 1:55:32 AM12/24/10
to pte...@gmail.com, Chromium OS discuss
I think shell only exists in dev mode.  At least...it's supposed to.

Chromium OS discuss mailing list: chromium-...@chromium.org

Mark Tomlin

unread,
Dec 24, 2010, 1:58:28 AM12/24/10
to cma...@chromium.org, pte...@gmail.com, Chromium OS discuss
That's correct, you can only get to a full shell in dev mode otherwise your stuck with crosh.

Sent from my iPhone

Barry Mahdykiner

unread,
May 1, 2013, 7:41:03 PM5/1/13
to chromium-...@chromium.org, cma...@chromium.org, pte...@gmail.com
if you type in help_advanced it brings up a larger menu

Mason Ansari

unread,
Jun 4, 2013, 11:42:56 AM6/4/13
to chromium-...@chromium.org
Just open up crosh (crtl+alt+t) and type "help" (no quotes)

elizabeth b

unread,
Oct 13, 2013, 2:53:32 AM10/13/13
to chromium-...@chromium.org
heres all the comands i have for you if this is any help plase send me a message back 

Joseph Aliberti

unread,
Jul 7, 2014, 6:48:51 PM7/7/14
to chromium-...@chromium.org
Just if you are interested, here are the shell commands:

A star (*) next to a name means that the command is disabled.

 job_spec [&]                                                               history [-c] [-d offset] [n] or history -anrw [filename] or history -ps>
 (( expression ))                                                           if COMMANDS; then COMMANDS; [ elif COMMANDS; then COMMANDS; ]... [ else>
 . filename [arguments]                                                     jobs [-lnprs] [jobspec ...] or jobs -x command [args]
 :                                                                          kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l [>
 [ arg... ]                                                                 let arg [arg ...]
 [[ expression ]]                                                           local [option] name[=value] ...
 alias [-p] [name[=value] ... ]                                             logout [n]
 bg [job_spec ...]                                                          mapfile [-n count] [-O origin] [-s count] [-t] [-u fd] [-C callback] [->
 bind [-lpvsPVS] [-m keymap] [-f filename] [-q name] [-u name] [-r keyseq>  popd [-n] [+N | -N]
 break [n]                                                                  printf [-v var] format [arguments]
 builtin [shell-builtin [arg ...]]                                          pushd [-n] [+N | -N | dir]
 caller [expr]                                                              pwd [-LP]
 case WORD in [PATTERN [| PATTERN]...) COMMANDS ;;]... esac                 read [-ers] [-a array] [-d delim] [-i text] [-n nchars] [-N nchars] [-p>
 cd [-L|[-P [-e]]] [dir]                                                    readarray [-n count] [-O origin] [-s count] [-t] [-u fd] [-C callback] >
 command [-pVv] command [arg ...]                                           readonly [-aAf] [name[=value] ...] or readonly -p
 compgen [-abcdefgjksuv] [-o option]  [-A action] [-G globpat] [-W wordli>  return [n]
 complete [-abcdefgjksuv] [-pr] [-DE] [-o option] [-A action] [-G globpat>  select NAME [in WORDS ... ;] do COMMANDS; done
 compopt [-o|+o option] [-DE] [name ...]                                    set [-abefhkmnptuvxBCHP] [-o option-name] [--] [arg ...]
 continue [n]                                                               shift [n]
 coproc [NAME] command [redirections]                                       shopt [-pqsu] [-o] [optname ...]
 declare [-aAfFgilrtux] [-p] [name[=value] ...]                             source filename [arguments]
 dirs [-clpv] [+N] [-N]                                                     suspend [-f]
 disown [-h] [-ar] [jobspec ...]                                            test [expr]
 echo [-neE] [arg ...]                                                      time [-p] pipeline
 enable [-a] [-dnps] [-f filename] [name ...]                               times
 eval [arg ...]                                                             trap [-lp] [[arg] signal_spec ...]
 exec [-cl] [-a name] [command [arguments ...]] [redirection ...]           true
 exit [n]                                                                   type [-afptP] name [name ...]
 export [-fn] [name[=value] ...] or export -p                               typeset [-aAfFgilrtux] [-p] name[=value] ...
 false                                                                      ulimit [-SHacdefilmnpqrstuvx] [limit]
 fc [-e ename] [-lnr] [first] [last] or fc -s [pat=rep] [command]           umask [-p] [-S] [mode]
 fg [job_spec]                                                              unalias [-a] name [name ...]
 for NAME [in WORDS ... ] ; do COMMANDS; done                               unset [-f] [-v] [name ...]
 for (( exp1; exp2; exp3 )); do COMMANDS; done                              until COMMANDS; do COMMANDS; done
 function name { COMMANDS ; } or name () { COMMANDS ; }                     variables - Names and meanings of some shell variables
 getopts optstring name [arg]                                               wait [id]
 hash [-lr] [-p pathname] [-dt] [name ...]                                  while COMMANDS; do COMMANDS; done
 help [-dms] [pattern ...]                                                  { COMMANDS ; }

Mike Frysinger

unread,
Jul 8, 2014, 8:36:24 PM7/8/14
to joeali...@gmail.com, Chromium OS discuss

the list of commands supported by the bash shell is different from what crosh supports. the op asked about the latter.
-mike

--

jk2...@student.leyden212.org

unread,
Aug 22, 2014, 4:20:58 PM8/22/14
to chromium-...@chromium.org
It is help_advanced to show all help 


On Thursday, December 23, 2010 11:39:50 AM UTC-6, Starbuck wrote:

Rohan Khanna

unread,
Jan 8, 2016, 10:39:34 PM1/8/16
to Chromium OS discuss, me.st...@gmail.com, cma...@chromium.org
You need to type in help_advanced to get even more commands
Message has been deleted
Message has been deleted
Message has been deleted
Message has been deleted

Brody

unread,
Feb 22, 2017, 5:32:50 PM2/22/17
to Chromium OS discuss


On Thursday, December 23, 2010 at 11:39:50 AM UTC-6, Starbuck wrote:
Does anyone have a useful link to or list of "Crosh" commands?
TYPE IN MEH
 
Reply all
Reply to author
Forward
Message has been deleted
0 new messages