How to Randomly Display ASCII Art on Linux Terminal
0

In this article that is short we will show how to automatically and randomly display ASCII art, using ASCII-Art-Splash-Screen when you open a terminal window.

ASCII-Art-Splash-Screen is a utility that comprises of a python script and a collection of ASCII art to be displayed every time you open a terminal window in Linux. It works on Unix-based systems such as Linux and Mac OSX.

Requirements:

  1. python3 – mostly installed on all Linux distributions, if not use our Python installation guide.
  2. curl – a tool that is command-line downloading files.

An net connection is needed, as the ASCII arts are taken through the ASCII-Art-Splash-Screen github repository – that is one drawback from it.

How to show Random ASCII Art on Linux Terminal

Open a terminal, and begin by putting in curl demand line device in your system, utilizing the appropriate demand for the circulation.

$ sudo install that is apt		#Debian/Ubuntu  # yum install curl		#RHEL/CentOS # dnf install curl		#Fedora 22+ 

Then clone the ASCII-Art-Splash-Screen repository on your system, move into the local repository and copy the file ascii.py into your home directory.

$ git clone https://github.com/DanCRichards/ASCII-Art-Splash-Screen.git  $ cd ASCII-Art-Splash-Screen/ $ ascii.py that is cp ~/ 

Next, run the demand below, which adds the relative line“python3 ascii.py” in your ~/.bashrc file. This enables running of the ascii.py executable script every time you open a terminal.

$ echo "python3 ascii.py" >> ~/.bashrc 

From now on, when you open a Linux that is new terminal a random ASCII art is exhibited ahead of the shell prompt seems.

Do browse sample that is following arts displayed in a new Linux terminal.

ASCII Art

ASCII Art

ASCII Art Example 1

ASCII Art Example 1

ASCII Art Example 2

ASCII Art Example 2(**************************) that is*****)(**)To stop this, merely comment out or take away the line python3 ascii.py from your own ~/.bashrc shell startup file.

For more info browse ASCII-Art-Splash-Screen at: https://github.com/DanCRichards/ASCII-Art-Splash-Screen

You may additionally prefer to read these helpful articles about Linux demand line tricks:

  1. Gogo – Create Shortcuts to longer and complex Paths in Linux
  2. How showing Asterisks While Typing Sudo Password in Linux
  3. How to Clear BASH Command Line History in Linux
  4. How to see Colored guy Pages in Linux

In this quick guide, we’ve shown how exactly to show random ASCII art in your Linux terminal utilizing ASCII-Art-Splash-Screen energy. Make use of the feedback kind below to generally share your ideas about any of it.

DirectX Raytracing may be the step that is first a graphics revolution

Previous article

Remote Desktop Applications as quickly as possible

Next article

You may also like

Comments

Leave a Reply

More in Linux