Have some Linux ascii fun with asciiquarium
Never let it be said that Linux users and developers do not have a sense of humor. Even the most hardcore of users, developers, designers, and administrators need something to serve as a distraction. Oh sure there's always an endless array of web sites to take our attention, but that requires a GUI! What if you're spending a lot of time on your GUI-less Apache server, file server, or any other type of Linux server? What then? NCurses can only do so much with text right? Not if you're creative enough to install an ascii aquarium on your machine.
With this little ascii animation you can enjoy an animated pseudo-screensaver even on your GUI-less server. It won't boost your productivity, it won't make you a better programmer or your web site run faster. But it could bring you a bit of "security through obfuscation" from those who want to try to log onto your physical GUI-less workstation. Let's see how to install and use this little under water wonder.
Installation
This little gem can be install on nearly any Linux distribution. As long as you have Perl installed, you should be able to get this up and running in no time. Here are the steps you need to follow. I will assume you might want to test this on a normal GUI-fied version of Linux before you try it on your GUI-less server. So, let's install.
The first portion of the installation will take care of any remaining dependencies that aren't included in the standard Perl installation. For this installation, follow these steps:
- Open up a terminal windows. If you are using a GUI-less server then just log in.
- Change to the /tmp directory with the command
cd /tmp
. - Download the Terminal Animation package with the commandÂ
wget http://search.cpan.org/CPAN/authors/id/K/KB/KBAUCOM/Term-Animation-2.4.tar.gz
. - Unpack the Terminal Animation package with the commandÂ
tar -zxvf Term-Animation-2.4.tar.gz
. - Change into the newly created directory with the commandÂ
cd Term-Animation-2.4/
. - Build the makefile with the command
perl Makefile.PL && make && make test
. - Compile Terminal Animation with the command
sudo make install
Now to install the actually asciiquarium application. Follow these steps.
- Open a terminal window (again, if you are using a GUI-less server, just log in).
- Change to the /tmp directory with the command
cd /tmp
. - Download the necessary package with the commandÂ
wget http://www.robobunny.com/projects/asciiquarium/asciiquarium.tar.gz
. - Unpack the asciiquarium package with the commandÂ
tar -zxvf asciiquarium.tar.gz
. - Change into the newly created directory with the command
cd asciiquarium
. - Copy the executable to the necessary directory with the command
sudo cp asciiquarium /usr/local/bin
. - Give the executable the proper permissions with the command
sudo chmod 0755 /usr/loca/bin/asciiquarium
.
It is time to test out the waters of asciiquarium. To do so open up your terminal window (or if using a GUI-less machine - log in) and issue the command /usr/local/bin/asciiquarium. When it runs it will look something similar to Figure 1 (but in animated form).
Now, you may be asking yourself how could this serve as a form of security? Simple. Even with a standard desktop distribution you can log into a virtual terminal (Ctrl-Alt-F2 - for instance), log in, and run the application. Your full screen will be filled with the asciiquarium and unless a user knows to either hit Ctrl-c or move back to your original virtual terminal, they won't have the slightest idea what to do.
Advertisement
Manni
try figlet e.g. figlet ghacks
_ _ _
__ _| | | | __ _ ___| | _____
/ _` | |_| |/ _` |/ __| |/ / __|
| (_| | _ | (_| | (__ | <\__ \
\__, |_| |_|\__,_|\___|_|\_\___/
|___/
in a terminal..
if you want the output in a textfile u can do this:
figlet > file.txt
file.txt will be saved in your home folder.
muy bueno, continua con más artÃculos linux.
saludos.
Ctrl+Z and Ctrl+\ work too.
I’ve been using this for a couple months… it never lets you down… :)