Ir para o conteúdo principal

Tabela de Conteúdos

What is CROSH

Chrome Shell, or CROSH, is a command line interface similar to Linux’s BASH or Windows Command Line Terminals, and is built to be a powerful and user-friendly command-line interface for Google’s Chrome OS.

It provides developers and advanced users with access to diagnostic tools and system-level features to troubleshoot issues, check hardware and network information, monitor system performance, and perform other essential tasks. While not intended for extensive software development or system configuration, CROSH serves as a convenient and secure tool for users to delve into the inner workings of their Chrome OS devices and resolve potential problems efficiently.

Things that CROSH can do

provides access to some system-level features and diagnostic tools. It is primarily designed for developers and advanced users to perform troubleshooting, testing, and various system-related tasks. Here are some of the things that CROSH is capable of.

  1. Network diagnostics: CROSH commands allow you to check network connectivity, ping addresses, and display network device information.
  2. Hardware information: You can use CROSH to retrieve hardware details such as CPU, memory, and storage information.
  3. Battery information: CROSH can provide information about your device's battery health, charge level, and other related details.
  4. System performance: You can monitor the system's performance, including CPU usage, memory consumption, and active processes.
  5. SSH access: CROSH supports Secure Shell (SSH), which allows you to establish a secure remote connection to other devices.
  6. Power testing: Developers can use CROSH to perform power testing and assess the power consumption of Chrome OS devices.
  7. System logs: You can access and review system logs for troubleshooting purposes.
  8. Wi-Fi management: CROSH allows you to manage Wi-Fi connections and check connection status.
  9. Touchpad and keyboard diagnostics: You can run diagnostics on the touchpad and keyboard to check for any issues.

Things that CROSH Cannot do

While CROSH is a very powerful tool that users can use, it is important to know that it is somewhat limited as it is built to be as lightweight as possible. This means that CROSH has certain limitations and specific restrictions due to its design and purpose. Here are some of the things that CROSH is not capable of:

  1. System-wide configuration: CROSH is primarily designed for diagnostics and troubleshooting, so it doesn't offer direct access to system-wide configuration settings or preferences. For more advanced system configuration tasks, you might need to use other methods or access the Chrome OS settings.
  2. File management: CROSH does not provide full-fledged file management capabilities like a traditional file manager. While you can access some system files and perform basic file-related operations, it's not a complete replacement for a graphical file manager.
  3. Web browsing: CROSH is not a web browser and cannot be used for browsing the internet. Its functionality is limited to system diagnostics and a few specific tasks.
  4. Installing apps or extensions: CROSH does not support the installation of Android apps or Chrome extensions. To install applications or extensions, you need to use the official Chrome OS interface or the Google Play Store.
  5. User management: CROSH doesn't have features for managing user accounts, creating new users, or changing user settings. These tasks are handled through the Chrome OS settings.
  6. Full system control: While CROSH provides access to some system-level information and basic commands, it doesn't allow complete control over the operating system. Critical system functions are still restricted to ensure the security and stability of Chrome OS.
  7. Complex software development: While CROSH is useful for basic diagnostics and troubleshooting tasks, it may not be the ideal environment for complex software development. Developers typically use more robust and feature-rich development environments and tools.
  8. Software installations: CROSH does not support software installations, especially for Linux applications or other software packages. For that, you would need to use other mechanisms, such as the Chrome OS Linux container or Android app installations.

It is also worth noting separately that, CROSH does not grant the user the ability to disable device management. Device management in Chrome OS is a core feature designed to allow administrators to manage and control Chrome OS devices in an organization or educational setting. It helps in configuring devices, enforcing policies, managing updates, and ensuring security across a fleet of Chrome OS devices.

Typically access to device management settings and tools are restricted to an organization’s system administrators. If you are facing issues related to device management on a Chrome OS device, you should contact the system administrator or IT support in your organization or school for assistance. They will have the necessary permissions and tools to manage device settings appropriately.

ChromeOS CROSH Commands Cheat Sheet

The following sections is a table containing most of the commands that can be used with CROSH.

