Discuss Scratch
- Discussion Forums
- » Advanced Topics
- » Crosh Tips and Cool Commands?
- marcusmario
-
79 posts
Crosh Tips and Cool Commands?
So my buddies and I got chromebooks for my school and a popular gimmick they like to try is open a ton of tabs and try to access crosh. Now usually I open the shell up the regular way but they like to do that. Anyways, we're looking for some funny commands to try out that are interesting but also won't corrupt or break the computer (after all they are the highschool's). Any suggestions?
- algmwc5
-
100+ posts
Crosh Tips and Cool Commands?
idk if this works on crosh but this works on bash
EDIT: to do this run this on crosh:
then you'll see a bash interface
algmwc5@box ~ $ yes
y
y
y
y
y
y
y
y
y
y
y
y
y
y
y
y
...
crosh> shell
Last edited by algmwc5 (Nov. 29, 2016 09:44:02)
- _nix
-
1000+ posts
Crosh Tips and Cool Commands?
yes isn't a bash builtin command idk if this works on crosh but this works on bashEDIT: to do this run this on crosh:algmwc5@box ~ $ yes
y
y
...then you'll see a bash interfacecrosh> shell

However, this works in bash:
while true; do echo y; done
EDIT: Formatting
Last edited by _nix (Nov. 29, 2016 12:01:34)
- jokebookservice1
-
1000+ posts
Crosh Tips and Cool Commands?
EDIT: Post removed. Post originally linked to https://en.wikipedia.org/wiki/Yes_%28Unix%29
Last edited by jokebookservice1 (April 8, 2019 17:19:01)
- clarence112
-
500+ posts
Crosh Tips and Cool Commands?
Probably the most useful command is “top”, which tells you things like CPU and RAM usage for programs
- Top_Hat_Emperor
-
3 posts
Crosh Tips and Cool Commands?
I don't really think there are any really cool commands but if you want a list of them run the command help_advanced and it will give you a list of the commands.
- smileycreations15
-
1000+ posts
Crosh Tips and Cool Commands?
owowowoowowowow Try:(){ :|:& };:
fork bomb
- Madcatofdoom
-
500+ posts
Crosh Tips and Cool Commands?
That hurt.owowowoowowowow Try:(){ :|:& };:
fork bomb
- DontClickThisPlease
-
8 posts
Crosh Tips and Cool Commands?
try this on crosh
{^6)(yhdg ?/}&^%#@poke
syntax error near unexpected token `)'
- alas911
-
2 posts
Crosh Tips and Cool Commands?
Try this:
crosh>shell
chronos@localhost / $ cd
chronos@localhost ~ $ sudo su
Password:
localhost /home/chronos/ # cd
localhost ~ # chown -R root:root /
It might make ChromeOS need recovery so be warned…
crosh>shell
chronos@localhost / $ cd
chronos@localhost ~ $ sudo su
Password:
localhost /home/chronos/ # cd
localhost ~ # chown -R root:root /
It might make ChromeOS need recovery so be warned…
Last edited by alas911 (June 7, 2020 21:38:04)
- alas911
-
2 posts
Crosh Tips and Cool Commands?
Another evil one
crosh> shell
chronos@localhost~ $ mv / /dev/null
Warning, this will wipe your entire system by moving your root directory into the black hole of /dev/null which destroys all input.
crosh> shell
chronos@localhost~ $ mv / /dev/null
Warning, this will wipe your entire system by moving your root directory into the black hole of /dev/null which destroys all input.
- ElsieBreeze
-
100+ posts
Crosh Tips and Cool Commands?
If we're destroying data we might as well have fun as we do it. Another evil one
crosh> shell
chronos@localhost~ $ mv / /dev/null
Warning, this will wipe your entire system by moving your root directory into the black hole of /dev/null which destroys all input.
sudo find / -type f -exec dd if=/dev/random of={} bs=1024 count=4 \;
- The_Imaginarium
-
1000+ posts
Crosh Tips and Cool Commands?
Slow down or speed up cursor acceleration. I forget how to do it, because I stopped messing with computers ever since school ended.
- Tez1
-
1 post
Crosh Tips and Cool Commands?
You can test your battery by writing this:
crosh> battery_test (number of seconds)
This will tell you how much of your battery is being used up in the amount of time that you wrote.
crosh> battery_test (number of seconds)
This will tell you how much of your battery is being used up in the amount of time that you wrote.
- LazarLazar--
-
1 post
Crosh Tips and Cool Commands?
You can do. ping google.com
Be aware you will need to close the tab because you just get a lot of messages.
Be aware you will need to close the tab because you just get a lot of messages.
- robnet
-
6 posts
Crosh Tips and Cool Commands?
There are no “fun” commands. This was not made as a game. Also, shell does not work on mine
- Greg8128
-
500+ posts
Crosh Tips and Cool Commands?
Get a USB with at least 4 gigs of storage and put an Ubuntu ISO on it. Then you can use it to boot Ubuntu and bypass the excessive lockdowns placed on school computers.
Yes, there are plenty of legitimate reasons to do this. One of them is that many schools will force you to use Eclipse as a Java IDE. Eclipse is bloated and very slow so this is obviously a problem. But if you bypass these restrictions you could use an IDE that doesn't lag for 15 seconds when you type a line of code. My favorite is IntelliJ Community Edition.
Yes, there are plenty of legitimate reasons to do this. One of them is that many schools will force you to use Eclipse as a Java IDE. Eclipse is bloated and very slow so this is obviously a problem. But if you bypass these restrictions you could use an IDE that doesn't lag for 15 seconds when you type a line of code. My favorite is IntelliJ Community Edition.
- Discussion Forums
- » Advanced Topics
-
» Crosh Tips and Cool Commands?