I got this idea to write this blog post because I prank my friends a lot in our computer labs.
So I thought, why don't I tell everyone how I do it? I'll give you some ideas to prank your friends, but first you need to know how to connect to their computer using SSH.
This is for Linux and GNOME-based OS. You can search for specific commands to open the terminal or settings.
1) Changing the Input Language π
First of all, know how to get the current input language using this command:
gsettings get org.gnome.desktop.input-sources sources
Now, let's change the language. I like to change it to Arabic.
Here, ara+azerty is the language code:
gsettings set org.gnome.desktop.input-sources sources "[('xkb', 'ara+azerty')]"
AND YOU'VE CHANGED YOUR FRIEND'S INPUT LANGUAGE! π―
2) Funny ASCII Art π¨
I got this from a Text to ASCII art generator site (https://patorjk.com/software/taag/). First, copy the ASCII art.
Now we need to open a terminal window and echo that art on our friend's screen.
Here's the command:
gnome-terminal -- bash -c "echo '<PASTE ASCII ART> '; exec bash"
3) Infinite Spam π
We'll use the yes command here.
It will open a terminal and infinitely display the message.
Command:
gnome-terminal -- bash -c "yes 'You are pranked!'; exec bash"
4) Fork Bomb (Do at Your Own Risk - Might Lose a Friend!) β οΈ
We'll log into their computer and run this classic Fork Bomb command.
It creates copies of itself until the system becomes unresponsive.
:(){ :|:& };:
Warning: This can seriously mess up their system!
5) Rick Roll π΅
We'll play "Never Gonna Give You Up" on our friend's default browser:
xdg-open "https://youtu.be/xvFZjo5PgG0?si=DFiisy9gTdeRxvu5"
Or:
gnome-terminal -- bash -c "xdg-open 'https://youtu.be/xvFZjo5PgG0?si=DFiisy9gTdeRxvu5'; exec bash"
6) Change Display Language & Wallpaper πΌοΈ
For changing wallpaper, you need to get the image URL first and run a CURL command to save it on their PC.
Then use these commands:
For Light Mode:
gsettings set org.gnome.desktop.background picture-uri '<IMAGE PATH>'
For Dark Mode:
gsettings set org.gnome.desktop.background picture-uri-dark '<IMAGE PATH>'
Bonus Tip π‘
If that account has permission to install packages, you can use some fun commands from this article from itsFOSS by opening a new terminal on their screen:
Command:
gnome-terminal -- bash -c "<your_command_here>; exec bash"
How to See Who Attacked You? π΅οΈ
Use these commands to check who pranked you:
-
who
last
Remember: Pranking should be fun for everyone involved! Make sure your friends are cool with it, and don't do anything that could cause real damage or get you in trouble. Happy pranking, but prank responsibly! π
P.S. - If someone pranks you back twice as hard, you probably deserved it! π
Top comments (2)
Never think to try on me!