Useless but Fun Linux Terminal Tips: Arch, pacman & Pac-Man! Also, pi!

in #tutorial7 years ago

Double trouble again today! pacman and pi are our victims today! ;)


Pac-Man inside pacman (Pac-ception!)


Image source

To all you Arch-ers out there. You probably already know this one, but it is still fun to mention!

Arch Linux has a package manager named "pacman". You can actually put Pac-Man, in pacman! (Uhm, yeah... Put the Character of the game Pac-Man, inside the Package Manager "pacman".

How to do it? It's as easy as useless!


Open up /etc/pacman.conf with your favorite editor! sudo mousepad /etc/pacman.conf if you are using a GUI, sudo nano /etc/pacman.conf if not!

Locate the line saying # Misc Options, and then directly below you should fine a line saying #Color. Uncomment it by removing the hashtag (#) infront, and directly below write ILoveCandy.

Save your file and exit.

The next time you update or install a package, a pacman will appear eating your progress bar on each download!


Get a pi!

You quickly need the first X digits of pi? sudo apt-get install pi

It will take a couple of seconds before you can actually do it! When installation finishes, write pi 29, and you'll get the first 29 digits of pi.

Depending on how quick your cpu is, you can go up to billions of digits! Do not run it on production systems if you want a really really large amound of pi-digits, as it may crash your system.


Enjoyed the article? Upvote and resteem!


Also, I am running a witness server.

Please consider voting me, dimitrisp, for a witness if you find what I post & do helpful and add value to the network, and some quirkiness to your day!

You can read my witness declaration here

Sort:  

I'm a big fan of linux, and ternimal is my best friend...