How to Randomly Display ASCII Art on Linux Terminal

In this short article, 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.


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

An internet connection is required, because the ASCII arts are pulled from the ASCII-Art-Splash-Screen github repository – this is one downside of it.

How to Display Random ASCII Art on Linux Terminal

Open a terminal, and start by installing curl command line tool on your system, using the appropriate command for your distribution.

$ sudo apt install curl		#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 into your home directory.

$ git clone 
$ cd ASCII-Art-Splash-Screen/
$ cp ~/

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

$ echo "python3" >> ~/.bashrc

From now on, when you open a new Linux terminal, a random ASCII art will be displayed before the shell prompt appears.

Do check out following sample ASCII arts displayed in a new Linux terminal.

ASCII Art Example 1
ASCII Art Example 1
ASCII Art Example 2
ASCII Art Example 2

To stop this, simply comment out or remove the line python3 from your ~/.bashrc shell startup file.

For more information check out ASCII-Art-Splash-Screen at:

You might also like to read these useful articles about Linux command line tricks:

  1. Gogo – Create Shortcuts to Long and Complicated Paths in Linux
  2. How to Show Asterisks While Typing Sudo Password in Linux
  3. How to Clear BASH Command Line History in Linux
  4. How to View Colored Man Pages in Linux

In this short guide, we’ve shown how to display random ASCII art on your Linux terminal using ASCII-Art-Splash-Screen utility. Use the feedback form below to share your thoughts about it.

Tutorial Feedback...
Was this article helpful? If you don't find this article helpful or found some outdated info, issue or a typo, do post your valuable feedback or suggestions in the comments to help improve this article...

If You Appreciate What We Do Here On TecMint, You Should Consider:

TecMint is the fastest growing and most trusted community site for any kind of Linux Articles, Guides and Books on the web. Millions of people visit TecMint! to search or browse the thousands of published articles available FREELY to all.

If you like what you are reading, please consider buying us a coffee ( or 2 ) as a token of appreciation.

Support Us

We are thankful for your never ending support.

Got something to say? Join the discussion.

Have a question or suggestion? Please leave a comment to start the discussion. Please keep in mind that all comments are moderated and your email address will NOT be published.