Output Warna Warni di Terminal Linux Dengan Lolcat

Monday, April 18, 2016

Sekedar tutorial ringan saja mungkin ada yang belum tau. Jadi kita bisa membuat output di terminal kita berwarna seperti pelangi atau chroma. Fitur tersebut bernama lolcat. Tersedia di GNU/Linux dan juga OSX. Di Ubuntu sendiri penginstalannya tidak susah, karena kita bisa menginstallnya via gem install.

Cara install nya, bagi yang belum install ruby install ruby nya dulu.
sudo apt-get install ruby
Setelah itu, install lolcat via gem.
gem install lolcat

Nah cara menggunakannya, cukup tambahkan ' | lolcat ', dibelakang command. Maka output akan berwarna warni.
Contoh,
uname -a | lolcat
 Nah sekian dulu tutorial kali ini, semoga bermanfaat , share juga ke teman temanmu biar mereka tau.

Artikel Terkait Debian ,Linux ,Ruby ,Ubuntu ,Utilities

3 comments:

  1. pas command gem install lolcat malah muncul , Fetching: paint-1.0.1.gem (100%)
    ERROR: While executing gem ... (Gem::FilePermissionError)
    You don't have write permissions for the /var/lib/gems/2.1.0 directory. knp ya?

    ReplyDelete
    Replies
    1. pas install ruby dulu pake sudo apa langsung dr root user ?

      Delete
  2. TERPECAHKAN :'''V

    trio@AOD270:~$ gem install lolcat
    ERROR: While executing gem ... (Gem::FilePermissionError)
    You don't have write permissions for the /var/lib/gems/2.3.0 directory.
    trio@AOD270:~$ sudo gem install lolcat
    [sudo] password for trio:
    Fetching: paint-2.0.0.gem (100%)
    Successfully installed paint-2.0.0
    Fetching: trollop-2.1.2.gem (100%)
    Successfully installed trollop-2.1.2
    Fetching: lolcat-90.8.8.gem (100%)
    Successfully installed lolcat-90.8.8
    Parsing documentation for paint-2.0.0
    Installing ri documentation for paint-2.0.0
    Parsing documentation for trollop-2.1.2
    Installing ri documentation for trollop-2.1.2
    Parsing documentation for lolcat-90.8.8
    Installing ri documentation for lolcat-90.8.8
    Done installing documentation for paint, trollop, lolcat after 6 seconds
    3 gems installed
    trio@AOD270:~$

    ReplyDelete