CommandAction
ExitExit the Cross Shell
HelpDisplays the Cross help
Help_advanced [-c count] [-i interval] [-n] [-s packetsize] [-W waittime] < destination >Show advanced Cross commands (Mostly used for debugging)
pingSend ICMP ECHO_REQUEST packets to a network host. If < destination > is “gw” then the next hop gateway for the default route is used. It works just like the ping command on other operating systems. Press Ctrl+C to stop the ping process or halt any other command in Crosh.
sshStarts the ssh subsystem if invoked without any arguments. “ssh < user > < host >”, “ssh < user > < host > < port >”, “ssh < user >@< host >”. or “ssh < user >@< host > < port >” connect without entering the subsystem.
ssh_forget_hostRemove a host from the list of known ssh hosts. This command displays a menu of known hosts and prompts the host to forget.
topSets the chapsd log level. No arguments can start verbose logging.
 battery_test [< test length >]Tests battery discharge rate for a given number of seconds. No argument will default to a 300-second test.
bt_console <agent>Enable the Bluetooth debugging console
chaps_debug ["start" " stop" < log_level >]Sets the chapsd logging level. No arguments will start verbose logging.
connectivityShows connectivity status.
experimental_storage < "status" "enable" "disable" >Enable or disable experimental storage features.
ff_debug [< tag_expr >] [–help] [–list_valid_tags] [–reset]Add and remove ff debugging tags.
memory_testPerforms extensive memory testing on the available free memory.
modem < command > [args…]Interact with the 3G modem. Run “modem help” for detailed help.
modem_set_carrier carrier-nameConfigures the modem for the specified carrier.
network_diag [–date] [–link] [–show-macs] [–wifi] [–help] [–wifi-mon] < host >A function that performs a suite of network diagnostics. Saves a copy of the output to your download directory.
network_logging < "wifi" "cellular" "ethernet" >A function that enables a predefined set of tags useful for debugging the specified device.
p2p_update ["enable" "disable"]Enables or disables the peer-to-peer (P2P) sharing of updates over the local network. This will both, attempt to get updates from other peers in the network and share the downloaded updates with them. Run this command without arguments to see the current state.
rlz < "status" "enable" "disable" >Enable or disable RLZ.
rollbackAttempt to rollback to the previous update cached on your system. Only available on non-stable channels and non-enterprise enrolled devices. Please note that this will powerwash your device.
route [-n] [-6]Display the routing tables.
set_apn [-n < network-id >] [-u < username >] [-p < password >] < apn >Set the APN to use when connecting to the network specified by < network-id >. If < network-id > is not specified, use the network-id of the currently registered network.
set_apn – cClear the APN to be used so that the default APN will be used instead.
set_arpgw < "true" "false" >Turn on extra network state checking to make sure the default gateway is reachable.
set_cellular_ppp [-u < username >] [-p < password >]Set the PPP username and/or password for an existing cellular connection. If neither -u nor -p is provided, show the existing PPP username for the cellular connection.
set_cellular_ppp -cClear any existing PPP username and PPP password for an existing cellular connection.
sound < command > < argument >Low-level sound configuration. Can be used to play/record audio samples and enable beam forming on Pixel. “sound beamforming < "on" "off" >” will enable/disable the feature. “sound record [duration]” will start recording. “sound play < filename >” will play the recorded audio samples.
storage_statusReads storage device SMART health status, vendor attributes and error log.
storage_test_1Performs a short offline SMART test.
storage_test_2Performs an extensive readability test.
syslog < message >Logs a message to syslog.
tracepath [-n] < destination >[/port]Trace the path/route to a network host.
tracepath [-n] < destination >[/port]Trace the path/route to a network host.
update_over_cellular ["enable" "disable"]Enables or disables the auto updates over cellular networks. Run without arguments to see the current state.
upload crashesUploads available crash reports to the crash server.
wpa_debug [< debug_level >] [–help] [–list_valid_level] [–reset]Set wpa_supplicant debugging level.
xset mTweak the mouse acceleration rate.
xset r rateTweak autorepeat rates. The delay is the number of milliseconds before autorepeat starts. The rate is the number of repeats per second.
xset r [keycode] < "on" "off" >Turn autorepeat on/off. If keycode is specified, it affects only that key. If not specified, it affects global behavior.

Jacob Mehnert

Membro desde: 10/18/21

39.444 Reputação

Autoria de 50 guias

Equipe

iFanatics Membro de iFanatics

Community

61 Membros

Autoria de 194 guias

47 comentários

Can I ask what you mean by "unblock"? Is Crosh giving you some kind of error message?

Jacob Mehnert -

to unlock crosh it is control alt t

Raylan Pride -

How Do I Unblock CROSH Commands On My Chromebook?

Elizabith Thurman -

why i need more cheet codes to cheet on something

