Rickroll the Terminal with curl

Apr 1, 2013 - 6 Comments

Ever wished you could find a new creative way to rickroll your particularly tech savvy friends? Just about nobody is fooled by the random YouTube links anymore, and URL shorteners alone aren’t always enough, but now you can bring the persistently annoying rickrolling to the Terminal of OS X and Linux by running a simple fairly innocuous looking command. What happens when you or the suspect runs it? You’ll get a full ASCII rendition of the infamous Rick Astley video but best of all it’s complete with audio, so be sure they have their speakers turned up or headphones on.

Give it a try yourself and then start rickrolling your friends. Turn your speakers on, launch Terminal, and run the following command:

curl -L http://bit.ly/10hA8iC | bash

Important note: It’s exceptionally bad security practice to blindly run random scripts found on the internet. This one happens to be open source, and the code is viewable on github for those that are curious in seeing how it works and determining if it’s reasonable given their own security and privacy standards.

Sit back and enjoy those 80′s dance moves in ASCII.

Rick Roll the Terminal

If you’re going to send this to a friend or colleague, be sure to use bitly or another URL shortener to hide the bash script, otherwise with it expanded it reads as “rickrollrc/master/roll.sh” making it quite obvious what’s about to happen.

Oh and if you’re a sys admin or have access to someones .bash_profile, you could really wreak some havoc by aliasing a common command to this, or even use it as your motd if you want to troll everyone that logs into a server or box.

Being April Fools Day, we can’t let the iOS users have all the fun, right?

Thanks to Peter for sending this in!

Enjoy this tip? Subscribe to the OSXDaily newsletter to get more of our great Apple tips, tricks, and important news delivered to your inbox! Enter your email address below:

Related articles:

Posted by: William Pearson in Command Line, Fun

6 Comments

» Comments RSS Feed

  1. Nick De Brief says:

    Savage, more and more memoirs please !!

  2. Mike Steebs says:

    Wow. Love Rick Ashley. Such a food guy. Total boss mans.

  3. bill says:

    Are you really recommending that people run an unknown shell script on their machines?!

    • Dilbert says:

      Probably why the 4th paragraph says “Important note: It’s exceptionally bad security practice to blindly run random scripts found on the internet, but this one is safe, open source, and viewable on github for those that are curious in seeing how it works.” and links to the source code.

      Reading is an amazing thing.

  4. Lien says:

    Sir, this has made my day! ;)

Leave a Reply

 

Shop for Apple & Mac Deals on Amazon.com

Subscribe to OSXDaily

Subscribe to RSS Subscribe to Twitter Feed Follow on Facebook Subscribe to eMail Updates