Elizabith Thurman - Responder

Hey there Elizabeth, It's just a funny name I gave to the wiki. The wiki itself is more of a reference page for commands that can be used in Chrome OS.

Jacob Mehnert -

you press alt crtl and t on a new tab

MARK HARUTYUNYAN -

What does [--timeout PARAM] do

Raylan Pride - Responder

how do i find out if somone is using my wifi to track my activity and if there is someone how do i stop it

Harrison E. - Responder

Does ctrl+alt+t Utilize Crosh Command Line? Or What Good Is "Crosh Command/Terminal"

Romeo Foxtrot - Responder

Could you please clarify what you are asking? Ctrl+alt+t is the key combination that opens CROSH. As for what CROSH is good for it can be used for debugging purposes, development of new ChromeOS application, and gives the user access to Linux Commands.

Jacob Mehnert -

how do i get off secure mode

Kayden Martin - Responder

My Chromebook does not recognise

update_over_cellular enable

Gerald - Responder

Why is the xset command not working for me?

Logan Dean - Responder

what is the main point of this crosh. I new tab then this came along is it to help you develop or somthing?

Joshua Ray - Responder

how do I set a proxy or disable extensions on crosh without using shell version on developer environment

squago 135 - Responder

How would it be possible to "unblock" certain websites allowing us Students to do things they dont allow us to, Thank you

Crosh_User2256 - Responder

so say the one: bt_consol <agent>, what would i type? bt_console _________? if an object is needing to be added, random is fine, im just trying to teach myself to read, ultimately, i had a random thought to try connecting my galaxy watch and/or phone as well to my chromebook with bugjeager to try tinkering with some stuff

leo mots - Responder

Where is the sudo command thats whats missing on my crosh and i would like it back.

lorenkjr - Responder

is there a way to unblock things using crosh or remove extensions

Alexander DeJesus - Responder

and does developer mode help with anything

Alexander DeJesus - Responder

can you use the codes to delete storage information or programs that are installed?

Travis Bell - Responder

pls more commands or somthing plese

alla tycker att jag är bäst - Responder

what are the commands used for and is it different than coding

jesus alvarez - Responder

what is the coding used for

jesus alvarez - Responder

I need help everytime I try to do it it says error unknown command and I made sure I typed it right and everything its not working and I am using chromeos

Taye Okpubigho - Responder

Estás como usuario root...?

Para ser root debes ingresar:

sudo -i

Andrés Jesús G -

How do I unblock COSH Commands on my Chromebook?

Elizabith Thurman - Responder

Debes ser usuario root, para eso ingresa en la terminal:

sudo -i

Para comprobar si lo eres usa:

whoami

Andrés Jesús G -

some of the commands don't work, also can you down load fire fox with crosh? my school blocked the linux terminal.

RivswithRibs - Responder

No puedes instalar programas desde la terminal.

Este sistema operativo no es Linux normal en donde puedes usar la terminal como root

Andrés Jesús G -

some of the codes don't work like xset m or ssh

S Kean Fulwider - Responder

is this a hacing divice

jeomamasucks - Responder

No.

Puedes usar Kali Linux para empezar a practicar.

Andrés Jesús G -

is this something I can hack my internet with

jeomamasucks - Responder

No.

Para ese fin usa Kali Linux

Andrés Jesús G -

why does it not work for my Chromebook and I cant use it to hack my school interent?

jeomamasucks - Responder

thanks for yourhelp

jeomamasucks - Responder

can you do JavaScript commands on crosh for example

alert("hello");.

Moaaz Moustafa - Responder

Something weird is happening where if I search the word "Crosh" on a new tab the tab instantly closes. This is true on any sites, like bing and whatnot too. I am on a chromebook, and was able to find one or two other instances of this happening (https://support.google.com/chrome/thread...) but I still don't know how to fix it. If I hit Alt Cntrl T, then the message "Crosh is blocked by admin. Ask admin to approve this site." This makes sense, but what doesn't make sense is the fact that the tab will delete? Anyone have any ideas why this might be happening and how to open crosh?

Cece Brown - Responder

how do I un-block websites

Albert Einstein - Responder

use a proxy link

dumbhorse123 -

yo what does [-c count] do

dumbhorse123 - Responder

This was very helpful

Samuel Vachon - Responder

Comentar

Visualizações:

Últimas 24 horas: 112

Últimos 7 dias: 559

Últimos 30 dias: 3,301

Ao todo: 72,480